ZeroQI / Hama.bundle

Plex HTTP Anidb Metadata Agent (HAMA)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change in data returned from FanartTV API causes exception in anidb34.py

fire332 opened this issue · comments

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.

Thanks for the precise report, i have included as is, as i have no time to devote to using the additionnal data being returned