From 79118a494c0a3c6bfe86a49a610fcad44e0aff50 Mon Sep 17 00:00:00 2001 From: Anderson Shindy Oki Date: Tue, 1 Oct 2024 09:47:18 +0900 Subject: no log: Only print anidb refinement log on success not failure --- bazarr/subtitles/refiners/anidb.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bazarr/subtitles/refiners/anidb.py b/bazarr/subtitles/refiners/anidb.py index 595b4abcc..c066cd598 100644 --- a/bazarr/subtitles/refiners/anidb.py +++ b/bazarr/subtitles/refiners/anidb.py @@ -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}') -- cgit v1.2.3