summaryrefslogtreecommitdiffhomepage
path: root/libs/fese/stream.py
diff options
context:
space:
mode:
authorVitiko <[email protected]>2022-12-15 19:03:44 -0400
committerVitiko <[email protected]>2022-12-15 19:04:54 -0400
commit7640a6d5a420db2c74648208be62513d1b788da0 (patch)
tree2fae91751a9bb5c0cb3a57da8b375fa886734096 /libs/fese/stream.py
parent6693b988115450e7823d1735cb2eb431ab72db39 (diff)
downloadbazarr-7640a6d5a420db2c74648208be62513d1b788da0.tar.gz
bazarr-7640a6d5a420db2c74648208be62513d1b788da0.zip
Embedded Subtitles provider: improve streams parsingv1.1.4-beta.5
Fix made updating fese to latest version
Diffstat (limited to 'libs/fese/stream.py')
-rwxr-xr-xlibs/fese/stream.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/fese/stream.py b/libs/fese/stream.py
index 340951380..1685239ce 100755
--- a/libs/fese/stream.py
+++ b/libs/fese/stream.py
@@ -41,8 +41,7 @@ class FFprobeSubtitleStream:
)
self.disposition = FFprobeSubtitleDisposition(stream.get("disposition", {}))
- if stream.get("tags") is not None:
- self.disposition.update_from_tags(stream["tags"])
+ self.disposition.update_from_tags(stream.get("tags", {}) or {})
def convert_args(self, convert_format, outfile):
"""