mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 15:35:56 +03:00
[GH-ISSUE #234] Shuffle does not persist correctly through application restarts #170
Labels
No labels
api
bug
build
documentation
duplicate
enhancement
good first issue
help wanted
idea
invalid
linux
lowprio
macos
pull-request
upstream
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/psst#170
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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@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.
In what way?
@xconverge 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 sureRegarding 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
@kingosticks commented on GitHub (Dec 15, 2021):
Works perfectly for me.