Absolute Series Scanner (for anime mainly)

@ZeroQI I have just tried to rescan my anime library but nothing has changed in my plex.

When you say “take it locally” what do you mean? I didn’t create a local file that’s correct, But I believe that Plex did pull down the XML from the github page. Just nothing in my Plex is showing up as changed. Although in my Plex log somethings definitely changed.

In my logs it shows that seasons were made for Naruto Shippuden but it did not appear as changed in my Plex. I rescanned and exited out of Plex and reopened it, but nothing changed.

I deleted the old scanner logs but I kept a backup of the logs, I’ll include the new logs and the old logs as well. The old logs being from today up until 7:30 pm with their latest updates from what you added to your XML file.

Dragon Ball Gt
Dragon Ball Super
Dragon Ball Z
Naurto Shippuden
One Piece

The ones added to the XML list that was just amended do not sort correctly, As for the original Naruto, That does not show up at all.

Good news! ASS is working again with the latest version of Plex Media Server for Windows :slight_smile:

@Reaper 1610 thanks for the info, i didn’t know how to fix this from scanner side
@TrixR4K1ds you have to re-create the library. The scanner doesn’t re-run for the folders that haven’t changed as the season and ep number is not supposed to change, that is why it is so fast when coded properly (the alpha version did scan all every time but was slower and more buggy)… That’s the issue with developing a scanner had to re-create the library every time i did changes…

@ZeroQI said:
@Reaper 1610 thanks for the info, i didn’t know how to fix this from scanner side
@TrixR4K1ds you have to re-create the library. The scanner doesn’t re-run for the folders that haven’t changed as the season and ep number is not supposed to change, that is why it is so fast when coded properly (the alpha version did scan all every time but was slower and more buggy)… That’s the issue with developing a scanner had to re-create the library every time i did changes…

I deleted and readded my anime library but it did not add the seasons to the anime I listed, If anything it actually changed one of the anime series.

Dragon Ball was sorted correctly but now its back to being in one season. Everything I listed to change in my post is still listed as one giant season 1.

Its also taken hours just to scan the anime library that I readded. I’m not sure if that’s normal.

INFO - TVDB season mode (4) enabled, serie url: ‘http://rawgit.com/ZeroQI/Absolute-Series-Scanner/master/tvdb4.mapping.xml
ERROR - Error opening remote tvdb4.mapping, Exception: ‘xmlParseEntityRef: no name, line 122, column 44’’

http://rawgit.com/ZeroQI/Absolute-Series-Scanner/master/tvdb4.mapping.xml
This page contains the following errors: error on line 122 at column 44: xmlParseEntityRef: no name

found a - not replaced with | the line before the error mentionned
found a & at specified location

Alright, So what should I do? I don’t know what I should do with the information you just gave.

Try again please and paste same logs if still fails

Sorry for the late response, I actually had to reinstall my windows 7, I got plex back up and working, I got the scanner and HAMA downloaded so now I can provide logs.

On a side note, I edited the XML file for TVDB4 on Github.

Here are my logs, I seem to have a problem with One Piece and Dragon Ball Z, These 2 still show up as one giant season. Naurto Shippuden comes up with 18 seasons, and season 18 has 252 episodes so I think that something went wrong somewhere.

Here are my logs, There is also something wrong with Naruto, Until the commit I did gets passed for the Naruto edit I don’t think the problem will be fixed.

I think at least the Naruto problem I fixed will fix my problem.

Also, I’m not sure if this is needed but if this needs to be added to the TVDB4 for Bleach then here it is.

01|001|020|Agent of the Shinigami Arc 02|021|041|Soul Society: The Sneak Entry Arc 03|042|063|Soul Society: The Rescue Arc 04|064|091|The Bount Arc 05|092|109|Bount Assault on Soul Society Arc 06|110|131|Arrancar: The Arrival Arc 07|132|151|Arrancar: The Hueco Mundo Sneak Entry Arc 08|152|167|Arrancar: The Fierce Fight 09|168|189|The New Captain Shūsuke Amagai arc 10|190|205|Arrancar vs. Shinigami Arc 11|206|212|The Past Arc 12|213|229|Arrancar: Decisive Battle of Karakura Arc 13|230|265|Zanpakutō: The Alternate Tale Arc 14|266|316|Arrancar: Downfall Arc 15|317|342|Gotei 13 Invading Army Arc 16|343|366|Lost Agent Arc

@xXShiina (you i believe) removed a space "79624 " for naruto shippudden and changed tvdbid for naruto
Added bleach to https://github.com/ZeroQI/Absolute-Series-Scanner/blob/master/tvdb4.mapping.xml
Replaced hyphen in:

  • 04|093-130|Arrival and Fierce Fighting at Alabasta
  • 04|108-139|Garlic Jr., Trunks and Androids Sagas
  • 06|166-194|Cell Games Saga
    This probably explains the issues

If you created a “tvdb.mapping” file inside each serie folder with the mapping format you gave me above (example below), It would work and you could just attach them in one go and i would put them in the database…
01|001|012|Vampire Reign
02|013|024|Battle in Nagoya

Just a question, Is a “tvdb.mapping” file an xml file? If so can I just make it in Notepad++?

I have no idea how to make a mapping file, Please explain to me. Is it something like this? Then I just save it as a normal .txt file?

<?xml version="1.0" encoding="utf-8"?> <tvdb4entries> <anime tvdbid="[tvdbid]" name="[Series Name]" note="Example entry for complete series"> [ 0Num]|[First Ep Num]|[Last Ep Num]|[ 0Name] [ 0Num]|[First Ep Num]|[Last Ep Num]|[ 0Name] </anime> <anime tvdbid="[tvdbid]" name="[Series Name]" note="Example entry for ongoing series"> [ 0Num]|[First Ep Num]|[Last Ep Num]|[ 0Name] [ 0Num]|[First Ep Num]|[First Ep Num]|[ 0Name] (unknown length) </anime> <anime tvdbid="295068" name="Dragon Ball Super"> 01|001|014|Battle of Gods Arc 02|015|027|Resurrection 'F' Arc 03|028|041|Universe 6 Arc 04|042|042|Future Trunks Arc (Still airing) </anime> </tvdb4entries>

Create “Dragon Ball Super/tvdb.mapping” with notepadd++ or notepad even then paste the following inside:
01|001|014|Battle of Gods Arc
02|015|027|Resurrection ‘F’ Arc
03|028|041|Universe 6 Arc
04|042|042|Future Trunks Arc (Still airing)
If basically a line per arc, we only use xml on hte online file because we had to due to the multiple series and use this format because it was so simple. If you give me mappings, i will had them to the online file because there’s not that many series that are long runnig and have arc

So its just a mapping file? Like DragonBallSuper.Mapping? Something like this?

I made a file in notepadd++ and put:

01|001|014|Battle of Gods Arc
02|015|027|Resurrection 'F' Arc
03|028|041|Universe 6 Arc
04|042|042|Future Trunks Arc (Still airing)

But what came out on my Plex was still one giant season, Do I need to keep the name of the folder like “[tvdb-295068]” or can I remove that?

Naurto Shippiden comes up like this

Here are my logs.

Just a quick question, will this scanner paired with HAMA work for anime movies also?

Yes it support movies in series library.
Please read both agent and scanner readme.
Nsme it “Dragon Ball Super/tvdb.mapping” in your case. Filename is ‘tvdb.mapping’…
You can remove the tvdb4 id forcing from the title…

I should of been more clear in my question about the HAMA and scanner working for movies, Sorry.
What I mean is, Can I put the ASS scanner in a folder named “Movies” in:

/Plex Media Server/Scanners/Movies/Absolute Series Scanner.py

and it will it still work with HAMA?

Also sorry for not understanding, When I go to save the file “Dragon Ball Super/tvdb.mapping” Notepad++ wont let me save it due to the “”. So I just named it “tvdb.mapping” I should do this for all the series that I want for arcs to appear correct? So I should name other files like “tvdb.mapping1”, “tvdb.mapping2”, ect…

No. It’s a serie scanner that accept movies in series libraries, not a movie scanner. Plex scanner handles movies right to me.

Either you put a “tvdb.mapping” with the mapping inside one line per saga in your serie folder(so one file per serie) or use the online xml by putting a tvdb4 id force or put abs epps in your own season folders.

Alright, Thanks for clearing up my movie question.

As for the scanner and series, I don’t know what I’m doing wrong, But I have tested with doing stuff like this,

File name "tvdb.mapping01" with only the line of 01|001|014|Battle of Gods Arc inside of notepad++

File name "tvdb.mapping02" with only the line of 02|015|027|Resurrection 'F' Arc

File name "tvdb.mapping03" with only the line of 03|028|041|Universe 6 Arc

File name "tvdb.mapping04" with only the line of 04|042|042|Future Trunks Arc (Still airing)

I have also tried “tvdb.mapping” with:

01|001|014|Battle of Gods Arc
02|015|027|Resurrection 'F' Arc
03|028|041|Universe 6 Arc
04|042|042|Future Trunks Arc (Still airing)

But everything in Plex still ends up as one giant season.

To test more easily, I deleted my entire Anime folder in Plex and made a test folder only containing Dragon Ball Super, The test folder has been tested with the single lines as mentioned, and the one giant file containing all the seasons.

Just to clarify to test, I delete the test folder every time I add or edit a tvdb.mapping file. I also choose the series scanner and HAMA.

I put the mapping files in my Dragon Ball Super folder, Not the Folder that houses all my anime.




“tvdb.mapping” with:
01|001|014|Battle of Gods Arc
02|015|027|Resurrection ‘F’ Arc
03|028|041|Universe 6 Arc
04|042|042|Future Trunks Arc (Still airing)
Is the way. Give me logs with that

Sorry I forgot to give the logs, Here they are.

I included the logs from the tests that I did, if they help.

EDIT I just tried renaming my Dragon Ball Super folder to "Dragon Ball Super [tvdb4- 295068] but it still came up as one giant season. This was also in my test for Plex.