From ce1345a8702c6f90c919174cbff04741802c078e Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Thu, 3 Mar 2022 15:31:08 -0500 Subject: Fixed knowit provider specification. --- bazarr/embedded_subs_reader.py | 3 +-- 1 file changed, 1 insertion(+), 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": -- cgit v1.2.3