Skip to content

Commit

Permalink
no log: Only print anidb refinement log on success not failure
Browse files Browse the repository at this point in the history
  • Loading branch information
anderson-oki committed Oct 1, 2024
1 parent 6cc3fcf commit 79118a4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bazarr/subtitles/refiners/anidb.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,12 @@ def refine_anidb_ids(video):
)

if not anidb_series_id:
logger.debug(f'AniDB refinement has been skipped for {video.series}. The series is not an anime or it is not mapped.')

return video

logger.debug(f'AniDB refinement identified {video.series} as {anidb_series_id}.')

anidb_episode_id = None

if anidb_client.has_api_credentials:
if anidb_client.is_throttled:
logger.warning(f'API daily limit reached. Skipping episode ID refinement for {video.series}')
Expand Down

0 comments on commit 79118a4

Please sign in to comment.