mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-09-30 17:40:53 -07:00
feat(youtube): add YouTube browser window and Whisper subtitle source (#273)
This commit is contained in:
@@ -119,6 +119,18 @@ export function buildCoreConfigOptionRegistry(
|
||||
description:
|
||||
'Comma-separated primary subtitle language priority for managed subtitle auto-selection.',
|
||||
},
|
||||
{
|
||||
path: 'youtube.subtitleSource',
|
||||
kind: 'enum',
|
||||
enumValues: ['youtube', 'whisper'],
|
||||
enumLabels: {
|
||||
youtube: 'Download YouTube captions',
|
||||
whisper: 'Generate with Whisper',
|
||||
},
|
||||
defaultValue: defaultConfig.youtube.subtitleSource,
|
||||
description:
|
||||
'Where primary YouTube subtitles come from. Whisper transcribes the audio locally using the subtitleGeneration settings.',
|
||||
},
|
||||
{
|
||||
path: 'youtube.mediaCache.mode',
|
||||
kind: 'enum',
|
||||
|
||||
Reference in New Issue
Block a user