fix: playback error if subtitle is not set

This commit is contained in:
Prayag Prajapati committed 2024-11-30 13:47:03 +05:30
1 parent 9d96667d60
commit 591fce7e5c
5 files changed
+79 -40

No files matched your search

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