mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-11-10 04:46:07 -08:00
feat(youtube): add mediaCache mode and safer stream media extraction (#130)
This commit is contained in:
1 parent
d199376364
commit
5326ad32f5
52 files changed
+4065
-165
No files matched your search
@@ -16,6 +16,7 @@ import type {
|
||||
StatsConfig,
|
||||
YomitanConfig,
|
||||
YoutubeConfig,
|
||||
YoutubeMediaCacheMode,
|
||||
YoutubeSubgenConfig,
|
||||
} from './integrations';
|
||||
import type {
|
||||
@@ -345,6 +346,10 @@ export interface ResolvedConfig {
|
||||
};
|
||||
youtube: YoutubeConfig & {
|
||||
primarySubLanguages: string[];
|
||||
mediaCache: {
|
||||
mode: YoutubeMediaCacheMode;
|
||||
maxHeight: number;
|
||||
};
|
||||
};
|
||||
youtubeSubgen: YoutubeSubgenConfig & {
|
||||
whisperBin: string;
|
||||
|
||||
Reference in new issue
Block a user