diff options
author | morpheus65535 <[email protected]> | 2024-12-10 23:19:21 -0500 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2024-12-10 23:19:21 -0500 |
commit | 63c36c8c184a5d7a34892f47e0f16d7b7ce6ea15 (patch) | |
tree | 8b1c4756e3ebb40d90178ffab3440c997af8cafa | |
parent | d2dc869c1c90d479a3a39aee264f9d695af2e53c (diff) | |
download | bazarr-63c36c8c184a5d7a34892f47e0f16d7b7ce6ea15.tar.gz bazarr-63c36c8c184a5d7a34892f47e0f16d7b7ce6ea15.zip |
Added debug logging while refining video object from scene name. #2784v1.4.6-beta.28
-rw-r--r-- | bazarr/subtitles/utils.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |