mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-23 08:13:14 +00:00
Fixed knowit provider specification.
This commit is contained in:
parent
d13bc73189
commit
ce1345a870
1 changed files with 1 additions and 2 deletions
|
@ -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":
|
||||
|
|
Loading…
Reference in a new issue