Skip to content

Centralize chapter queue creation - #499

Draft
ceroxlol wants to merge 3 commits into
GrakovNe:mainfrom
ceroxlol:refactor/shared-chapter-queue
Draft

Centralize chapter queue creation#499
ceroxlol wants to merge 3 commits into
GrakovNe:mainfrom
ceroxlol:refactor/shared-chapter-queue

Conversation

@ceroxlol

Copy link
Copy Markdown

This PR centralizes the existing chapter queue construction without changing playback behavior. PlaybackService, MediaSession item resolution, and playback resumption now use the same code path.
This refactoring is intentionally separate from track playback. Keeping the first PR behavior-neutral makes it easier to verify that queue construction has not regressed and gives the later feature work one well-tested integration point.

This PR is part of a series of PRs targeting the implementation of having two modes of playback, chapters and tracks.

All the following 6 PRs contribute to this goal, but for the sake of clarity and easier readability, are divided in to multiple parts.

Christopher Werner and others added 3 commits August 26, 2026 16:21
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@golinski

Copy link
Copy Markdown
Contributor

This seems pretty benign, because as far as I can see we just move the code around slightly. At the same we have a test that runs green before and after. So what is the actual purpose of the change?

@GrakovNe

Copy link
Copy Markdown
Owner

seems like just a refactor. Welcomed, but we have to wait unless it's ready

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.

3 participants