Skip to content

Add reverse sort option for podcast episode lists - #146

Merged
paroj merged 1 commit into
paroj:edgefrom
symonbaikov:feature/reverse-sort-podcasts
May 31, 2026
Merged

Add reverse sort option for podcast episode lists#146
paroj merged 1 commit into
paroj:edgefrom
symonbaikov:feature/reverse-sort-podcasts

Conversation

@symonbaikov

Copy link
Copy Markdown

Closes #124

Summary

Adds a "Newest first" toggle to the podcast episode list overflow menu. By default Subsonic returns episodes in publication order (oldest → newest), which is
inconvenient for podcasts with hundreds of episodes — the user has to scroll to the bottom every time to reach the latest one. The new toggle reverses the list
so the newest episode sits at the top.

The toggle is a single global preference (reversePodcastSort), persisted via SharedPreferences alongside the existing customSortEnabled key. When
changed, the visible list flips in place — no server round-trip — and the new order is applied automatically every time a podcast view is opened.

Scope is intentionally limited to podcast episode views (podcastId != null in SelectDirectoryFragment); regular album track lists are untouched and
continue to sort by disc/track number.

@paroj
paroj merged commit be0416f into paroj:edge May 31, 2026
2 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.

[Feature request] Reverse sorting option

2 participants