You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
If both repeat and consume modes are enabled and the last remaining song in the playlist has been played (i.e. playlist is empty, no song is playing), mopidy still reports it is playing the last song.
mpc output will look something like this:
Daylight Dies - A Life Less Lived
[playing] #1/0 0:00/8:23 (0%)
volume: 66% repeat: on random: off single: off consume: on
Note the [playing] #1/0.
Connecting with ncmpcc once in this state leads to a failed assertion in ncmpcpp because it tries to highlight song 1 of 0. Connections that were already established before the end of the song are not affected.
Confirmed with mopidy versions 2.0.0 and 2.0.1
The text was updated successfully, but these errors were encountered:
Have testet and could not reproduce the issue - ncmpcpp consumed the tracks and was also set in repeat mode. Was able to add new tracks without restarting the application. Is this issue for the latest builds? I have tested with mopidy 2.0.0.
Can reproduce the issue - will give it a try.
Have a fix. TracklistController.next_track() will return None when only one track left in tracklist, and both repeat and consume modes are active. Are looking into the tests of TracklistController.