Skip to content

Commit

Permalink
Added debug logging while refining video object from scene name. #2784
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheus65535 committed Dec 11, 2024
1 parent d2dc869 commit 63c36c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bazarr/subtitles/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 63c36c8

Please sign in to comment.