Repository navigation
Conversation
|
Well... this PR started yesterday, before you reworked the plex subtitle handling and took care of the caching/selection error that I have also fixed with this. Not sure what to do now. |
|
I am reverting all your changes in 8b5ee4f as i've already implemented that fix in my unified solution |
daa2d51 to
1e360ef
Compare
… the stale metadata cache" This reverts commit 8b5ee4f.
1e360ef to
516d4e7
Compare
|
Alright, the plex-fix of yours threw a little spanner in the works, but it should all work now. I've tested this in the linux and the windows client. emby_subtitles.webm This is a test on linux client with plex and emby (with premiere). After squashing the chaotic commits, it should be good to go :) |
|
FYI, I expect the emby guys to probably just send you a lifetime premier key if you send them a message, saying you're the plezy dev. |
|
The longer you wait for merging, the more follow up issues might occur if you change/fix something else with subtitles |
Subtitle search moves onto MediaServerClient, so Plex and Emby share the sheet. Kept main's forceRefresh read for the Plex new-stream poll (and its test) instead of the PR's cache delete, and made the Emby policy probe lazy so constructing a client costs no request. Squash of upstream edde746/plezy PR edde746#2091 by Bockiii, merged into PlezyNG while it waits upstream. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Closing this.
|
Summary
Adds Emby subtitle search/download support and wires it through the existing subtitle controls flow.
This also generalizes the previous Plex-only subtitle search path into a backend-neutral model/API so Plex and Emby can use the same UI and apply pipeline.
What changed
/Items/{id}/RemoteSearch/Subtitles/{language}NewIndexwhen the server returns itNotes
TEMPFORDEVand debugging-only instrumentation were removed and are not part of this change.Validation
flutter analyzeFollow-up / caveat
The visibility gate now intentionally trusts Emby’s subtitle policy flags (
EnableSubtitleDownloading/EnableSubtitleManagement). If a non-Premiere server reports those as enabled, Plezy will expose subtitle search accordingly because no stronger Premiere-specific signal was found.