Skip to content

feat: series playlists that resume where you left off - #43

Merged
EnesYilmazcode merged 3 commits into
mainfrom
feat/series
Sep 26, 2026
Merged

EnesYilmazcode merged 3 commits into
mainfrom
feat/series

Conversation

@EnesYilmazcode

Copy link
Copy Markdown
Owner

Two changes for listening through a long numbered series, like a podcast back catalog imported as files.

Ordered series on import. Files named like Show - 012 Episode title are imported in number order, and three or more from the same show become one playlist sorted by episode number. Importing more episodes later extends the same playlist instead of making a second one.

Resume a playlist. Playing a playlist in order bookmarks the current track and position every few seconds and on pause. The playlist page then shows a Resume card that picks up on that track at that spot, even after the app is closed. The bookmark follows playback into the next track. Shuffle doesn't move it.

Tested with node scripts/test-series.mjs (6 of 6 pass): out-of-order picks import in episode order, 10 sorts after 2, resume survives a reload, the bookmark advances to the next track, and re-importing doesn't create a duplicate playlist. node scripts/test-podcasts.mjs still passes 14 of 14.

@EnesYilmazcode
EnesYilmazcode merged commit 9d20520 into main Sep 26, 2026
1 check passed
@EnesYilmazcode
EnesYilmazcode deleted the feat/series branch September 26, 2026 02:51
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.

1 participant