Bugzilla – Bug 609
Playlist add while shuffled replaces Now Playing display
Last modified: 2009-09-08 09:19:32 UTC
I noticed an odd problem when adding tracks to a shuffled playlist - either track or album shuffle. To reproduce - play some tracks shuffled. Navigate to a saved playlist and press Add. The scrolling song display is changed to a random track from the playlist that you just added, but the music playing remains the same - as it should. If you check the "Now Playing" menu the wrong track is also listed first there as well. The problem goes away after the current track is finished and next track begins. This is only a display problem. Music playback is unaffected.
if this playlist is one that you saved from slimserver, it stores the current song the header. I'd be willing to be that this is the song it goes to.
Most if not all of my playlists are originally saved from slimserver but I tend to edit them by hand afterward. I seem to get the same behavior whether the playlist has a #CURTRACK entry or not.
I'm wrong. looks like it was caused by my fix for bug207. I'll take care of it. What I need to do is preservecurrentsong when adding to an existing current playlist (or while playing), but not preserve when just loading a fresh playlist.
Created attachment 171 [details] keep current song when adding playlist (if playing) if you are playing a song already, and you add a playlist to a shuffled list it will keep the current song that is playing as the first song.
let me know if that patch functions the way you want. it works, but there are otherways to have it function.
Yes, that patch solves the problem that I was seeing. When I get home I'll run it though some more vigorous testing. thanks!
be aware, this ONLY keeps the song when a song is actually playing. I figured it was ok if the player was stopped to reshuffle everything.
reshuffling on stop sounds ok, but what about the pause case? Seems we would want the same behavior as play.
Created attachment 172 [details] updated to keep first song when power on and paused too if we're powered on and paused, the current song will persist as well.
checked into cvs oct 7
There are 536 bugs in the database with targets of '---' that were fixed prior to new year 2006. I am setting them to targets of 6.2.1 to keep them from showing up in my queries.
Routine bug db maintenance; removing old versions which cause confusion. I apologize for the inconvenience.