mirror of https://github.com/morpheus65535/bazarr
Fix to catch refine_video exception and log them.
This commit is contained in:
parent
3f5410dea3
commit
44e34a4d8c
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue