Spaces:
Running
Running
Update soni_translate/postprocessor.py
Browse files
soni_translate/postprocessor.py
CHANGED
@@ -125,7 +125,9 @@ def media_out(
|
|
125 |
soft_subtitles=False,
|
126 |
subtitle_files="disable",
|
127 |
):
|
128 |
-
if
|
|
|
|
|
129 |
if os.path.exists(media_file):
|
130 |
base_name = get_no_ext_filename(media_file)
|
131 |
else:
|
|
|
125 |
soft_subtitles=False,
|
126 |
subtitle_files="disable",
|
127 |
):
|
128 |
+
if media_out_name:
|
129 |
+
base_name = media_out_name + "_origin"
|
130 |
+
else:
|
131 |
if os.path.exists(media_file):
|
132 |
base_name = get_no_ext_filename(media_file)
|
133 |
else:
|