simson / subsonic-client

Automatically exported from code.google.com/p/subsonic-client
0 stars 0 forks source link

Playlist "Current song" invalid after re-order #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add 2 or more songs
2. Start playing one of them
3. Re-order the list via drag and drop

What is the expected output? What do you see instead?
 Should keep track of the current song that is playing.
 The currently playing track is stored by index, so it points at the incorrect song.

This should be stored as a flag on the song itself (Can't use id, because they 
could have multiple of the same song. It should be inserted into the songs 
dictionary in the data structure. This data would be copied automatically when 
doing a re-order to the new location.

Original issue reported on code.google.com by Temujin2...@gmail.com on 11 Jun 2011 at 10:25

GoogleCodeExporter commented 8 years ago
Current song tracking is now stored as part of the song item for the playlist, 
so re-ordering will not invalidate the current song. Nor will inserting new 
items.

Original comment by Temujin2...@gmail.com on 13 Jun 2011 at 12:39