fix: subtitle track not setting properly on first render

This commit is contained in:
--remove-section committed 2025-12-26 17:13:32 +05:30
1 parent c0402fe8cf
commit 1c8c048df0
7 files changed
+51 -31

No files matched your search

+4
View File
@@ -176,6 +176,10 @@ const PlayButton = ({
queueItems: queue,
queueIndex: episodeIndex,
startPositionTicks: startPosition,
audioStreamIndex:
currentAudioTrack === "auto" ? undefined : currentAudioTrack,
subtitleStreamIndex:
currentSubTrack === "nosub" ? -1 : currentSubTrack,
});
navigate({ to: "/player" });
}