Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix PlayerMPD.rewind to start with the first song (#2323)
rewind() is documented to jump to the first song of the playlist. Instead, it jumped to the second song as SONGPOS in MPDClient.play(SONGPOS) is zero-indexed [1], so mpd.play(1) started the second song. [1] https://mpd.readthedocs.io/en/latest/protocol.html#the-queue "The position is a 0-based index" Related: #2294
- Loading branch information