Absolute Series Scanner (for anime mainly)

Well, the amount of matches sky rocketed. Props to you.

edit: minor issue with the posters but big improvement. Thank you

@Auch posters are all added. Changing the order just change the default active poster. Just Added code for TheTVDB posters. If you go to thetvdb, and see posters you don’t have, check the language assign and add it to The agent Thetvdb poster language priority and let me know

For that setting I only have “en”.
Btw what does it mean x-jat? (I see in other settings)

For example, for “Those who hunt elves” I have no posters, but in TvDB there are three. All three have language as english, so I suppose the configuration I have now should work?

I do have most of the shows with posters btw, only some are missing. I seem to have less posters to choose from though. The option “Fetch a single picture” is on, is this related to posters?

Have a weird issue with this entry: https://anidb.net/perl-bin/animedb.pl?show=anime&aid=6017
Name is exactly the same but it doesnt match.

Same for this: https://anidb.net/perl-bin/animedb.pl?show=anime&aid=178
Picks fine the prequel (Vandred - The First Stage) but no matches at all for the second. I think its weird because the names are identical

Further changed the title cleansing for search function

  • x-jat is romaji, the anidb serie and episode main tiitle in japanese written with roman alphabet
  • “Fetch a single picture” downloads one image from the first metadata source and that’s it.
    i did add “Those who hunt elves” and got 3 posters from anidb: Posters : 3/3, Season posters: 3/3, Art: 4/4 so un-tick “Fetch a single picture” if you want all posters


Yep, unticking did it.
I also changed my title preference to en and it solved some of the minor miss matches I still had, and I actually prefer to have the titles matching the posters (plus me understanding it).

Really appreciate your support on this. Great plugins

Hey I’m trying to get Tales of Zestiria the X to scan in properly,. Whenever I scan the folder, it doesn’t read the prologue episode (episode 0), and starts at episode 1. Did I do something wrong with naming the files, and is there something I can do to fix it?

Let’s consider single season, so AniDB numbering (source: https://anidb.net/perl-bin/animedb.pl?show=anime&aid=11273)
You have to number it ep 1 to 13 with prologue being episode 1. Episode 0 doesn’t really exist in plex, it could be a special (so season 0 episode 1 for example if AniDB would have listed it as S1 [S for Special])

The read-me has all the information including logs location, and a link for donation, especially recommended for post not including logs so for which the read-me wasn’t followed.

I did read the read me (that’s how I got here), and none of it helped which is why I came here to see if anyone else had a similar issue. I saw that a while back there were issues with Tales of Zestiria that were fixed, which is why I asked at all. I didn’t include logs because the read me doesn’t specify to include logs unless it’s about the scanner crashing. At least that’s the way I interpreted it. That’s my bad. Sorry.

I already had the prologue episode labeled as episode 1, but it still started the titles at the actual episode 1 (which is episode 2 I guess), and it titles episode 13 as the first episode of season 2, which would be episode 14 if you’re numbering it like that.

Since my last post, I decided that if the scanner wants to label episode 13 as episode 14, then I may as well throw all 26 episodes into one folder and number them 01-26 and see what happens. What happened was interesting. It properly labels the prologue now, but it still treats episode 13 as though it’s episode 14 (completely skipping the ep 13 title), and doesn’t label episode 26 as anything. (see this image)

I’ve included some logs below.
root.agent-update.log (115.4 KB)
root.agent-search.log (1.3 KB)
Plex Media Scanner.log (284.0 KB)

If I had to guess why, and by that I mean I have no idea at all

The agent-update.log shows that the prologue is considered s0e2, (a special), but it’s also s01e01 (episode 1 of season 1?). Then for the episode 13 issue, it seems that Episode 13 is s1e13, and episode 14 is s1e14, but both are labeled s01e013. Could that cause one to overwrite the other? Also, it seems tvdb only has episode titles up to 25 (it considers the prologue to be a special) which could be why it has no title for episode 26

i cannot reproduce your setup as i do not the folder filelist

You are not giving me which numbering (TheTVDB or AniDB) you are following.

Please name your series folder “Tales of Zestiria [tvdb-311014]” and number the prologue s00e02 or Specials/02 prologue.ext and all other eps 1-25 as per thetvdb numbering: https://www.thetvdb.com/series/tales-of-zestiria-the-x/seasons/1

If neither AniDB nor TheTVDB have any episode 26, i don’t see how you can reasonably expect it to match. That’s all Hama does, cross reference with an xml anidb to thetvdb episodes and guess skillfully which numbering you use (anidb unless muliple seasons or thetvdb id forced)

Setting it up as you describe works, though I would prefer for the series to be all in one season, so I thought anidb2 would work for me. I placed the first season in a folder called “Tales of Zestiria Season 1 [anidb2-112730” and I placed season 2 in a folder called “Tales of Zestiria Season 2 [anidb2-12256]” to see if that would work.

It seems however that since anidb considers the prologue episode to be episode 1, and tvdb considers it to be a special, it doesn’t work properly. Having them in separate folders while forcing anidb for each season names them properly, though it splits them into two separate entries entirely, but as soon as anidb2 is used and it references tvdb, it consolidates everything under one entry, but still splits the first episode into a special. I don’t think this has anything to do with the scanner, but the conflicting orders with anidb and tvdb I suppose I’ll just leave them separate for now. that seems to be as close to ideal as I can get it. Thanks for the help.

anidb2 display AniDB numbered series as if it was TVDB numbered on disk so no different than the way i described while displaying, just different on disk


  • 112730 doesn’t exist, but 11273 does

I think you want a mix that do not exist:, as you want something different from both AniDB and TheTVDB and you have to choose a metadata source for numbering,

  • two separate anidb series (anidb numbering)
  • 1 tvdb series (tvdb numbering) with s00e02 for prologue
  • put the s00e26 ep at s01e26 instead of s00e02 and do a custom mapping file to get anidb meta on it
  • use an inexistent tvdbid and make your own mapping file without tvdb meta
  • use an inexistant anidbid, do your own custom mapping file without anidb meta to show ep 1-26 without specials

Plex Media Server\Plug-in Support\Data\com.plexapp.agents.hama\DataItems\AnimeLists\anime-list-corrections.xml

<?xml version="1.0" encoding="utf-8"?>
<anime-list>
  <anime anidbid="11273" tvdbid="311014" defaulttvdbseason="1" episodeoffset="" tmdbid="" imdbid="">
    <name>Tales of Zestiria the Cross</name>
    <mapping-list>
      <mapping anidbseason="1" tvdbseason="1">;1-26;</mapping>
      <mapping anidbseason="1" tvdbseason="1" start="2" end="13" offset="-1"/>
    </mapping-list>
  </anime>
  <anime anidbid="12256" tvdbid="311014" defaulttvdbseason="1" episodeoffset="12" tmdbid="" imdbid="">
    <name>Tales of Zestiria the Cross (2017)</name>
  </anime>
</anime-list>

FOr some reason HAMA is not recognizing the movie Akira. Any thoughts on how to remedy this, everything else is being picked up.

@whywilson What do you mean? You have a scanner and an agent and you ask why the agent is not recognizing a movie on the scanner thread? so i gues you are using a Series library with a movie, did you follow the convention advised in the scanner readme for movies ?

  • is it not showing (scanner issue hence scanner logs needed)
  • is it showing but not assigned or assigned to wrong series (agent issue hence scanner search logs needed)
  • is it assigned the right series but not updating (scanner update logs needed) ?

You have probably a naming issue but didn’t gave the path so cannot reproduce,
I created Akira>Akira.mkv and it is picked up.

I have HAMA/ Series Scanner set up. Akira is in it’s own movie folder (Akira> Akira)

And yeah it’s not even populating in the library.

Then it is a scanner issue
I need Plex scanner logs and my scanner generated logs, location in the scanner readme

Well I played around more with it and for the most part both the scanner/ HAMA are working well. Sometimes it just doesn’t pick something up because it either likes or doesn’t like the folder location I have it in.

Please give the different path it doesn’t like, as the scanner should handle better than default scanner and add the series with the right title, and episodes in right season at the correct episode number. Issues are generally reproducible just with the path

@ZeroQI

Hi Zero do you have any idea why I can get the scanner to pickup one youtube subfolder but not another even though both have same directory structure and the first folder scans fine. I have been through all logs and am at a complete loss? My plex scanner log is here: https://pastebin.com/vSJUFmvB

I cant get anything inside the “Tested” folder to show up in Plex at all but everything from the “Cocomelon - Nursery Rhymes” folder shows up and pulls youtube metadata no problem.

My directory structure is like this

Media
–Youtube

----Cocomelon - Nursery Rhymes

------Color Songs [PLT1rvk7Trkw4_iqrdGPt_oan15oA1_3cL]
--------Color Songs - S01E1 - Color Songs Collection _ Red, Orange, Yellow, Green, Blue, Purple, Pink - Cocomelon (ABCkidTV) [LWtonKSWzF0]
--------Color Songs - S01E2 - Color Song - Red _ Cocomelon (ABCkidTV) Nursery Rhymes & Kids Songs [sP9yiM1htqQ]

------Finger Family Songs [PLT1rvk7Trkw6dKQ_e0lgcKK93zy8dG3IV]
--------Finger Family Songs - S01E01 - Finger Family Vehicles (2D) _ +More Nursery Rhymes & Kids Songs - Cocomelon (ABCkidTV) [-QIAvKjNgDY]
--------Finger Family Songs - S01E02 - Finger Family Farm Animals (2D) _ Cocomelon (ABCkidTV) Nursery Rhymes & Kids Songs [MaHWFODvtfU]

----Tested
------Inside Adam’s Cave [PLJtitKU0CAehsdcybehbPFHObmWsKtQcY]
--------Inside Adam’s Cave - S01E01 - Last Call for Adam’s One Day Builds T-Shirt! [GEhBPI2QVBI]
--------Inside Adam’s Cave - S01E02 - Adam Savage’s One Day Builds - Kit-Bashing a Robot! [QCBcWm85gWo]

Thank you for your help and you plugins, Much Appreciated.

it scans fine (show up it plex) but do not get metadata. i can see an error in the agent log.
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters. This in an agent issue but i disabled all and still give the error after the last update() call so makes no sense to me

Thats what is weird I cant even get to the point where I see an agent log being generated for the youtube agent. Thats why i assumed it wasnt even getting to the agent yet and was stuck on the scanner part??