Bugzilla – Bug 3648
Player playlist not deleting entries correctly
Last modified: 2011-03-16 04:19:50 UTC
svn 8161 The playlist stored in the database does not appear to have entries deleted from it correctly. If you play several albums by "playing" each album in turn, the now playing playlist is maintained correctly. Each new play action empties the active playlist prior to adding new tracks. However if you then cause the player to disconnect and reconnection - e.g. connect to SN and come back - the playlist is loaded from the database and it contains all the tracks played since the last playlist clear.
bug 3579 touches on a similar problem. editing of playlist tracks doesn't seem to properly clear and reset the current list of tracks in the db. I think the problem stems from line 36 of Schema::Playlist. removing the eval seems to alwys produce an error. Dumping $@ would have the same effect for outputting the error. I can't find sql_deletePlaylist as an accessor, and when I use simply deletePaylist, the execute fails. not sure what else is the right thing to try.
Fixed in change 8214