diff options
-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": |