feat(driver): add emby driver#9574
Open
okatu-loli wants to merge 1 commit into
Open
Conversation
Mount an Emby/Jellyfin media server as a storage: - username/password login with automatic re-login on 401 - library views as root, ID-based hierarchical browsing with pagination - real filenames/sizes resolved from item Path and MediaSources - primary image as thumbnail - direct download link, falling back to static stream when the user has no download permission Close #9573
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 #9573
Mount an Emby/Jellyfin media server as a storage.
Implementation
/Users/AuthenticateByName, with automatic re-login when the token is rejected (401). The user'sEnableContentDownloadingpolicy is captured at login time.ParentId(series → season → episode) with pagination (1000 items per page). An optionalroot_folder_idmounts a single library directly.MediaSources. Primary images are exposed as thumbnails./Items/{id}/Downloadlink; when the user has no download permission it falls back to thestream?static=truedirect-play link (video/audio). Since direct links carry the access token, the driver config shows an alert recommending proxy for publicly shared storages.The same API works for both Emby and Jellyfin.
Testing
Verified end-to-end against the public Jellyfin demo server (
demo.jellyfin.org): login → list library views → walk down to episodes/movies (names and sizes correct) → link fetch with aRangerequest returns206 video/mp4. The demo user has no download permission, which also exercised the stream fallback path.