From 63c36c8c184a5d7a34892f47e0f16d7b7ce6ea15 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Tue, 10 Dec 2024 23:19:21 -0500 Subject: [PATCH] Added debug logging while refining video object from scene name. #2784 --- bazarr/subtitles/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bazarr/subtitles/utils.py b/bazarr/subtitles/utils.py index 06f7b225b..cfa96e1ed 100644 --- a/bazarr/subtitles/utils.py +++ b/bazarr/subtitles/utils.py @@ -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}') scenename_video = parse_video(scenename_with_extension, hints=hints, dry_run=True) 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_path = path