|
|
@ -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
|
|
|
|
# or if we have mediainfo available
|
|
|
|
elif mediainfo_path:
|
|
|
|
elif mediainfo_path:
|
|
|
|
try:
|
|
|
|
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:
|
|
|
|
except KnowitException as e:
|
|
|
|
logging.error(f"BAZARR mediainfo cannot analyze this video file {file}. Could it be corrupted? {e}")
|
|
|
|
logging.error(f"BAZARR mediainfo cannot analyze this video file {file}. Could it be corrupted? {e}")
|
|
|
|
return None
|
|
|
|
return None
|
|
|
|