Newly added episodes of a specific series no longer receive metadata
doolydooly opened this issue ยท 9 comments
Apologies for posting this issue here, but the HAMA thread on the Plex forums is locked and I didn't see another open one.
During the past few days when adding new episodes of a particular series (One Piece) to Plex I am experiencing an issue where files seem to get correctly picked up by the scanner (ASS) and added to the correct series with the correct numbering, but don't receive any metadata. These aren't newly released episodes, but older episodes from February 2015 (I am trying to add episode 683+), and they show up perfectly fine when checking the AniDB API directly (http://api.anidb.net:9001/httpapi?request=anime&client=hama&clientver=1&protover=1&aid=69).
Nothing has changed with the file naming scheme on these new episodes, I haven't changed anything in my Plex environment, and I can't replicate the issue on any other series.
Looking at the logs I have found some strangeness.
An excerpt from _root_agent.log
from 2024-01-13, importing One Piece episodes with no problem:
2024-01-13 05:58:51,135 - 7fbe96fbcb38 - ==== common.PlexLog(file="/var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Plug-in Support/Data/com.plexapp.agents.hama/DataItems/_Logs/Anime/One Piece [anidb-69].agent-update.log")
2024-01-13 05:58:51,366 - 7fbe96fbcb38 - Requesting 'https://api.thetvdb.com/login'
2024-01-13 05:58:51,494 - 7fbe96fbcb38 - TheTVDBv2.LoadFileTVDB() - URL https://api.thetvdb.com/login, headers: {'Content-type': 'application/json', 'Accept-Language': 'ja', 'User-agent': 'Plex/HAMA'}
2024-01-13 05:59:03,260 - 7fbe96fbcb38 - Requesting 'https://api.thetvdb.com/episodes/4622753'
2024-01-13 05:59:03,410 - 7fbe96fbcb38 - Downloaded URL 'https://api.thetvdb.com/episodes/4622753'
2024-01-13 05:59:03,553 - 7fbe96fbcb38 - Requesting 'https://api.thetvdb.com/episodes/4631951'
2024-01-13 05:59:03,625 - 7fbe96fbcb38 - Downloaded URL 'https://api.thetvdb.com/episodes/4631951'
2024-01-13 05:59:03,715 - 7fbe96fbcb38 - Requesting 'https://api.thetvdb.com/episodes/4631952'
2024-01-13 05:59:03,790 - 7fbe96fbcb38 - Downloaded URL 'https://api.thetvdb.com/episodes/4631952'
2024-01-13 05:59:04,034 - 7fbe96fbcb38 - Requesting 'https://api.thetvdb.com/episodes/4772870'
2024-01-13 05:59:04,110 - 7fbe96fbcb38 - Downloaded URL 'https://api.thetvdb.com/episodes/4772870'
2024-01-13 05:59:04,229 - 7fbe96fbcb38 - Requesting 'https://api.thetvdb.com/episodes/4772871'
2024-01-13 05:59:04,304 - 7fbe96fbcb38 - Downloaded URL 'https://api.thetvdb.com/episodes/4772871'
2024-01-13 05:59:04,425 - 7fbe96fbcb38 - Requesting 'https://api.thetvdb.com/episodes/4772872'
2024-01-13 05:59:04,501 - 7fbe96fbcb38 - Downloaded URL 'https://api.thetvdb.com/episodes/4772872'
2024-01-13 05:59:04,709 - 7fbe96fbcb38 - Requesting 'https://api.thetvdb.com/episodes/4772873'
2024-01-13 05:59:04,784 - 7fbe96fbcb38 - Downloaded URL 'https://api.thetvdb.com/episodes/4772873'
2024-01-13 05:59:04,998 - 7fbe96fbcb38 - Requesting 'https://api.thetvdb.com/episodes/4795409'
2024-01-13 05:59:05,072 - 7fbe96fbcb38 - Downloaded URL 'https://api.thetvdb.com/episodes/4795409'
2024-01-13 05:59:05,473 - 7fbe96fbcb38 - Requesting 'https://api.thetvdb.com/episodes/4940295'
2024-01-13 05:59:05,547 - 7fbe96fbcb38 - Downloaded URL 'https://api.thetvdb.com/episodes/4940295'
2024-01-13 05:59:05,590 - 7fbe96fbcb38 - Requesting 'https://api.thetvdb.com/episodes/4940296'
2024-01-13 05:59:05,660 - 7fbe96fbcb38 - Downloaded URL 'https://api.thetvdb.com/episodes/4940296'
2024-01-13 05:59:05,672 - 7fbe96fbcb38 - Requesting 'https://api.thetvdb.com/episodes/4963228'
2024-01-13 05:59:05,739 - 7fbe96fbcb38 - Downloaded URL 'https://api.thetvdb.com/episodes/4963228'
2024-01-13 05:59:05,775 - 7fbe96fbcb38 - Requesting 'https://api.thetvdb.com/episodes/4963229'
2024-01-13 05:59:05,851 - 7fbe96fbcb38 - Downloaded URL 'https://api.thetvdb.com/episodes/4963229'
2024-01-13 05:59:05,861 - 7fbe96fbcb38 - Requesting 'https://api.thetvdb.com/episodes/4963230'
2024-01-13 05:59:05,932 - 7fbe96fbcb38 - Downloaded URL 'https://api.thetvdb.com/episodes/4963230'
2024-01-13 05:59:06,217 - 7fbe96fbcb38 - Requesting 'https://api.thetvdb.com/episodes/5095572'
2024-01-13 05:59:06,291 - 7fbe96fbcb38 - Downloaded URL 'https://api.thetvdb.com/episodes/5095572'
2024-01-13 05:59:06,310 - 7fbe96fbcb38 - Requesting 'https://api.thetvdb.com/episodes/5107176'
2024-01-13 05:59:06,383 - 7fbe96fbcb38 - Downloaded URL 'https://api.thetvdb.com/episodes/5107176'
2024-01-13 05:59:06,391 - 7fbe96fbcb38 - Requesting 'https://api.thetvdb.com/episodes/5107177'
2024-01-13 05:59:06,485 - 7fbe96fbcb38 - Downloaded URL 'https://api.thetvdb.com/episodes/5107177'
2024-01-13 05:59:06,492 - 7fbe96fbcb38 - Requesting 'https://api.thetvdb.com/episodes/5118872'
2024-01-13 05:59:06,562 - 7fbe96fbcb38 - Downloaded URL 'https://api.thetvdb.com/episodes/5118872'
2024-01-13 05:59:06,581 - 7fbe96fbcb38 - Requesting 'https://api.thetvdb.com/episodes/5124614'
2024-01-13 05:59:06,652 - 7fbe96fbcb38 - Downloaded URL 'https://api.thetvdb.com/episodes/5124614'
2024-01-13 05:59:28,199 - 7fbe96fbcb38 - Serializing to /var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Metadata/TV Shows/8/b19cb1ae97367337434e7dcedcf2d540a5bc7d2.bundle/Contents/com.plexapp.agents.hama/Info.xml
But ever since 2024-01-15 I am seeing the following when importing One Piece episodes:
2024-01-15 12:49:22,282 - 7fc0fd8d7b38 - ==== common.PlexLog(file="/var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Plug-in Support/Data/com.plexapp.agents.hama/DataItems/_Logs/Anime/One Piece [anidb-69].agent-update.log")
2024-01-15 12:49:22,371 - 7fc0fd8d7b38 - Exception in the update function of agent named 'HamaTV', called with guid 'com.plexapp.agents.hama://anidb-69?lang=en' (most recent call last):
File "/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-fb6452ebf/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1093, in _update
agent.update(obj, media, lang, **kwargs)
File "/var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Plug-ins/Hama.bundle/Contents/Code/__init__.py", line 165, in update
def update (self, metadata, media, lang, force ): Update (metadata, media, lang, force, False)
File "/var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Plug-ins/Hama.bundle/Contents/Code/__init__.py", line 137, in Update
dict_AnimeLists, AniDBid, TVDBid, TMDbid, IMDbid, mappingList = AnimeLists.GetMetadata(media, movie, error_log, metadata.id)
File "/var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Plug-ins/Hama.bundle/Contents/Code/AnimeLists.py", line 186, in GetMetadata
Log.Info('"anime-list TVDBid missing.htm" log added as tvdb serie id missing in mapping file: "{}"'.format(TVDBid))
TypeError: int() argument must be a string or a number, not 'NoneType'
2024-01-15 12:49:26,883 - 7fc0fd8d7b38 - Serializing to /var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Metadata/TV Shows/8/b19cb1ae97367337434e7dcedcf2d540a5bc7d2.bundle/Contents/com.plexapp.agents.hama/Info.xml
As mentioned above, other series seem to import metadata perfectly fine, here is an example from 2024-01-15 importing Spy x Family without problems:
2024-01-15 21:50:30,368 - 7fb6ce96eb38 - ==== common.PlexLog(file="/var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Plug-in Support/Data/com.plexapp.agents.hama/DataItems/_Logs/Anime/Spy x Family Part 3 [anidb-17784-e-25].agent-update.log")
2024-01-15 21:50:30,679 - 7fb6ce96eb38 - Requesting 'https://api.thetvdb.com/episodes/10025174'
2024-01-15 21:50:30,764 - 7fb6ce96eb38 - Downloaded URL 'https://api.thetvdb.com/episodes/10025174'
2024-01-15 21:50:30,772 - 7fb6ce96eb38 - Requesting 'https://api.thetvdb.com/episodes/10075710'
2024-01-15 21:50:30,853 - 7fb6ce96eb38 - Downloaded URL 'https://api.thetvdb.com/episodes/10075710'
2024-01-15 21:50:30,882 - 7fb6ce96eb38 - Requesting 'https://api.thetvdb.com/episodes/10075711'
2024-01-15 21:50:30,962 - 7fb6ce96eb38 - Downloaded URL 'https://api.thetvdb.com/episodes/10075711'
2024-01-15 21:50:30,970 - 7fb6ce96eb38 - Requesting 'https://api.thetvdb.com/episodes/10075712'
2024-01-15 21:50:31,053 - 7fb6ce96eb38 - Downloaded URL 'https://api.thetvdb.com/episodes/10075712'
2024-01-15 21:50:31,062 - 7fb6ce96eb38 - Requesting 'https://api.thetvdb.com/episodes/10075713'
2024-01-15 21:50:31,141 - 7fb6ce96eb38 - Downloaded URL 'https://api.thetvdb.com/episodes/10075713'
2024-01-15 21:50:31,149 - 7fb6ce96eb38 - Requesting 'https://api.thetvdb.com/episodes/10075714'
2024-01-15 21:50:31,227 - 7fb6ce96eb38 - Downloaded URL 'https://api.thetvdb.com/episodes/10075714'
2024-01-15 21:50:31,249 - 7fb6ce96eb38 - Requesting 'https://api.thetvdb.com/episodes/10075715'
2024-01-15 21:50:31,328 - 7fb6ce96eb38 - Downloaded URL 'https://api.thetvdb.com/episodes/10075715'
2024-01-15 21:50:31,336 - 7fb6ce96eb38 - Requesting 'https://api.thetvdb.com/episodes/10075716'
2024-01-15 21:50:31,415 - 7fb6ce96eb38 - Downloaded URL 'https://api.thetvdb.com/episodes/10075716'
2024-01-15 21:50:31,456 - 7fb6ce96eb38 - Requesting 'https://api.thetvdb.com/episodes/10075717'
2024-01-15 21:50:31,538 - 7fb6ce96eb38 - Downloaded URL 'https://api.thetvdb.com/episodes/10075717'
2024-01-15 21:50:31,546 - 7fb6ce96eb38 - Requesting 'https://api.thetvdb.com/episodes/10075718'
2024-01-15 21:50:31,629 - 7fb6ce96eb38 - Downloaded URL 'https://api.thetvdb.com/episodes/10075718'
2024-01-15 21:50:31,638 - 7fb6ce96eb38 - Requesting 'https://api.thetvdb.com/episodes/10075720'
2024-01-15 21:50:31,700 - 7fb6ce96eb38 - Downloaded URL 'https://api.thetvdb.com/episodes/10075720'
2024-01-15 21:50:31,710 - 7fb6ce96eb38 - Fetching 'https://api.thetvdb.com/series/405920/images' from the HTTP cache
2024-01-15 21:50:31,717 - 7fb6ce96eb38 - Downloaded URL 'https://api.thetvdb.com/series/405920/images'
2024-01-15 21:50:31,736 - 7fb6ce96eb38 - Fetching 'https://api.thetvdb.com/series/405920/images/query?keyType=series' from the HTTP cache
2024-01-15 21:50:31,744 - 7fb6ce96eb38 - Downloaded URL 'https://api.thetvdb.com/series/405920/images/query?keyType=series'
2024-01-15 21:50:31,753 - 7fb6ce96eb38 - Fetching 'https://api.thetvdb.com/series/405920/images/query?keyType=season' from the HTTP cache
2024-01-15 21:50:31,760 - 7fb6ce96eb38 - Downloaded URL 'https://api.thetvdb.com/series/405920/images/query?keyType=season'
2024-01-15 21:50:32,438 - 7fb6ce96eb38 - Serializing to /var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Metadata/TV Shows/5/a4df306b8ef4ae9deafa939929e4a2f534be4f4.bundle/Contents/com.plexapp.agents.hama/Info.xml
Using these example series, I also noticed the .agent-update.log
file for One Piece is considerably smaller (4kb) than for Spy x Family (129kb), the One Piece file doesn't contain any AniDB data at all, and is missing the End
timestamp at the end of file, which leads me to assume it isn't being properly created. I've attached them both for reference:
One Piece [anidb-69].agent-update.log
Spy x Family Part 3 [anidb-17784-e-25].agent-update.log
So I am stumped on what has happened between 2024-01-13 and 2024-01-15 that could be causing this. I've tried installing the latest version of ASS/HAMA and removing all Plex/HAMA logs without any luck, so I am open to any suggestions.
Thanks.
Hey @doolydooly, I can see the same type of problem with a tvdb-4 config. Not sure exactly why, it seems that the ID of the episode couldn't be found somehow. I am expecting info coming from here : https://api.thetvdb.com/episodes/10208162. I also tried removing / reinstalling HAMA / ASS without any luck.
2024-01-21 17:40:23,950 - 7f434ba80b38 - Serializing to /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Metadata/TV Shows/2/e3d12ca4cf39bc1d7313c7618dd21a7e4b6b00c.bundle/Contents/com.plexapp.agents.hama/Info.xml
2024-01-21 17:40:23,951 - 7f434ba80b38 - Sending packed state data (104 bytes)
2024-01-21 17:40:23,951 - 7f434ba80b38 - Response: [200] str, 16 bytes
2024-01-21 17:40:36,450 - 7f434bcc7b38 - Handling request GET /:/plugins/com.plexapp.agents.hama/messaging/function/X0FnZW50S2l0OlVwZGF0ZU1ldGFkYXRh/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMTAKczIKZnJzNApsYW5nYjFzNQpmb3JjZWIwczgKcGVyaW9kaWNzNQoxODAxN3M0CmRiaWRpMApzNwp2ZXJzaW9uczQ4CmNvbS5wbGV4YXBwLmFnZW50cy5oYW1hOi8vdHZkYjQtODE3OTcvMjY%40bGFuZz1mcnMxMApwYXJlbnRHVUlEczUKMTc4MTRzOApwYXJlbnRJRHM3ClRWX1Nob3dzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMuaGFtYTovL3R2ZGI0LTgxNzk3LzI2LzEwODk%40bGFuZz1mcnM0Cmd1aWRzMTEKdHZkYjQtODE3OTdzMgppZHIwCg__
2024-01-21 17:40:36,451 - 7f434bcc7b38 - Received packed state data (80 bytes)
2024-01-21 17:40:36,452 - 7f434bcc7b38 - Found route matching /:/plugins/com.plexapp.agents.hama/messaging/function/X0FnZW50S2l0OlVwZGF0ZU1ldGFkYXRh/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMTAKczIKZnJzNApsYW5nYjFzNQpmb3JjZWIwczgKcGVyaW9kaWNzNQoxODAxN3M0CmRiaWRpMApzNwp2ZXJzaW9uczQ4CmNvbS5wbGV4YXBwLmFnZW50cy5oYW1hOi8vdHZkYjQtODE3OTcvMjY@bGFuZz1mcnMxMApwYXJlbnRHVUlEczUKMTc4MTRzOApwYXJlbnRJRHM3ClRWX1Nob3dzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMuaGFtYTovL3R2ZGI0LTgxNzk3LzI2LzEwODk@bGFuZz1mcnM0Cmd1aWRzMTEKdHZkYjQtODE3OTdzMgppZHIwCg__
2024-01-21 17:40:36,453 - 7f434bcc7b38 - Loading model with GUID com.plexapp.agents.hama://tvdb4-81797/26/1089?lang=fr
2024-01-21 17:40:36,453 - 7f434bcc7b38 - Deserializing from /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Metadata/TV Shows/2/e3d12ca4cf39bc1d7313c7618dd21a7e4b6b00c.bundle/Contents/com.plexapp.agents.hama/Info.xml
2024-01-21 17:40:36,454 - 7f434bcc7b38 - Requesting 'http://localhost:32400/library/metadata/18017/tree'
2024-01-21 17:40:36,464 - 7f434bcc7b38 - Requesting 'http://localhost:32400/library/sections/'
2024-01-21 17:40:36,467 - 7f434bcc7b38 - Libraries:
2024-01-21 17:40:36,468 - 7f434bcc7b38 - [x] id: 1, type: show , agent: com.plexapp.agents.hama , scanner: Absolute Series Scanner , library: Animes , path: /share/CACHEDEV2_DATA/Plex/Animes
2024-01-21 17:40:36,469 - 7f434bcc7b38 - ==== common.PlexLog(file="/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Plug-in Support/Data/com.plexapp.agents.hama/DataItems/_Logs/_unknown_folder.agent-update.log")
2024-01-21 17:40:36,470 - 7f434bcc7b38 - Requesting 'http://localhost:32400/library/sections/'
2024-01-21 17:40:36,473 - 7f434bcc7b38 - Libraries:
2024-01-21 17:40:36,473 - 7f434bcc7b38 - [x] id: 1, type: show , agent: com.plexapp.agents.hama , scanner: Absolute Series Scanner , library: Animes , path: /share/CACHEDEV2_DATA/Plex/Animes
2024-01-21 17:40:36,484 - 7f434bcc7b38 - Exception in the update function of agent named 'HamaTV', called with guid 'com.plexapp.agents.hama://tvdb4-81797/26/1089?lang=fr' (most recent call last):
File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-fb6452ebf/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1093, in _update
agent.update(obj, media, lang, **kwargs)
File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Plug-ins/Hama.bundle/Contents/Code/__init__.py", line 166, in update
def update (self, metadata, media, lang, force ): Update (metadata, media, lang, force, False)
File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Plug-ins/Hama.bundle/Contents/Code/__init__.py", line 138, in Update
dict_AnimeLists, AniDBid, TVDBid, TMDbid, IMDbid, mappingList = AnimeLists.GetMetadata(media, movie, error_log, metadata.id)
File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Plug-ins/Hama.bundle/Contents/Code/AnimeLists.py", line 182, in GetMetadata
Log.Info('"anime-list TVDBid missing.htm" log added as tvdb serie id missing in mapping file: "{}"'.format(TVDBid))
TypeError: int() argument must be a string or a number, not 'NoneType'
It seems the tvdbid is None, and could not be located. Please check the animelist xml cache in agent data folder for corruption
Here's an excerpt from anime-list-master.xml
, it seems to be ok, the ID given (81797) is correct on TVDB side
<anime anidbid="69" tvdbid="81797" defaulttvdbseason="a" episodeoffset="" tmdbid="" imdbid="">
<name>One Piece</name>
<mapping-list>
<mapping anidbseason="0" tvdbseason="0">;1-27;2-3;3-9;4-10;5-14;6-0;7-0;8-0;9-0;10-0;11-0;12-0;13-0;14-0;15-0;16-31;17-23;18-24;19-28;20-29;21-30;22-0;23-32;24-34;25-0;26-36;27-37;28-40;29-41;30-42;31-43;32-44;33-45</mapping>
<mapping anidbseason="1" tvdbseason="2" start="9" end="30" offset="-8"/>
<mapping anidbseason="1" tvdbseason="3" start="31" end="47" offset="-30"/>
<mapping anidbseason="1" tvdbseason="4" start="48" end="60" offset="-47"/>
<mapping anidbseason="1" tvdbseason="5" start="61" end="69" offset="-60"/>
<mapping anidbseason="1" tvdbseason="6" start="70" end="91" offset="-69"/>
<mapping anidbseason="1" tvdbseason="7" start="92" end="130" offset="-91"/>
<mapping anidbseason="1" tvdbseason="8" start="131" end="143" offset="-130"/>
<mapping anidbseason="1" tvdbseason="9" start="144" end="195" offset="-143"/>
<mapping anidbseason="1" tvdbseason="10" start="196" end="226" offset="-195"/>
<mapping anidbseason="1" tvdbseason="11" start="227" end="325" offset="-226"/>
<mapping anidbseason="1" tvdbseason="12" start="326" end="381" offset="-325"/>
<mapping anidbseason="1" tvdbseason="13" start="382" end="481" offset="-381"/>
<mapping anidbseason="1" tvdbseason="14" start="482" end="516" offset="-481"/>
<mapping anidbseason="1" tvdbseason="15" start="517" end="578" offset="-516"/>
<mapping anidbseason="1" tvdbseason="16" start="579" end="628" offset="-578"/>
<mapping anidbseason="1" tvdbseason="17" start="629" end="746" offset="-628"/>
<mapping anidbseason="1" tvdbseason="18" start="747" end="779" offset="-746"/>
<mapping anidbseason="1" tvdbseason="19" start="780" end="877" offset="-779"/>
<mapping anidbseason="1" tvdbseason="20" start="878" end="891" offset="-877"/>
<mapping anidbseason="1" tvdbseason="21" start="892" end="1085" offset="-891"/>
<mapping anidbseason="1" tvdbseason="22" start="1086" offset="-1085"/>
</mapping-list>
</anime>
I've also attached the file for reference (saved as TXT since it won't accept XML upload)
anime-list-master.txt
I am having the same exact issue. Completely started my Plex server from scratch and reinstalled ASS/HamaTV to no luck. It is exclusively a problem for One Piece from my testing.
Someone else has reported this issue on Reddit:
https://old.reddit.com/r/PleX/comments/199iref/one_piece_metadata_once_again/
These issues seem related:
https://old.reddit.com/r/PleX/comments/1adxjrf/one_piece_specials_getting_wrong_metadata/
https://old.reddit.com/r/PleX/comments/1ae2byl/one_piece_specials_showing_wrong_name_despite/
Hello,
I also got the same issue and after some digging I found the issue came from https://github.com/ZeroQI/Hama.bundle/blob/master/Contents/Code/AnimeLists.py#L161
The variable end
is actually None
(Issue seems to be from the ending of a season).
And replacing int(end)
with int(end or '0')
fix the issue on my side. After this code changes, I refreshed metadata at least twice for the change to take effect and the metadata to be fetched.
Hi Gin-san, very well spotted, it does explain the behaviour exactly
@doolydooly @BenjaminOddou @MrBringus Does this fixes it for you as well ?
@ZeroQI
I made the change on my side and everything works perfectly now.
Thanks everyone for your assistance on this.
@ZeroQI
I also made the change and it works great ! Thank you everyone ๐.
Thanks again Gin-san!