Skip to content

Commit

Permalink
Fixed knowit provider specification.
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheus65535 committed Mar 3, 2022
1 parent d13bc73 commit ce1345a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bazarr/embedded_subs_reader.py
Expand Up @@ -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":
Expand Down

0 comments on commit ce1345a

Please sign in to comment.