diff options
author | morpheus65535 <[email protected]> | 2022-03-03 15:31:08 -0500 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2022-03-03 15:31:08 -0500 |
commit | ce1345a8702c6f90c919174cbff04741802c078e (patch) | |
tree | 20f15b8f5547dfdb9caf0fe5705072a4a40799ca | |
parent | d13bc731891d8ea211b9e5f1d95f10c4e0ba170c (diff) | |
download | bazarr-ce1345a8702c6f90c919174cbff04741802c078e.tar.gz bazarr-ce1345a8702c6f90c919174cbff04741802c078e.zip |
Fixed knowit provider specification.v1.0.4-beta.3
-rw-r--r-- | bazarr/embedded_subs_reader.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bazarr/embedded_subs_reader.py b/bazarr/embedded_subs_reader.py index 5d554e86b..e6e93efdf 100644 --- a/bazarr/embedded_subs_reader.py +++ b/bazarr/embedded_subs_reader.py @@ -106,8 +106,7 @@ def parse_video_metadata(file, file_size, episode_file_id=None, movie_file_id=No # if we have ffprobe available if ffprobe_path: - api.initialize({"provider": "ffmpeg", "ffmpeg": ffprobe_path}) - data["ffprobe"] = api.know(file) + data["ffprobe"] = api.know(video_path=file, context={"provider": "ffmpeg", "ffmpeg": ffprobe_path}) # if not, we use enzyme for mkv files else: if os.path.splitext(file)[1] == ".mkv": |