fix(subtitles): allow Whisper generation during Windows YouTube stream playback (#282)

This commit is contained in:
sudacode authored and GitHub committed 2026-10-02 22:13:15 -07:00
1 parent 0aba17d95b
commit 138bfe9759
6 files changed
+137 -9

No files matched your search

+2
View File
@@ -6818,6 +6818,8 @@ const subtitleGenerationRuntime = createSubtitleGenerationRuntime({
'youtube-whisper.ja.srt',
),
}),
resolveYoutubeSourceUrl: (mediaPath) =>
youtubePlaybackRuntime.getYoutubeSourceUrlForStream(mediaPath),
getMpvClient: () => appState.mpvClient,
onProgress: (progress) => {
for (const window of [overlayManager.getMainWindow(), overlayManager.getModalWindow()]) {