Closed EndOfLine369 closed 5 years ago
https://github.com/ZeroQI/Hama.bundle/blob/master/Contents/Code/AnimeLists.py line 265-286 Should be [ ] s0e12 s01e001
Issue is with anidb_ep()
and not tvdb_ep()
.
Will have to see what is wrong there. ~Probably only related to s0.~
Logic issue is somewhere in this block:
# <anime anidbid="23" tvdbid="76885" defaulttvdbseason="1" episodeoffset="" tmdbid="" imdbid="">
defaulttvdbseason = Dict(mappingList, 'defaulttvdbseason')
episodeoffset = Dict(mappingList, 'episodeoffset')
if season==defaulttvdbseason: return defaulttvdbseason, str(int(episode)-int(episodeoffset)), ''
Fixed. Looks like it was broken in 2018 https://github.com/ZeroQI/Hama.bundle/commit/8ee5c151071c73c1c6bad1a7e126ab9345429c1f#diff-d7b7f1f1970112645f6c605242902304R199
Thanks for the fix, you seem to know my code more than i do...
😁
EX:
[ ] s0e12 s00e001 anidbid: air_date: 2014-12-06
seems to be seen as season 0 instead of s01e001.