Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Seeking to a non-integer position hangs clients #1756
Description: as indicated by the title
Steps to reproduce: Using python-mpd2, while playing any song using mopidy:
The above code exits cleanly when using mpd but hangs when using mopidy.
From the Mopidy log when reproducing this:
Translated to English, Mopidy probably correctly validates that the received value should be an unsigned int, but isn't.
The bug is that it from the client's perspective, Mopidy doesn't handle the problem the same way as the MPD server does.
Next steps here would be to reproduce with MPD and note down details like:
Then, update Mopidy's test suite accordingly and update the implementation at https://github.com/mopidy/mopidy/blob/develop/mopidy/mpd/protocol/playback.py#L366-L382 to match MPD's behavior.