mirror of
https://github.com/morpheus65535/bazarr
synced 2025-02-21 13:37:34 +00:00
Embedded Subtitles provider: improve streams parsing
Fix made updating fese to latest version
This commit is contained in:
parent
6693b98811
commit
7640a6d5a4
2 changed files with 2 additions and 3 deletions
|
@ -4,4 +4,4 @@
|
|||
from .container import FFprobeVideoContainer
|
||||
from .stream import FFprobeSubtitleStream
|
||||
|
||||
__version__ = "0.2.5"
|
||||
__version__ = "0.2.6"
|
||||
|
|
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue