Audiobook support - #2462
Open
TheSpyder wants to merge 3 commits into
Open
Audiobook support#2462TheSpyder wants to merge 3 commits into
TheSpyder wants to merge 3 commits into
Conversation
…e playback When an item is resumable, Jellyfin returns an `item.UserData.PlaybackPositionTicks` property. Map this to a new `resumePositionMs` song property and seek to it when playback begins.
Jellyfin persists the resume position from progress and stop reports for item types that are resumable (e.g. AudioBook). Progress is reported every 10 seconds, and the stop scrobble is sent. The stop is sent before the new track's start because Jellyfin clears the session's now-playing item on any stop report.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
This implements my audiobook proposal, resolving #2403. I found some significant places to clean up the AI mess; hopefully they were the ones you hinted at.
I've added a checkbox to the Jellyfin server config (both regular and quick-connect screens) to enable audiobooks. When this is enabled:
Audio,AudioBookeven though libraries can never contain both.I made a few small quality-of-life changes across all playback for Jellyfin content, which I did not restrict to when the setting is enabled:
use-queue-restore.ts).asyncso there's no guarantee, but it seems more correct to me.