mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-11-26 04:46:07 -08:00
feat(subsync): integrate built-in automatic subtitle syncing
This commit is contained in:
44 files changed
+6498
-135
No files matched your search
@@ -397,6 +397,11 @@ export function applyCoreDomainConfig(context: ResolveContext): void {
|
||||
}
|
||||
|
||||
if (isObject(src.subsync)) {
|
||||
if (src.subsync.mode === 'auto' || src.subsync.mode === 'manual') {
|
||||
resolved.subsync.mode = src.subsync.mode;
|
||||
} else if (src.subsync.mode !== undefined) {
|
||||
warn('subsync.mode', src.subsync.mode, resolved.subsync.mode, "Expected 'auto' or 'manual'.");
|
||||
}
|
||||
const alass = asString(src.subsync.alass_path);
|
||||
if (alass !== undefined) resolved.subsync.alass_path = alass;
|
||||
const ffsubsync = asString(src.subsync.ffsubsync_path);
|
||||
|
||||
Reference in new issue
Block a user