GNOME Bugzilla – Bug 701291
When a song is paused, selecting a new song will just play the paused one
Last modified: 2013-05-30 16:41:35 UTC
To reproduce: 1. Go to Songs view. 2. Select a song to play. 3. Click pause button in the toolbar. 4. Select a different song to play 5. The song in step 2 will play instead of the expected song in step 4. To fix it, we just have to set the player's state to NULL when a new song is selected, which happens in player.setPlaylist(). I'll be attaching a patch that will do this.
Created attachment 245657 [details] [review] Set player state to NULL when playlist is set This ensures that when a new item is selected in the view while the player is in the PAUSED state, the new item will be played instead of playing the paused item.
Thanks, good catch!
Good catch, thanks! The following fix has been pushed: 6a29932 Set player state to NULL when playlist is set
Created attachment 245665 [details] [review] Set player state to NULL when playlist is set This ensures that when a new item is selected in the view while the player is in the PAUSED state, the new item will be played instead of playing the paused item.