feat(tv): add live subtitle track refresh after opensubs download

This commit is contained in:
Fredrik Burmester
2026-01-18 17:44:13 +01:00
parent 0f076d197f
commit f9a3a1f9f6
6 changed files with 165 additions and 40 deletions

View File

@@ -12,6 +12,7 @@ export type TVSubtitleModalState = {
onSubtitleIndexChange: (index: number) => void;
onServerSubtitleDownloaded?: () => void;
onLocalSubtitleDownloaded?: (path: string) => void;
refreshSubtitleTracks?: () => Promise<MediaStream[]>;
} | null;
export const tvSubtitleModalAtom = atom<TVSubtitleModalState>(null);