From 3a10df7724750e5221ba608b875ff16bd0a254d5 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Wed, 22 Mar 2023 17:12:34 -0400 Subject: [PATCH] Disabling mediainfo path temporarily until issue with knowit is fixed. #2098 --- bazarr/utilities/video_analyzer.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bazarr/utilities/video_analyzer.py b/bazarr/utilities/video_analyzer.py index 72c3a1b5f..2454c5149 100644 --- a/bazarr/utilities/video_analyzer.py +++ b/bazarr/utilities/video_analyzer.py @@ -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