deadbeef icon indicating copy to clipboard operation
deadbeef copied to clipboard

In "shuffle albums" mode, wrong behavior when pressing "Previous" while first track of an album is playing

Open rsekman opened this issue 3 years ago • 3 comments

Steps to reproduce the problem

  1. Start deadbeef with a playlist containing many albums.
  2. Set shuffle mode to Albums
  3. Play a track by double-clicking it in the playlist. (This reshuffles the playlist.)
  4. Press Previous (z) enough times to reach the previous album A, (i.e., once more than to reach the first track of the current album).

Expected behaviour: the last track from A plays. Observed behaviour: the first track from A plays.

  1. Press Previous again.

The last track from A plays.

  1. Keep pressing Previous to reach the album preceding A

The tracks of A are played in the expected order, except the first track is skipped (it was played after step 4).

  1. From here on out the behaviour of Previous is as expected always starting from the last track of each album, with no skips.

Information about the software:

Deadbeef version: 1.9.3 OS: Arch

I noticed this working on #2827 and I think it needs to be fixed before that feature can work 100%.

https://user-images.githubusercontent.com/29686694/202659486-1fc7cd27-da55-4d94-81f1-dd910d28a7e9.mp4

rsekman avatar Nov 18 '22 08:11 rsekman

Similar issue, but different scenario. I have a playlist sorted by artist and album and play the music using shuffle mode. Recently after a song I really liked finished playing, I attempted to play the song again by using the previous option from the menu after right-clicking on the tray icon. I'm not sure what algorithm is used, but it didn't go back to the previous song. Clicking forward didn't take me back to the song that was playing after the song I really liked.

Linux-Geezer avatar Jun 07 '23 09:06 Linux-Geezer

@Linux-Geezer are you sure you used "Shuffle" mode and not "Random"?

image

Oleksiy-Yakovenko avatar Jun 07 '23 15:06 Oleksiy-Yakovenko

My apologies...I was using random shuffle. Selecting the option to shuffle tracks, closing and then restarting DeaDBeef, resolved the issue.

Linux-Geezer avatar Jun 07 '23 23:06 Linux-Geezer