@ZeroQI - Forgot to say that I am using custom xml for āAngel Tales Chu [anidb2-680]ā because there are different ways that those episodes were released. Broadcast vs DVD etc. ScudLee list uses weird combinations to map them, like you said with split/combined episodes, so I made a custom xml instead so they would just map directly like normal and send the special to ep12. So mine shouldnāt even be using ScudLee list for mapping. Hereās the custom xml for that series:
Scanner call - root: '/mnt/videos/anime', path: 'Black Jack Special - The 4 Miracles of Life [anidb-2672]', dirs: '0', files: '5'
-------------------------------------------------------------------------------------------------------------------------------------------------------------
file: '/mnt/videos/anime/Black Jack Special - The 4 Miracles of Life [anidb-2672]/Thumbs.db', ext: 'db' not in video_ext
misc: 'black jack special - the 4 miracles of life - ep 01 black jack special - the 4 miracles of life - ep 02 black jack special - the 4 miracles of life - ep 03 black jack special - the 4 miracles of life - ep 04 '
"Black Jack Special - The 4 Miracles of Life [anidb-2672]" s0001e004 "Black Jack Special - The 4 Miracles of Life - Ep 01 (640x480) [Froth-Bite] [96D6F531].avi" "12" "Miracles of Life - Ep 01"
"Black Jack Special - The 4 Miracles of Life [anidb-2672]" s0001e004 "Black Jack Special - The 4 Miracles of Life - Ep 02 (640x480) [Froth-Bite] [D4F9FBDE].avi" "12" "Miracles of Life - Ep 02"
"Black Jack Special - The 4 Miracles of Life [anidb-2672]" s0001e004 "Black Jack Special - The 4 Miracles of Life - Ep 03 (640x480) [Froth-Bite] [1FC34C04].avi" "12" "Miracles of Life - Ep 03"
"Black Jack Special - The 4 Miracles of Life [anidb-2672]" s0001e004 "Black Jack Special - The 4 Miracles of Life - Ep 04 (640x480) [Froth-Bite] [77A5467E].avi" "12" "Miracles of Life - Ep 04"
I ran into my first big series, Bleach, and was debating about how to add it to use theTVDB so I could have it as a single entry with the movies. So the two options were to use āBleach [anidb2-2369]ā (probably with custom xml since specials are wrong in scudlee, but leave that aside for now) vs. āBleach [tvdb4-74796]ā.
And I looked up on the scudlee readme and it says āaā for the defaulttvdbseason means āSeries that span multiple seasons on theTVDB.com may be marked as a if the absolute episode numbering is defined and matches AniDb.netā, which Iām not even sure what that meansā¦
tvdb4-xxxx of course uses your tvdb4 mapping file, which works great, but then it doesnāt merge the entry for the main series with the one it generates with the movies in as specials. I was able to manually merge the separate entries in Plex, so not a big deal, but it got me wondering what what even happen if using the scudlee mapping? [Side note/reminder for others: With the tvdb4 method of course you have to name any specials the same as they are on theTVDB since it is not using the scudlee mapping.]
How does ASS handle the āaā for defaulttvdbseason? Would it just dump it all into a single season? Guessing maybe that is why you made the tvdb4 idea in the first place?!
edit: OK so I got curious and tried it out myself, switch folder name to āBleach [anidb2-2369]ā and then put in my test library. It did just dump all 366 episodes into a single season, which is cumbersome. So I think Iāll stick to tvdb4 mapping and can manage merging it. =) Iāll leave this here in case anyone wonders in the futureā¦
edit2: After some more thought, with a complicated custom (anidb2-xxxx/scudlee) xml mapping file I could probably accomplish this too, mapping anidb s1 episodes to various tvdb seasons using the start, end, and offset parameters. But I kind of like how the tvdb4 mapping maintains absolute numbering while still breaking it up into smaller seasons, so I think Iām sticking with that!
in the tvdb xml for the serie, you can have absolute ep numbering also (optional), that simplifies the mapping, in this case since we know which absolute number goes in which season since both anidb and thetvdb absolute number match
tvdb4 is for separations in sagas and require keeping the absolute ep number, was for long running series (detective conan, dbz, one piece,ā¦)
to consolidate, it needs the same guid, so you might have to go [tvdb4-74796-s0e1] but am unsure if it works
Just pushed a new scanner which handle ep numbers better without using the regex and not give the year issue
Edit: Why not tvdb3 mode? it had tvdb seasons but keep the absolute numbering ? i even explained all in the readme
So many modes, I havenāt even thought about tvdb3. Mostly I just stick to anidb and anidb2 tagging, but I knew of the special tvdb4 mapping file so I thought Iād try that out on the longer series like Bleach. Given what you say about tvdb3 tagging, I guess Iām not understanding the difference between it and tvdb4 then.
Iāll give the tvdb4-xxxx-sXeY style tagging a shot and see if it works as it is cleaner to have them IDād as a single series during scanning, rather than manually merge them after, if possible (also makes life easier if I have to recreate the library as then I wouldnāt have to remember to go in and do that everytime).
edit: So I tried it out with āBlood - The Last Vampire [tvdb4-78960-s0e1]ā in conjunction with main series āBlood+ [tvdb4-78960]ā (which I also added to tvdb4 mapping file on github btw), and seems to have worked well. Going to go back and do Bleach the same way.
edit2: Yep, worked great with Bleach movies as well.
try tvdb3. it just display with tvdb seasons. tvdb4 is for sagas using any arrangement of seasons
please try the scanner i published when you can it fixes all bad ep numbers reported
Iāll try to give tvdb3 tagging a go and see what happens when I get a chance. I can try it with Bleach and Blood+.
I did try the new ASS code in master and looks like it fixed the issue with Assassination Classroom (2015) special. Anidb special 01 now mapping to s0e02 in Plex as expected, no more Season 2015.
Ran into new problem with Blue Exorcist though. The scudlee mapping has a negative offset for the specials:
Not sure if it doesnāt know how to handle negatives or what, but doesnāt seem to apply the offset. Hereās the scanner log showing how it is mapping the specials:
Scanner call - root: '/mnt/videos/anime', path: 'Blue Exorcist [anidb2-8148]/specials', dirs: '0', files: '11'
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Use existing: '/tmp/ASS-tmp-anime-list-master.xml'
anidbTvdbMapping() - anidb: '8148', tvbdid: '248035', defaulttvdbseason: '1', name: 'Ao no Exorcist', mappingList: '{'s0': ['2', '11', '-1'], 's0e1': 's0e11', 's0e12': 's0e0', 'episodeoffset': ''}'
-------------------------------------------------------------------------------------------------------------------------------------------------------------
misc: 'special 01 - extra special edition special 02 - ura eku 1 special 03 - ura eku 2 special 04 - ura eku 3 special 05 - ura eku 4 special 06 - ura eku 5 special 07 - ura eku 6 special 08 - ura eku 7 special 09 - ura eku 8 special 10 - ura eku 9 special 11 - ura eku 10 '
"Blue Exorcist [tvdb-248035]" s0000e011 (Orig: s00e01) "Blue Exorcist - Special 01 - Extra Special Edition (BD 1280x720) [Coalgirls] [845CB200].mkv" "7" "Extra Special Edition"
"Blue Exorcist [tvdb-248035]" s0000e002 "Blue Exorcist - Special 02 v2 - Ura Eku 1 (BD 1280x720) [tlacatlc6] [9BA0331A].mkv" "7" "Ura Eku 1"
"Blue Exorcist [tvdb-248035]" s0000e003 "Blue Exorcist - Special 03 v2 - Ura Eku 2 (BD 1280x720) [tlacatlc6] [4384B3AE].mkv" "7" "Ura Eku 2"
"Blue Exorcist [tvdb-248035]" s0000e004 "Blue Exorcist - Special 04 v2 - Ura Eku 3 (BD 1280x720) [tlacatlc6] [57B6C494].mkv" "7" "Ura Eku 3"
"Blue Exorcist [tvdb-248035]" s0000e005 "Blue Exorcist - Special 05 v2 - Ura Eku 4 (BD 1280x720) [tlacatlc6] [65F2888B].mkv" "7" "Ura Eku 4"
"Blue Exorcist [tvdb-248035]" s0000e006 "Blue Exorcist - Special 06 v2 - Ura Eku 5 (BD 1280x720) [tlacatlc6] [F31552D0].mkv" "7" "Ura Eku 5"
"Blue Exorcist [tvdb-248035]" s0000e007 "Blue Exorcist - Special 07 v2 - Ura Eku 6 (BD 1280x720) [tlacatlc6] [8BC515F9].mkv" "7" "Ura Eku 6"
"Blue Exorcist [tvdb-248035]" s0000e008 "Blue Exorcist - Special 08 - Ura Eku 7 (BD 1280x720) [tlacatlc6] [5A76293B].mkv" "7" "Ura Eku 7"
"Blue Exorcist [tvdb-248035]" s0000e009 "Blue Exorcist - Special 09 - Ura Eku 8 (BD 1280x720) [tlacatlc6] [72D07013].mkv" "7" "Ura Eku 8"
"Blue Exorcist [tvdb-248035]" s0000e010 "Blue Exorcist - Special 10 - Ura Eku 9 (BD 1280x720) [tlacatlc6] [D05DE84C].mkv" "7" "Ura Eku 9"
"Blue Exorcist [tvdb-248035]" s0000e011 "Blue Exorcist - Special 11 - Ura Eku 10 (BD 1280x720) [tlacatlc6] [CA9A7EC4].mkv" "7" "Ura Eku 10"
As you can see doesnāt seem to apply a -1 offset for specials 2-11 like is defined in the mapping.
Tried new scanner and now Blue Exorcist is working with the negative offset!
I also tried out tvdb3-xxxx tagging on Cardcaptor Sakura, but it seems to be having issues. Every time I scan (do Plex Dance in between on the Cardcaptor folders) it seems to have some random number of episodes that are just missing. Also it doesnāt seem to be pulling down the episode title when using tvdb3 mode. Bleach and Blood+ with tvdb4 didnāt have either of those issues. Switching Cardcaptor back to anidb2-xxxx tagging and it works fine, though everything is in s1 is all (other than specials of course), but at least all episodes are there and grabs episode titles etc.
Edit: actually I just scrolled down on s1 after using anidb2 tagging and not grabbing ep titles after s1e35 either, maybe Iām just not being patient enough for metadata to pull down.
Edit2: realized that would make sense, since Iām using anidb2 it is pulling meta from tvdb and s1 only goes to e35 on there.
Also I noticed that for the multi episode special file āCardcaptor Sakura - Special 01-03 (BD 960x720 Hi10P) [Coalgirls] [A427519B].mkvā it only seems to pick it up as a single episode. Does that no matter which mode Iām using - tvdb3 or anidb2. Not a huge deal but donāt think that is expected? Should pick it up and assign it to all 3 episodes correct?
Gotta run so canāt generate logs right now, but let me know if you want me to for the tvdb3 or other issue.
@deusxanime added specials multi episode support to ASS, already on github. Please give me ass custom log for Cardcaptor Sakura tvdb3 as you added exact season mappings to tvdb4 for card captor sakura and Blood + and that is redundant. I need to fix tvdb3 and remove them.
@ZeroQI - Isnāt that what tvdb4 is for? If those are redundant wouldnāt Bleach be as well? Looking at it, it just maps to the theTVDB seasons the same way as CCS and Blood+ do.
Iāll create a new library and do some testing with tvdb3 for you, and get logs up.
tvdb2 insert season folders and reset ep number at 1 each season
tvdb3 insert season folders and keep absolute numbers (for long series, what you want i believe)
tvdb4 let user choose whatever folder and keep absolute numbers (for long series with sagas) and i used the tvdb4 mapping file to use arks instead of seasons, or to solve half season mess with thetvdb where it doesnāt sometime make sense. users can make their own season folders too as long as they leave the ep absolute number
mapping file is for mapping anidb to tvdb and exist as local,scudlee mod and scudlee (scudlee mod not supported in scanner yet)
tvdb4mapping file is for choosing seasons for episodes, can be local, or online but i only keep
I created it to have Sagas like dragon ball (namek, freezer) instead of numerous seasons and still have meta working.
There is no point in remapping seasons in tvdb4 since this is what tvdb does best.
Bleach called it Arks so i thought they differed from seasons, but no you are right, will needs removing.
This stems for the fact you canāt have 100+ eps in an android device for scrolling, but year seasons in db/dbz were stupid and sagas like namek or ennes lobby for one piece were fully meaniingfullā¦
I donāt really use this mode, but wanted to make ass/hama the best out there and i can say the functionalities are unrivaled and allow to make anime libraries bearable for all.
I promise i will fix tvdb3 so you have seasons and metadata and will amend the scanner now to have the mapping file mod handled at scanner level. We did solve loads of bugs pretty quickly so it gets better for everybody.
However this flexibility made it more complex for hama and issues popped upā¦
I look forward to your logs and making the agent behave as it should
@ZeroQI - Thanks for the explanation. Bleach was the first series I ran into where I wanted to use mappings in that way/style, and after looking at the way it was done in the tvdb4 mapping file I thought that was the way to go. But it turns out Bleach really shouldnāt be that way either, so I was led astray. =)
Downloaded new ASS code and created a new test library with Cardcaptor Sakura and Blood+ and switched them to use tvdb3-xxxx tagging now for testing. So far have not had the problem where episodes are completely missing like was happening before (that was very strange), but neither are downloading metadata/titles it seems. Both just have all episodes labeled generically like āEpisode 1ā. I did try do a force refresh on them like I have in the past for other series that are slow to grab that, but even after that the episode titles are usually populated within a few seconds. For tvdb3 tagged shows they donāt seem to be pulling down.
It does seem to be recognizing the multi-episode files now and working correctly with them, so that is good news!
Once we get the metadata problem figured out Iāll put them back in my main library and weāll see if the missing episode issue manifests again.
@deusxanime tvdb3 fixed for you. show ep title and summary now. Your logs helped, i knew the tables were sound and the key used to store/retrieve and there was a mismatch. added the online mapping file mod to the scanner, wasnāt before (to be tested bu doesnāt crash with no mapping file present)
@ZeroQI - Did you push the update to master? Just updated to lastest master ASS from github, recreated test library with Cardcaptor Sakura and Blood+ using tvdb3-xxxx tagging, and still same problem with no metadata/titles on episodes (expect s0 which does seems to work).
@ZeroQI - After updating both ASS & HAMA, tvdb3 is working as it should! Also changed Bleach over to tvdb3 and is working as well.
Iāve gotten through my A-F folder. =) 1/4 of the way thereā¦
A few minor things Iāve come across as Iāve been building. These may be bugs, so thought worth bringing up in the effort to get them squashed.
For some reason āBlack Jack (2004)ā is not pulling down the metadata/titles for s1. The specials/s0 is getting them though. This is a combination of 2 folders - āBlack Jack - The Two Doctors of Darkness [anidb2-3506]ā and āBlack Jack TV [anidb2-2389]ā using anidb2 tagging/mapping obviously. So it should be grabbing the info from TVDB in a pretty straightforward manner, but for some reason I canāt get it to work.
2) The series āBlack Jack Special - The 4 Miracles of Life [anidb-2672]ā maps all episodes to s1e04, Iām sure due to the number ā4ā in the title. I can change it to āFourā in the folder and file names and then it works as expected.
ā¦Actually this one seems to be working now, will try to move it back to my primary library and see if it works in there againā¦
For āClamp in Wonderland [anidb-1550]ā I have the ED in the specials folder, but for some reason it is mapping that Ending to s1e01 along with the actual primary episode. I have a very similar episodes structure/files with āClamp in Wonderland 2 1995-2006 [anidb-4514]ā (one primary episode and the ED in the specials folder), and it works just fine.
Last one is the Code Geass specials. It looks like it thinks many of them are double episodes from looking at the scanner log and so Iām getting a bunch of duplicates. Iām guessing this is due to the numbers in the episode names which are in the file name.
I created a new folder and moved this problem series into it, then created a new library with it as root. Attaching ASS/HAMA logs for its creation.
I think many of these errors are based on naming. Let me know if trying to fix anything would cause more things to break than it is worth. I can be flexible and change some of the file names if needed.
@deusxanime
1)agent issue due to ep 0 presence in tvdb xml. updated github master
2) yeah fixed it the other day
3) revamped the engine, works and we should get fewer scanner mishaps. updated github master
4) yeah all regex showed multiple due to ep2 being set. updated github master