|
|
@@ -119,8 +119,8 @@ def mux(media):
|
|
|
sources = []
|
|
|
subs = []
|
|
|
videos = []
|
|
|
- temp = group[0]['path'].parent.joinpath(f'{group[0]['base']}-remux.mkv')
|
|
|
final = group[0]['path'].parent.joinpath(f'{group[0]['base']}.mkv')
|
|
|
+ temp = final.with_suffix('.mkv-remux')
|
|
|
args = [ 'mkvmerge', '--default-language', lang_default, '-o', temp ]
|
|
|
for file in group:
|
|
|
|
|
|
@@ -221,7 +221,7 @@ def lang(media):
|
|
|
|
|
|
for file in media:
|
|
|
logger.debug(f"Lang: {file['name']}")
|
|
|
-
|
|
|
+
|
|
|
# Skip files tha do not need lang processing
|
|
|
if 'lang_vers' in file and file['lang_vers'] and file['lang_vers'] >= lang_vers:
|
|
|
logger.debug(f"Skipping item with current lang_vers: {file['path']}")
|
|
|
@@ -262,4 +262,4 @@ for (parent, dirs, files) in root.walk():
|
|
|
logger.debug(f"Walking: {parent}")
|
|
|
media = scan(files)
|
|
|
mux(media)
|
|
|
- lang(media)
|
|
|
+ lang(media)
|