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 | |
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')
-rwxr-xr-x | libs/fese/__init__.py | 2 | ||||
-rwxr-xr-x | libs/fese/stream.py | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/libs/fese/__init__.py b/libs/fese/__init__.py index e22c03152..243201ef2 100755 --- a/libs/fese/__init__.py +++ b/libs/fese/__init__.py @@ -4,4 +4,4 @@ from .container import FFprobeVideoContainer from .stream import FFprobeSubtitleStream -__version__ = "0.2.5" +__version__ = "0.2.6" 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): """ |