refactor: support vtt and ass subtitles

This commit is contained in:
Prayag Prajapati committed 2024-07-17 16:09:35 +05:30
1 parent aeb52e8e89
commit 800256bf2c
17 files changed
+726 -452

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
import type { MediaStream } from "@jellyfin/sdk/lib/generated-client";
export default interface subtitlePlaybackInfo {
enable: boolean;
track: number;
format: "vtt" | "ass" | "ssa" | "subrip";
allTracks: undefined | MediaStream[];
url: string;
}