Skip to content

feat: Multi-part support: proper playback, resume, and offline downloads - #1170

Open
siddheshgunjal wants to merge 12 commits into
DonutWare:developfrom
siddheshgunjal:feature/support-multi-part
Open

siddheshgunjal wants to merge 12 commits into
DonutWare:developfrom
siddheshgunjal:feature/support-multi-part

Conversation

@siddheshgunjal

Copy link
Copy Markdown

Pull Request Description

Summary

Fladder now treats a multi-part movie or episode as one logical item across the details page, player queue, progress tracking, and offline downloads.

Added

  • Multi-part detection using Jellyfin’s PartCount and AdditionalParts APIs.
  • Parts row on movie and episode detail pages, showing each part’s artwork, runtime, progress, and watched state.
  • Direct part playback — tapping Part 2, 3, etc. starts that part at its own saved position.
  • Queue continuity — after a part ends, the next part is queued automatically; after the final part, playback continues to the next episode.
  • Next part label in the player’s next-up overlay.
  • Aggregate progress and resume — combined runtime and progress across all parts, with resume landing on the correct part.
  • Logical completion — the parent item is marked watched only after the final part finishes; all additional parts are marked watched too.
  • Rewatch reset — starting a completed multi-part item over resets the parent and every part.
  • Offline multi-part support:
    • Downloading a multi-part movie or episode downloads all of its parts.
    • Parts appear in the Parts row while offline.
    • Offline playback auto-advances through parts and then to the next downloaded episode.
    • Aggregate progress and played state are stored locally and pushed to the server when connectivity returns.
  • Automatic database migration from sync schema v1 to v2, adding part metadata columns while preserving existing downloads.

Upgrade note

Existing multi-part downloads need one online refresh/re-sync to acquire their additional parts. The schema migration itself works offline and keeps existing single-file downloads valid.

Issue Being Fixed

Resolves #486

Screenshots / Recordings

Screenshot From 2026-10-18 18-55-41
android-demo.mp4

Note, Had to compress video for attaching here.

Tested On

  • Android
  • Android TV
  • iOS
  • Linux
  • Windows
  • macOS
  • Web

Checklist

  • If a new package was added, did you ensure it works for all supported platforms? Is the package well maintained
  • Check that any changes are related to the issue at hand.

@siddheshgunjal

Copy link
Copy Markdown
Author

Let me fix the linting issues tomorrow, happy weekend!

@siddheshgunjal siddheshgunjal changed the title Multi-part support: proper playback, resume, and offline downloads feat: Multi-part support: proper playback, resume, and offline downloads Oct 19, 2026
@siddheshgunjal

Copy link
Copy Markdown
Author

@PartyDonut all linting related issues resolved!

This branch has not been deployed

No deployments
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.

🐛 Multi-part video files (e.g., -CD2, -CD3) are completely missing from the movie library, rendering them unplayable

1 participant