|
|
@ -218,11 +218,12 @@ def refine_anidb_ids(video):
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
if not anidb_series_id:
|
|
|
|
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
|
|
|
|
return video
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
logger.debug(f'AniDB refinement identified {video.series} as {anidb_series_id}.')
|
|
|
|
|
|
|
|
|
|
|
|
anidb_episode_id = None
|
|
|
|
anidb_episode_id = None
|
|
|
|
|
|
|
|
|
|
|
|
if anidb_client.has_api_credentials:
|
|
|
|
if anidb_client.has_api_credentials:
|
|
|
|
if anidb_client.is_throttled:
|
|
|
|
if anidb_client.is_throttled:
|
|
|
|
logger.warning(f'API daily limit reached. Skipping episode ID refinement for {video.series}')
|
|
|
|
logger.warning(f'API daily limit reached. Skipping episode ID refinement for {video.series}')
|
|
|
|