Public bug reported:
Binary package hint: lastfmsubmitd
This is against version 0.35 of lastmp actually but affects other versions too.
I've sent mail to Decklin to report it to him also.
To reproduce:
1. stop any running instance of lastmp
2. using your MPD client, 'stop' the music (not "Pause" but "Stop"). if
you don't have a client that does that, just telnet to the control port
of the daemon and send "stop" without the quotes
3. make sure you have no mpd clients running at this point
4. once music stops, kill the daemon. don't kill force it, kill it in
the regular way so that mpd writes its statefile
5. re-launch the mpd daemon. it will start up in the correct state with
music playback stopped
6. launch lastmp. It will die on startup
fix is simple:
In lastmp.py, in function "wake"
replace
song = Song(self.mpd.do.currentsong())
with
song = None
if status.state != 'stop':
song = Song(self.mpd.do.currentsong())
** Affects: lastfmsubmitd (Ubuntu)
Importance: Undecided
Status: New
--
lastmp will die on startup if mpd is in 'Stop' state and has never played a song
https://bugs.launchpad.net/bugs/149891
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs