[WIP] AniDB.net Anime Video Scraper - Printable Version
+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Metadata scrapers (/forumdisplay.php?fid=147)
+---- Thread: [WIP] AniDB.net Anime Video Scraper (/showthread.php?tid=64587)
- snyft - 2010-08-14 18:06
So i just used your scraper and sure it finds the shows and info but when im librarymode i cant see any episodes when i enter the show? Folder setup:
\Amagami SS 01-07\[Eclipse] Amagami SS - 01 (1280x720 h264) [4876C56A]
What do i need to change to get it to work?
- salival - 2010-08-14 19:36
You need to add an episode filter to your XBMC setup, because without that it doesn't recognize the episode format.
To add a filter, create a text file in your userdata folder* and rename it to advancedsettings.xml
In that file you put the following lines:
If your episode number format is epxx:
Or, in your case, if your episode number format is - xx or -_xx:
Since you have no real unique identifier before your episode number you might get a lot of false readings due to the numbers in the resolution info.
I would suggest to add a prefix before the episode number, e.g. e or ep, so xbmc knows what to look for more easily. For more information on this check the article on the wiki
Specials always need the following episode numbering format: S00Exx. Since the scraper assumes every episode without a specific season number are in season 1 and specials need to be in season 0 for thetvdb.org to recognize them as such and get the proper info.
(* to find out where your userdata folder is check the FAQ of your system on this page)
- Scorpius - 2010-08-14 20:00
I include my own personal advancedsettings.xml that has worked for me really well so far. Since I have both anime and series, I needed regexps that would work for both:
- snyft - 2010-08-14 21:27
Thanks alot for the help people!
Scorpius do i need to change the advanced setting when i scan regular tv or anime? Or its just save your setting file and run regular shows and anime?
I mean i dont do Seasons for my anime i just put them in a folder like:
O:\anime\tv\Code Geass Lelouch of the Rebellion R2\Code_Geass_R2_Ep01_The_Day_a_Demon_Awakens_[720p,BluRay,x264]_-_THORA.mkv
I more or less just want the show information from library mode and then being able to view it in library.
Maybe it would be easier to just use some rename program that renames all the different episodes. Any tip on a good tool that does this for anime?
- Scorpius - 2010-08-14 21:36
It works for both. I still haven't found a show that doesn't work with my settings, but they always show up from time to time. Then I add or modify a line or two.
- salival - 2010-08-14 22:37
kraaa Wrote:I mean i dont do Seasons for my anime i just put them in a folder like:
That's about the same as I have my structure set up, be it a little different episode naming structure (seriesname ep## - episode_title[1280x720][hdtv][groupname].ext --I rename them with the Java applet on the frontpage of anidb.net. It lets you set a custom naming scheme and adds the episode to your mylist if you wish)
As long as you have the "ep" before the episode number my first snippet works flawlessly. Normal tv-series are taken care of by the xbmc default settings. Only specials need the explicit s00e## treatment, all the others are assumed to be season 1.
If you don't want to rename, you should try Scorpius' code. I assume it handles seasons the same way.
kraaa; Wrote:Maybe it would be easier to just use some rename program that renames all the different episodes. Any tip on a good tool that does this for anime?As I mentioned I use the anidb applet for this. It does an almost perfect job.
The only downside is that occasionally some episodes are not yet added to the system. In that case you either have to wait until someone adds the file or you have to add the file yourself (which is, once you know how, only a few minutes of work)
Also, if you need help setting up a naming filter to rename your episodes with the applet feel free to ask.
- Scorpius - 2010-08-14 22:51
I'm kinda against renaming. I'm just "renaming" the specials adding a _S00E01 at the end of the filename so the scraper can recognize them too.
- salival - 2010-08-14 23:09
I was at first, but I couldn't figure out a working regexp .
Then I found the applet which has now found it's place in my "anime download workflow". Now it takes only a few seconds to open the folder(s) from utorrent, open the applet (link is in a bookmark), drag the file(s) on to the applet and hit start.
- snyft - 2010-08-14 23:10
Scorpius Wrote:I'm kinda against renaming. I'm just "renaming" the specials adding a _S00E01 at the end of the filename so the scraper can recognize them too.
For some reason you regexp dont work for me (latest nightly build). http://forum.xbmc.org/showthread.php?tid=51614 worked for me but when i deleted everything in the xml and added your settings, it dident find anything. Any ideas? Tried alot of different animes as well.
- Scorpius - 2010-08-15 03:07
Post your debug log (use pastebin or something) where you scan one of the shows and we can figure it out.
- snyft - 2010-08-15 15:52
Scorpius Wrote:Post your debug log (use pastebin or something) where you scan one of the shows and we can figure it out.
There you go
- Scorpius - 2010-08-15 18:25
Well I can't see the beginning of the log where the advancedsettings.xml is parsed. Those filenames are parsed with no problems using the settings I posted.
I don't use the "Season x" for anime folders and maybe that's a difference, and in that case http://forum.xbmc.org/showthread.php?tid=51614 would work better.
- snyft - 2010-08-15 19:17
Scorpius Wrote:Well I can't see the beginning of the log where the advancedsettings.xml is parsed. Those filenames are parsed with no problems using the settings I posted.
Nah it works now, i forgot to add the <advancedsettings> tags >_<.
Btw i noticied it had some difficulty picking up double episodes anyway to mark them some way?
- Scorpius - 2010-08-15 19:22
Yeah and that's a problem. That one will be recognized as episode 08 only. That happens to me too. The wiki says if you add a third pair of parenthesis at the end you can recognize multi-episodes.
Quote:NOTE: for multi-episode matching to work, there needs to be a third set of parentheses on the end. This part is fed back into the regexp engine.
I think I have tried it with no success. For your Aoi Bungaku episode you would have to add before the first line something like:
Tell me if it works! I have some multi-episodes not recognized as such.
- snyft - 2010-08-15 20:50
Scorpius Wrote:Yeah and that's a problem. That one will be recognized as episode 08 only. That happens to me too. The wiki says if you add a third pair of parenthesis at the end you can recognize multi-episodes.
I just added your regexp to the top of your other settings and it dident find the episode as a multi-episode