mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-03-06 19:57:26 -08:00
64 lines
1.5 KiB
TypeScript
64 lines
1.5 KiB
TypeScript
import { ResolvedConfig } from '../../types';
|
|
|
|
export const CORE_DEFAULT_CONFIG: Pick<
|
|
ResolvedConfig,
|
|
| 'subtitlePosition'
|
|
| 'keybindings'
|
|
| 'websocket'
|
|
| 'logging'
|
|
| 'texthooker'
|
|
| 'shortcuts'
|
|
| 'secondarySub'
|
|
| 'subsync'
|
|
| 'startupWarmups'
|
|
| 'auto_start_overlay'
|
|
> = {
|
|
subtitlePosition: { yPercent: 10 },
|
|
keybindings: [],
|
|
websocket: {
|
|
enabled: 'auto',
|
|
port: 6677,
|
|
},
|
|
logging: {
|
|
level: 'info',
|
|
},
|
|
texthooker: {
|
|
openBrowser: true,
|
|
},
|
|
shortcuts: {
|
|
toggleVisibleOverlayGlobal: 'Alt+Shift+O',
|
|
copySubtitle: 'CommandOrControl+C',
|
|
copySubtitleMultiple: 'CommandOrControl+Shift+C',
|
|
updateLastCardFromClipboard: 'CommandOrControl+V',
|
|
triggerFieldGrouping: 'CommandOrControl+G',
|
|
triggerSubsync: 'Ctrl+Alt+S',
|
|
mineSentence: 'CommandOrControl+S',
|
|
mineSentenceMultiple: 'CommandOrControl+Shift+S',
|
|
multiCopyTimeoutMs: 3000,
|
|
toggleSecondarySub: 'CommandOrControl+Shift+V',
|
|
markAudioCard: 'CommandOrControl+Shift+A',
|
|
openRuntimeOptions: 'CommandOrControl+Shift+O',
|
|
openJimaku: 'Ctrl+Shift+J',
|
|
},
|
|
secondarySub: {
|
|
secondarySubLanguages: [],
|
|
autoLoadSecondarySub: false,
|
|
defaultMode: 'hover',
|
|
},
|
|
subsync: {
|
|
defaultMode: 'auto',
|
|
alass_path: '',
|
|
ffsubsync_path: '',
|
|
ffmpeg_path: '',
|
|
replace: true,
|
|
},
|
|
startupWarmups: {
|
|
lowPowerMode: false,
|
|
mecab: true,
|
|
yomitanExtension: true,
|
|
subtitleDictionaries: true,
|
|
jellyfinRemoteSession: true,
|
|
},
|
|
auto_start_overlay: false,
|
|
};
|