1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-23 16:23:41 +00:00

Fixed knowit provider specification.

This commit is contained in:
morpheus65535 2022-03-03 15:31:08 -05:00
parent d13bc73189
commit ce1345a870

View file

@ -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 we have ffprobe available
if ffprobe_path: if ffprobe_path:
api.initialize({"provider": "ffmpeg", "ffmpeg": ffprobe_path}) data["ffprobe"] = api.know(video_path=file, context={"provider": "ffmpeg", "ffmpeg": ffprobe_path})
data["ffprobe"] = api.know(file)
# if not, we use enzyme for mkv files # if not, we use enzyme for mkv files
else: else:
if os.path.splitext(file)[1] == ".mkv": if os.path.splitext(file)[1] == ".mkv":