ZeroQI / Absolute-Series-Scanner

Seasons, absolute mode, Subfolders...
1.01k stars 155 forks source link

Help with long running series with multiple Anidb entries #203

Closed jcphilips closed 5 years ago

jcphilips commented 5 years ago

Ok so I have all episodes of Gintama in one folder named in absolute ordering. I was trying to use the scanner to seperate new anidb entry as a season in plex (using anidb3) but I don't know how to go about doing that because when I did it the first time it only got metadata for the first 201 episodes (i.e. the first season of gintama.) I'd really appreciate some guidance here because I don't really know what I'm doing.

ZeroQI commented 5 years ago

Scanner logs needed as per readme troubleshooting steps.

jcphilips commented 5 years ago

Plex Media Scanner.log Gintama.scanner.log Gintama.filelist.log

I couldn't find the library folder in DataItems (doesn't exist) so those logs are missing.

ZeroQI commented 5 years ago

I can see both your season numbering and your absolute numbering in the same folder 30 minutes apart However the absolute numbering wasn't instructed to convert into seasons with tvdb2/tvdb3 or any absolute arrangement with tvdb4 mode... "No forced id found in series folder name nor id file"

It therefore use the anidbid by default and metadata won't gather for other seasons as the folder doesn't follow anidb numbering nor does it follow tvdb numbering neither and since there is a single season, the agent doesn't know it is in tvdb absolute numbering mode...

Why didn't you name the absolute folder:

sven-7 commented 5 years ago

If you don't like how TVDB has the seasons, which splits the first series of Gintama (201 episodes) into roughly 50 episode seasons, then you'll need to use an anidb mode or a custom tvdb4 file of your own.

jcphilips commented 5 years ago

I originally had the folder structured using tvdb's season structure but because of how irregular the naming is compared to the actual show it was a tad bit confusing (just like @sven-7 said) and decided to change it last night. At first I tried using the tvdb2 but then realised that wasn't how I actually wanted it to do. I tried the anidb modes and then got confused.

So from what I understand so far I can use anidb3 or anidb4 modes like I want with the episodes in absolute order but each new season will have to be in a new folder with the anidb season id tagged into the folder name (e.g. Gintama. (2018) [anidb3-13917]), or alternatively use custom mapping using the tvdb4 file. Is that correct?

ZeroQI commented 5 years ago

tvdb2 and tvdb3 create the season for you from the absolute numbering, but will use them as well if already created. tvdb4 take any arrangement but eps must stay with absolute numbering, but it will use the online tvdb4 mapping file that is meant to use seasons as sagas for long-running series anidb3 and 4 are recent additions putting anidb sereis (seasons) as seasons instead or relying on thetvdb.

I believe you are correct You can always follow strictly anidb numering and put all anidb sereis (seasons) in the same Plex colleciton...

sven-7 commented 5 years ago

Exactly. I have Gintama on tvdb3, but here is an anidb4 example with Durarara!!

Durarara!!.scanner.log Durarara!!.filelist.log

NOTE: I have anidb4.id files in each folder instead of having it in the folder title.

For Gintama you would want to do something like:

/Gintama/Gintama[anidb4-3468]
/Gintama/Gintama'[anidb4-8126]

etc....

jcphilips commented 5 years ago

I still can't seem to get it to work right. image

I also tried anidb3 but that seemed to be worse. Season 1 seems to be missing episodes 151-201 in either case.

Plex Media Scanner.log Gintama.filelist.log Gintama.scanner.log

ZeroQI commented 5 years ago

You use anidb3 on Non-anidb numbered series... The files 151+ are converted to season 4 as explicitly indicated in scanner logs.

Either follow Anidb or tvdb naming convention but do not use these scanner modes without understanding what season and ep number it expect and how it will translate it.

I am not sure what you want to happen... Put all in absolute mode and using tvdb3 or 4 seem simple. Using anidb3 means one folder per anidb series/season...

jcphilips commented 5 years ago

As far as I can tell I don't think I'm doing anything wrong? All my files are named in absolute order using anidb and filebot and even in the filelist log all the episodes are labelled the same so I don't think the issue is with the naming but I will try renaming all files to tvdb absolute and try again if that is what you mean. I think with the previous attempt I did achieve what I was hoping for but I'm not too sure because of the "season 4" issue.

Adding just the first season of Gintama to plex again using anidb4: image

Regular anidb: image

I didn't try anidb3 but anidb2 did return the same results as anidb4. Both tests were done after removing the folders from root, scanning, emptying trash, and then rescanning.

Another thing I did notice is despite having the [anidb2-3468] and [anidb4-3468] in the folder title it did scan into plex as [tvdb-79895].

sven-7 commented 5 years ago

For each season/anidb ID in anidb3 mode, you need to follow the anidb numbering. Each season will restart with 1 as the first episode.

If you want to maintain the absolute numbering that tvdb uses 1-350+, I'd suggest converting everything to tvdb4 and make yourself a custom mapping file to do the seasons how you want.

Gintama - 1-201
Gintama' - 1-51
Gintama` (2012) - 1-13
Etc.
jcphilips commented 5 years ago

Yeah I might do that but most likely I'll just go back to the original tvdb mode. I'm still not sure why Gintama season 1 randomly breaks the last 51 episodes as season 4 on any anidbX modes except for anidb mode itself.

sven-7 commented 5 years ago

That's a TVDB thing. For long-running shows they'll break them up into arcs or seasons sometimes. Because 201 episodes is a really long season, they opted to break it up by airing year for the first Gintama series. All of the subsequent ones didn't require that, thus, the first one gets split up into four seasons.

You need to do one of a few things:

Mode: TVDB3

Mode: TVDB4 (added in 3d51773)

Mode: AniDB3

jcphilips commented 5 years ago

Thank you @sven-7 and @ZeroQI for the support. I still can't seem to figure out what I'm doing wrong so I resorted to using custom tvdb4 mappings:

  <anime tvdbid="79895" name="Gintama">
    01|001|201|Gintama
    02|202|252|Gintama`
    03|253|265|Gintama` (2012)
    04|266|316|Gintama (2015)
    05|317|328|Gintama.
    06|342|353|Gintama. (2017)
    07|354|367|Gintama. (2018)
  </anime>

But after seeing the updated online mapping I think I'll remove mine and use that since it does the same job (thanks you for that btw).

I'll close the issue since it seems to be something I'm doing wrong but I just want to ask what exactly is it that I've done wrong in the naming that makes the series get named and act that way? (Just so future additions I do to my library do not result in the same behaviour.) Do you get the same behaviour with your gintama episodes when 1-201 are named in absolute order and scanned using anidb3 modes?

sven-7 commented 5 years ago

I'll see if I can replicate in a test library and let you know.

jcphilips commented 5 years ago

Actually I think there might be wrong with my setup. I had just updated the saekano files on my system and readded them to my plex and noticed this:

image

Couple things off here. Firstly this is using regular tvdb mode, nothing special the files are labelled with season numbers tagged onto them but the show autocorrects the name to flat for whatever reason. image

Secondly it pulls the date as 2017 which was the year flat was released, but season 1 came out in 2015. I'm assuming the scanner is weirdly mapping stuff right now. Will do a clean install of plex tomorrow and update as it is quite late right now.

ZeroQI commented 5 years ago

The metadata agent choose the metadata like year and title, not the scanner.

sven-7 commented 5 years ago

Note - your mapping is missing 329-341. Correct below:

  <anime tvdbid="79895" name="Gintama">
    01|001|201|Gintama
    02|202|252|Gintama (2011)
    03|253|265|Gintama (2012)
    04|266|316|Gintama (2015)
    05|317|328|Gintama. (2017)
    06|329|353|Gintama. (2017-2018)
    07|354-367|Gintama (2018)
  </anime>

Also - yes, for me anidb3 mode seems to be wrong/broken with Gintama. It's definitely chopping off the first 51 episodes. I'm very certain I set mine up correctly and it's all over the place. It could be the relational graph complexity of Gintama that is causing this. It's not as straightforward as other shows, so I think it may just be impossible given it's structure on AniDB. I think your best option is to stick with TVDB3 (and what TVDB says) or TVDB4.

jcphilips commented 5 years ago

Not sure why I used 342 instead of 329 lol. Thanks for checking I really appreciate it. @ZeroQI right I don't know why I posted that here lol. Thanks for the help @ZeroQI and @sven-7, I really appreciate it.