1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-21 23:32:31 +00:00

no log: Only print anidb refinement log on success not failure

This commit is contained in:
Anderson Shindy Oki 2024-10-01 09:47:18 +09:00
parent 6cc3fcfc72
commit 79118a494c

View file

@ -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}')