1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-01-03 05:25:28 +00:00

Added debug logging while refining video object from scene name. #2784

This commit is contained in:
morpheus65535 2024-12-10 23:19:21 -05:00
parent d2dc869c1c
commit 63c36c8c18

View file

@ -39,6 +39,8 @@ def get_video(path, title, sceneName, providers=None, media_type="movie"):
logging.debug(f'BAZARR guessing video object using scene name: {scenename_with_extension}') logging.debug(f'BAZARR guessing video object using scene name: {scenename_with_extension}')
scenename_video = parse_video(scenename_with_extension, hints=hints, dry_run=True) scenename_video = parse_video(scenename_with_extension, hints=hints, dry_run=True)
refine_video_with_scenename(initial_video=video, scenename_video=scenename_video) refine_video_with_scenename(initial_video=video, scenename_video=scenename_video)
logging.debug('BAZARR resulting video object once refined using scene name: %s',
json.dumps(vars(video), cls=GuessitEncoder, indent=4, ensure_ascii=False))
video.original_name = os.path.basename(path) video.original_name = os.path.basename(path)
video.original_path = path video.original_path = path