diff options
author | Vitiko <[email protected]> | 2022-12-15 19:03:44 -0400 |
---|---|---|
committer | Vitiko <[email protected]> | 2022-12-15 19:04:54 -0400 |
commit | 7640a6d5a420db2c74648208be62513d1b788da0 (patch) | |
tree | 2fae91751a9bb5c0cb3a57da8b375fa886734096 /libs/fese/stream.py | |
parent | 6693b988115450e7823d1735cb2eb431ab72db39 (diff) | |
download | bazarr-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-x | libs/fese/stream.py | 3 |
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): """ |