Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Song-number "None" is sent to client #69
This is an excerpt from my log when connecting with mpdroid.
DEBUG 2011-03-08 21:02:03,837 [28918:MpdThread] mopidy.frontends.mpd.session
As you can see the song is "None". This happens to crash mpdroid (which I intend to fix), but it seems this might be a bug still. This is what the spec says:
"The song, songid, time, bitrate, audio, updating_db, error, nextsong and nextsongid lines are omitted if no appropriate value is available."
If I issue a status with MPC it does not see "None", while mpdroid continues seeing that:
DEBUG 2011-03-08 21:24:00,839 [28918:MpdThread] mopidy.frontends.mpd.session
Also, I found a reliable way of redproducing this with mpdroid: simply switch to a new playlist, if Song is not None, switch to yet another playlist ("add and replace"). I think this is the "transition" from correc to broken:
DEBUG 2011-03-08 22:07:10,691 [13903:MpdThread] mopidy.frontends.mpd.session