Skip to content

Allow wrapping to last track with Previous button. Closes: #1726#1794

Merged
jlindgren90 merged 1 commit into
audacious-media-player:masterfrom
radioactiveman:inverse-playlist-repeat
Apr 13, 2026
Merged

Allow wrapping to last track with Previous button. Closes: #1726#1794
jlindgren90 merged 1 commit into
audacious-media-player:masterfrom
radioactiveman:inverse-playlist-repeat

Conversation

@radioactiveman

Copy link
Copy Markdown
Member

When at the first track and "Previous" is pressed, jump to the last track in the playlist if "Repeat Playlist" is active.
This makes the behavior more intuitive and consistent with the "Next" button.

…media-player#1726

When at the first track and "Previous" is pressed, jump to the last
track in the playlist if "Repeat Playlist" is active. This makes the
behavior more intuitive and consistent with the "Next" button.
@radioactiveman radioactiveman force-pushed the inverse-playlist-repeat branch from f8c1e84 to bcf29d2 Compare April 13, 2026 00:13
@radioactiveman

Copy link
Copy Markdown
Member Author

Testing with "Repeat" and "Shuffle" enabled together I noticed that the behavior of "Previous" and "Next" is still different.
Since the code is also quite different I am not sure if/how we should change that regard as well.

@jlindgren90

jlindgren90 commented Apr 13, 2026

Copy link
Copy Markdown
Member

LGTM.

Testing with "Repeat" and "Shuffle" enabled together I noticed that the behavior of "Previous" and "Next" is still different.
Since the code is also quite different I am not sure if/how we should change that regard as well.

Without shuffle enabled, I think it's reasonable for "repeat backward" to wrap around to the end of the playlist, as you have here. I don't think it's clear what "repeat backward" would do (i.e. where it would wrap to) with shuffle enabled. I think the most conservative choice is for it to do nothing; i.e. not wrap at all.

@jlindgren90 jlindgren90 merged commit f888cd7 into audacious-media-player:master Apr 13, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants