aboutsummaryrefslogtreecommitdiffhomepage
path: root/libs/fese
diff options
context:
space:
mode:
Diffstat (limited to 'libs/fese')
-rw-r--r--libs/fese/container.py5
-rw-r--r--libs/fese/tags.py4
2 files changed, 8 insertions, 1 deletions
diff --git a/libs/fese/container.py b/libs/fese/container.py
index 21dfc20da..5f2c70371 100644
--- a/libs/fese/container.py
+++ b/libs/fese/container.py
@@ -54,7 +54,10 @@ def _ffmpeg_call(command, log_callback=None, progress_callback=None, timeout=100
if match:
size, time_, bitrate, speed = match.groups()
info = {"size": size, "time": time_, "bitrate": bitrate, "speed": speed}
- progress_callback(info)
+ else:
+ info = {"size": "n/a", "time": "n/a", "bitrate": "n/a", "speed": "n/a"}
+
+ progress_callback(info)
if timeout is not None and time.time() - start > timeout:
proc.kill()
diff --git a/libs/fese/tags.py b/libs/fese/tags.py
index b846fffea..3c4625eb1 100644
--- a/libs/fese/tags.py
+++ b/libs/fese/tags.py
@@ -192,4 +192,8 @@ _extra_languages = {
"matches": ("pt-br", "pob", "pb", "brazilian", "brasil", "brazil"),
"language_args": ("por", "BR"),
},
+ "fil": {
+ "matches": ("fil", "filipino"),
+ "language_args": ("tgl", "PH"),
+ },
}