diff options
author | Anderson Shindy Oki <[email protected]> | 2024-10-01 09:47:18 +0900 |
---|---|---|
committer | Anderson Shindy Oki <[email protected]> | 2024-10-01 09:47:18 +0900 |
commit | 79118a494c0a3c6bfe86a49a610fcad44e0aff50 (patch) | |
tree | 3ccb26380cf10b2e41294efb298afd969cb0396b | |
parent | 6cc3fcfc72c508fb48759956b2516b862e6c9c33 (diff) | |
download | bazarr-79118a494c0a3c6bfe86a49a610fcad44e0aff50.tar.gz bazarr-79118a494c0a3c6bfe86a49a610fcad44e0aff50.zip |
no log: Only print anidb refinement log on success not failure
-rw-r--r-- | bazarr/subtitles/refiners/anidb.py | 5 |
1 files 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}') |