Skip to content

Commit

Permalink
Disabling mediainfo path temporarily until issue with knowit is fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheus65535 committed Mar 22, 2023
1 parent 7455496 commit 3a10df7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bazarr/utilities/video_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@ def parse_video_metadata(file, file_size, episode_file_id=None, movie_file_id=No
# or if we have mediainfo available
elif mediainfo_path:
try:
data["mediainfo"] = know(video_path=file, context={"provider": "mediainfo", "mediainfo": mediainfo_path})
# disabling mediainfo path temporarily until issue with knowit is fixed.
# data["mediainfo"] = know(video_path=file, context={"provider": "mediainfo", "mediainfo": mediainfo_path})
data["mediainfo"] = know(video_path=file, context={"provider": "mediainfo"})
except KnowitException as e:
logging.error(f"BAZARR mediainfo cannot analyze this video file {file}. Could it be corrupted? {e}")
return None
Expand Down

0 comments on commit 3a10df7

Please sign in to comment.