Closed colelisiongaming closed 2 years ago
https://forums.plex.tv/t/rel-http-anidb-metadata-agent-hama/40470/2078 Looks like others are having this issue as of recent
redownloaded hama and deleted logs when I go to fix match typing in anything yields no results
root.agent.log Dr Stone [anidb-14491].agent-search.log Dr Stone [anidb-14491].agent-update.log Fire Force S01 1080p Dual Audio BDRip 10 bits DD x265-EMBER [anidb-14488].agent-search.log com.plexapp.agents.hama.log com.plexapp.system.log Fire Force S01 1080p Dual Audio BDRip 10 bits DD x265-EMBER [anidb-14488].agent-update.log NANA[anidb-4143].agent-search.log NANA[anidb-4143].agent-update.log [AnimeRG] Future Diary (Mirai Nikki) Complete Series & OVAs [DUAL-AUDIO] [BD] [1080p] [x265] [pseudo].agent-search.log
com.plexapp.agents.hama.log
for element in AniDBTitlesDB.xpath(u"/animetitles/anime/title[text()[contains(lower-case(.), '%s')]]" % orig_title.lower().replace("'", " ")):
AttributeError: 'str' object has no attribute 'xpath'
That means AniDBTitlesDB is a string (str), possibly "". The forced ID part did work OK since it needs no database, but this is the agent base for searching title, the will not function at all like this.
2021-09-26 13:58:31,081 (261c) : DEBUG (sandbox:19) - common.LoadFile() - File cached locally - Filename: AnimeLists\anime-list-master.xml, Age: '0.01 days', Limit: '6 days', url: 'https://raw.githubusercontent.com/Anime-Lists/anime-lists/master/anime-list-master.xml'
2021-09-26 13:58:31,084 (261c) : INFO (sandbox:19) - Entries loaded: 13712, File: https://raw.githubusercontent.com/Anime-Lists/anime-lists/master/anime-list-master.xml
Logs looks good above, but the AniDBTitlesDB should be an XML object, so please check in agent data folder "AnimeLists\anime-list-master.xml" and see the size and if a proper XML file or compressed in some way Its size should be 2.18 MB (2,296,253 bytes), if different, place an uncompressed copy in its place, can be found 'https://raw.githubusercontent.com/Anime-Lists/anime-lists/master/anime-list-master.xml'
I actually just did a fresh wipe of plex and the media server I will update this if the issue persists!
all i know is that the xml didn't load as expected, so if it persists, you're not the only one impacted
On my new file it is 2.18 and hama seems to be functioning ok, metadata is taking awhile but moving along! I had some other questions regarding operation do you have a discord I can reach you at or do you prefer here?
com.plexapp.agents.hama.log Here is a updated one
Ive got some weirdness from kizumonogatari The 3 episodes in it are from bakemonogatari the metadata is all messed up and refresh doesnt work other seasons seem to be affected in the same way
Edit: it would appear all my shows are having the issue
If it is a use case query, the plex forum would be more adequate to ask, as some users have passed quite some time on monogatari series which is single handledly the worst to number episode for due to its complexity
First check the unique id assigned is correct in *.search.log. By season you mean series ? if using season numbers, you have to stick to TheTVDB... Without the scanner log and the series log and season and episode number and fields affected, it is not possible to answer
Development note: Has this API changed again? https://atarashii.fribbtastic.net/web/2.1/anime/20899
So basically I will have a show let's say jojos part 3 that I will force with [anidb-10206] but plex has the episode names and thumbnails of [anidb-9304] it's completely mixed up. Most shows that worked before I reset my Plex are displaying wrong even if I refresh Metadata or type fix match
A few photos to show what is going some episodes have correct names and thumbnails while some don't it just seems very random
Data will come from BOTH AniDB and TheTVDB even if you force the AniDB ID as it is crossed-referenced through the XML
Mapping seem wrong, since AniDB ID 10206 should be mapped to the same ep number in season 2 for ep 1-24 and 25+ season 2 for AniDB ID 10835 according https://github.com/Anime-Lists/anime-lists/blob/master/anime-list-master.xml:
<anime anidbid="**10206**" tvdbid="262954" defaulttvdbseason="**2**" episodeoffset="" tmdbid="" imdbid="">
<name>JoJo no Kimyou na Bouken: Stardust Crusaders</name>
</anime>
<anime anidbid="**10835**" tvdbid="262954" defaulttvdbseason="**2**" episodeoffset="**24**" tmdbid="" imdbid="">
<name>JoJo no Kimyou na Bouken: Stardust Crusaders (2015)</name>
</anime>
Insread, they are mapped to season 4: https://www.thetvdb.com/series/jojos-bizarre-adventure-2012/seasons/official/4
The custom series log shows for each field which metadata source provided the data, the metadata souce order, the mapping used, so you should check that first, and attach said log
I will not reproduce any issue for anybody as i do NOT use Plex anymore. Issues reported need adequate logs, i can't solve it without it. Furthermore Plex are deprecating Python and pluging (New libraries don't use python anymore), and 1st of October TheTVDB API will stop
Right now the numbering is wrong for ep 25-27 as the AniDB ID you forced show 24 episodes only for that series [https://anidb.net/anime/10206]
Oh sorry the screenshots were of 3 different seasons the one I sent that goes over 27 is diamond is unbreakable. I'll go fetch the logs now
Here is one last example using kizumonogatari while I fetch you logs included pictures of the files too
Jojo part 3 [inid4cFix + SFX Ver.2] JoJo's Bizarre Adventure - Stardust Crusaders Arc 1 (Blu-Ray 1080p x265 FLAC)[anidb-10206].agent-update.log [inid4cFix + SFX Ver.2] JoJo's Bizarre Adventure - Stardust Crusaders Arc 1 (Blu-Ray 1080p x265 FLAC)[anidb-10206].agent-search.log
jojo Diamond is unbreakable [inid4cFix + SFX Ver.2] JoJo's Bizarre Adventure - Diamond is Unbreakable (Blu-Ray 1080p x265 FLAC)[anidb-11734].agent-update.log [inid4cFix + SFX Ver.2] JoJo's Bizarre Adventure - Diamond is Unbreakable (Blu-Ray 1080p x265 FLAC)[anidb-11734].agent-search.log
Let's focus on jojo part 3 for the moment
Since metadata source order for ep tites is "TheTVDB, AniDB", and s01e01 from AniDB maps to TheTVDB S02e01, title will be "A Man Possessed by an Evil Spirit" , like it is for AniDB, which seem correct
[X] s1e1 **s01e001** anidbid: xxxxxxx air_date: 2012-10-06 abs_number: 1, title: Dio the Invader
[X] s2e1 **s01e001** anidbid: 10206 air_date: 2014-04-05 abs_number: 27, title: **A Man Possessed by an Evil Spirit**
https://www.thetvdb.com/series/jojos-bizarre-adventure-2012/seasons/official/2 https://anidb.net/anime/10206
For jojo part 3, which episodes number have wrong title according you, and what should be the title ?
Jojo only has incorrect thumbnails while monogatari has incorrect episode names and thumbnails
Platform
Operating system and version: Windows 10 Plex version: 4.63.0
Expected Behavior
Should Give me show poster, correct title, and episode names.
Current Behavior
Blank poster, Title with [anidb-####] at the end of title name in plex, and episodes have no names.
Steps to Reproduce
Additional information