feat: download a range of podcast episodes - #2192
Merged
Merged
Conversation
Adds a per-podcast batch action to queue only the episodes whose chronological position (oldest = 1) falls within an inclusive [from, to] range, for huge feeds where only a slice matters. New endpoint POST /podcasts/{id}/episodes/download-range (admin-only, 202), backed by a reusable parallel-download helper shared with download-all. UI lives in the podcast settings modal's Batch actions tab.
Also adds the missing podcast-episode-details i18n key (a screen-reader-only label that was rendering the raw kebab key), and extends the e2e settings coverage with the new action.
SamTV12345
enabled auto-merge (squash)
July 23, 2026 20:41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2140.
For podcasts with thousands of episodes where only a slice matters, adds a Download an episode range batch action: queue only the missing episodes whose chronological position (oldest = 1, matching the episode-numbering scheme) falls within an inclusive
[from, to]range.Backend
POST /api/v1/podcasts/{id}/episodes/download-range(admin-only, returns202), body{ from, to }.download_episode_range_for_podcastsorts episodes ascending by publication date, slices[from-1, to)(clamped), and downloads the missing ones.download_missing_inhelper reused bydownload-all.Frontend
schema.d.tsby hand (a full regen drops config-gated routes like Mopidy, so it stays hand-maintained).Also
podcast-episode-detailsi18n key (a screen-reader-only label that rendered the raw kebab key).settings-coverage.spec.tswith the new action (label + a functional range-download test).All backend tests and the e2e settings suite pass locally.