Change in data returned from FanartTV API causes exception in anidb34.py
fire332 opened this issue · 1 comments
fire332 commented
FanartTV_dict.seasons
can now contain an all
key in addition to the numeric keys which causes the exception, invalid literal for int() with base 10: 'all'
, to occur in anidb34.py#L94.
Inserting
FanartTV_dict.get('seasons', {}).pop('all', None)
before FanartTV.py#L44 resolves this issue. However, a refactor should be considered to utilize the data in that dict.
ZeroQI commented
Thanks for the precise report, i have included as is, as i have no time to devote to using the additionnal data being returned