Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRAFT: Implement multi-part audiobook support #11517

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

Samson50
Copy link

@Samson50 Samson50 commented May 9, 2024

Modify the server to handle audiobooks which are split into multiple audio files. This assumes all files for a single audiobook are in their own directory and each directory only contains files for a single audiobook.

By itself, the changes in this merge request allow the server to handle resolving multi-part audiobooks into a single parent AudioBook entity and serve to the client under the normal books view. Playback can be started from the beginning of the audiobook and continue through all chapters but cannot be "resumed" once the play session is stopped.

When combined with the changes in the web pull request, playback can be resumed from the most recent stopping point from the books list view or from the "Continue Listening" entry.

Changes

  • Changed AudioBook entity to a subclass of Folder - serving as a parent for the chapters/files of an audiobook
  • Added entity for AudioBookFile representing the individual playable media files of an audiobook
  • Added conditionals for AudioBook/AudioBookFiles to controllers/managers to enable expected playback behavior

Issues
Fixes #10668

@Samson50 Samson50 changed the title Implement multi-part audiobook support DRAFT: Implement multi-part audiobook support May 9, 2024
@gnattu gnattu marked this pull request as draft May 9, 2024 05:51
@jellyfin-bot
Copy link
Contributor

This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.

@jellyfin-bot jellyfin-bot added merge conflict Merge conflicts should be resolved before a merge and removed merge conflict Merge conflicts should be resolved before a merge labels May 15, 2024
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.

[Issue]: Multi-Part Audiobook being treated as folder with indivdual files instead of one book
2 participants