feat(player): external subtitles via OpenSubtitles
Add an OpenSubtitles client, /api/subtitles routes and useSubtitles to fetch subtitles by show/episode/filename, wire them as player tracks alongside embedded ones, and strip hls.js's auto-added tracks. New OPENSUBTITLES_* / SUBTITLE_LANGUAGES env vars (documented in env.example). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
c695697c4f
commit
ecc57ff135
24 files changed
+372
-67
No files matched your search
Vendored
+1
@@ -214,6 +214,7 @@ interface Source {
|
||||
name: string;
|
||||
src: string;
|
||||
type: string;
|
||||
lang?: string;
|
||||
}
|
||||
|
||||
interface Sources {
|
||||
|
||||
Reference in new issue
Block a user