mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-08-01 19:21:34 -07:00
Fix Windows YouTube playback flow and overlay pointer tracking
This commit is contained in:
@@ -417,7 +417,7 @@ async function injectDownloadedSubtitles(
|
||||
return false;
|
||||
}
|
||||
|
||||
const currentSubText = await deps.requestMpvProperty('sub-text');
|
||||
const currentSubText = await deps.requestMpvProperty('sub-text').catch(() => null);
|
||||
if (typeof currentSubText === 'string' && currentSubText.trim().length > 0) {
|
||||
deps.refreshCurrentSubtitle(currentSubText);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user