forked from kenzuya/unshackle
feat: original-language aware DUAL/MULTi tagging and new DUBBED variable
DUAL now requires the original language plus one dub (strict default); dual_multi_mode: count restores the old pure-count behavior.
This commit is contained in:
@@ -126,6 +126,7 @@ class Config:
|
||||
self.redact_paths: bool = kwargs.get("redact_paths", True)
|
||||
|
||||
self.language_tags: dict = kwargs.get("language_tags") or {}
|
||||
self.dual_multi_mode: str = (kwargs.get("dual_multi_mode") or "strict").lower()
|
||||
self.output_template: dict = kwargs.get("output_template") or {}
|
||||
folder_cfg = self.output_template.pop("folder", "")
|
||||
self.folder_template: str = ""
|
||||
@@ -191,6 +192,7 @@ class Config:
|
||||
"atmos",
|
||||
"dual",
|
||||
"multi",
|
||||
"dubbed",
|
||||
"video",
|
||||
"hdr",
|
||||
"hfr",
|
||||
|
||||
Reference in New Issue
Block a user