[GH-ISSUE #234] Shuffle does not persist correctly through application restarts #170

Closed
opened 2026-02-28 14:31:07 +03:00 by kerem · 4 comments
Owner

Originally created by @xconverge on GitHub (Dec 14, 2021).
Original GitHub issue: https://github.com/jpochyla/psst/issues/234

Describe the bug
Shuffle state does not match the UI after an application restart

To Reproduce
Open psst, change mode to shuffle, open a playlist, play song 1, press next song, it does not play song 2 (because it shuffled)
Close psst, shuffle is shown as active, open a playlist, play song 1, press next song, it plays song 2 (and shuffle is not actually enabled)
Cycle through the shuffle icon again to get it back to shuffle and it is good again

Expected behavior
Playback mode matches the icon

Environment

  • OS: Windows 11
  • Version: nightly psst
Originally created by @xconverge on GitHub (Dec 14, 2021). Original GitHub issue: https://github.com/jpochyla/psst/issues/234 **Describe the bug** Shuffle state does not match the UI after an application restart **To Reproduce** Open psst, change mode to shuffle, open a playlist, play song 1, press next song, it does not play song 2 (because it shuffled) Close psst, shuffle is shown as active, open a playlist, play song 1, press next song, it plays song 2 (and shuffle is not actually enabled) Cycle through the shuffle icon again to get it back to shuffle and it is good again **Expected behavior** Playback mode matches the icon **Environment** - OS: Windows 11 - Version: nightly psst
kerem 2026-02-28 14:31:07 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@xconverge commented on GitHub (Dec 14, 2021):

I looked at QueueBehavior a bit, maybe missing a SetQueueBehavior on startup after the config is loaded? I also am not sure repeat single track is working correctly

<!-- gh-comment-id:994101391 --> @xconverge commented on GitHub (Dec 14, 2021): I looked at QueueBehavior a bit, maybe missing a SetQueueBehavior on startup after the config is loaded? ~~I also am not sure repeat single track is working correctly~~
Author
Owner

@jpochyla commented on GitHub (Dec 15, 2021):

Hi, thanks for the report, queue mode is not persisted now, yes. I'm currently busy with other things, but expect to include in the persisted state later.

I also am not sure repeat single track is working correctly

In what way?

<!-- gh-comment-id:994808143 --> @jpochyla commented on GitHub (Dec 15, 2021): Hi, thanks for the report, queue mode is not persisted now, yes. I'm currently busy with other things, but expect to include in the persisted state later. > I also am not sure repeat single track is working correctly In what way?
Author
Owner

@xconverge commented on GitHub (Dec 15, 2021):

Hi, thanks for the report, queue mode is not persisted now, yes. I'm currently busy with other things, but expect to include in the persisted state later.

I also am not sure repeat single track is working correctly

In what way?

I enabled it and dragged the slider to the end of the song and when it played the next song it was a different song, not sure

Regarding shuffle, currently the icon state IS restored though, so should that be commented out maybe and the icon defaults to regular playback queue mode

Edit: I tried again today and it works fine, so I am not sure what I was doing yesterday, apologies for the noise

<!-- gh-comment-id:994878772 --> @xconverge commented on GitHub (Dec 15, 2021): > Hi, thanks for the report, queue mode is not persisted now, yes. I'm currently busy with other things, but expect to include in the persisted state later. > > > I also am not sure repeat single track is working correctly > > In what way? ~~I enabled it and dragged the slider to the end of the song and when it played the next song it was a different song, not sure~~ Regarding shuffle, currently the icon state IS restored though, so should that be commented out maybe and the icon defaults to regular playback queue mode Edit: I tried again today and it works fine, so I am not sure what I was doing yesterday, apologies for the noise
Author
Owner

@kingosticks commented on GitHub (Dec 15, 2021):

I enabled it and dragged the slider to the end of the song and when it played the next song it was a different song, not sure

Works perfectly for me.

<!-- gh-comment-id:994905436 --> @kingosticks commented on GitHub (Dec 15, 2021): > I enabled it and dragged the slider to the end of the song and when it played the next song it was a different song, not sure Works perfectly for me.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/psst#170
No description provided.