Fix to catch refine_video exception and log them.

This commit is contained in:
Louis Vézina 2019-02-02 23:28:58 -05:00
parent 3f5410dea3
commit 44e34a4d8c
1 changed files with 5 additions and 1 deletions

View File

@ -63,7 +63,11 @@ def get_video(path, title, sceneName, use_scenename, providers=None, media_type=
video.used_scene_name = dont_use_actual_file video.used_scene_name = dont_use_actual_file
video.original_name = original_name video.original_name = original_name
video.original_path = original_path video.original_path = original_path
try:
refine_video(video) refine_video(video)
except Exception as e:
logging.debug('BAZARR Error trying to refine this file: ' + path)
pass
return video return video
except: except: