There is new version of AniDB scraper, now with major parts redone, some new features, optimalizations etc ...
Note: Last time i got too much into details and produced unreadable wall of text, so now i'll try to describe only basics, if you are interested in details ask me directly in this thread.
New features/major changes:
TheTVDB lookup chanages:
There is
major change in philosophy how thetvdb lookup works now. In previous version scraper always tried to match anidb and thetvdb animes and episodes somehow, sometimes it worked sometimes not, but always it required post-scrape check by user (of course only if he care
) which is bit inconvenient for HTPC. In this new version i reversed this process, so now it's more like "check first, don't bother later". There is now anime-list.xml which works like mapping list between anidb and thetvdb. You can check and fill this mapping first on your desktop computer so later you don't need to care about scraper results. What it contains:
- anidb anime id to thetvdb show id mapping
- default thetvdb season - for 1:1 season relation between anidb and thetvdb
- explicit episode-to-episode, season-to-season mapping - for 1:N season relation between anidb and thetvdb or when numbering on both sites doesn't match
- explicit specials mapping before specific episode
- supplemental info for anime, all episodes and/or single episode (in case anidb info isn't enough or is missing)
If your anime id isn't found in anime-list.xml scraper will try find appropriate thetvdb show for fanart lookup in same way like previous version (recursive lookup over anime titles and then prequels), but extra episode details lookup will be ignored completely because without correct mapping it's more guessing than anything else.
Specials support:
- scraper is now able to process anidb specials - XBMC pick everything from season 0 as specials, unfortunately there is no way how to force season 0 so you must name your specials as S00Exx (or anything what fits your tvshow matching regexp) - if you are able compile your XBMC you can check posted diff.
- there is possibility to place specials either at the start or at the end of episode list (switchable in settings)
- there is possibility to place special before specific episode (for example usable for dvd only episodes/specials which belongs somewhere between regular episodes, often marked for example as episode 8.5 on anidb)
-- this placement can be explicitly set in anime-list.xml (there is no such info on anidb)
-- if anime-list.xml placement isn't used thetvdb one is used (if exist)
Other changes:
- some improvements in anime search
-- google one should work better now, but as i stated in previous release post, i don't use it so it isn't so thoroughly tested (post problematic titles if you want some help)
-- anidb.xml one now is extended to english official and x-jat synonym title names too
-- added anime id (that Axxxx) to search result to distinguish duplicates with different names
- some additional filtering for genres (only 10kB of regular expressions
)
- some additional filtering for plot summary (another 10kB)
- rest of changes are not visible to user
anime-list.xml:
- this file is currently hosted at
Google sites and contains 767 unique (more or less checked) anime mappings
- xml structure should be understandable (at least for peoples who have idea how xml looks
), if there are some uncertainties ask me here
- you can edit file in your cache if you want add/change something (you need XBMC which support cache persistency - no 9.11, some newer 2010 builds)
- better solution (share it with others) is to post requested changes in this thread and i will add it to hosted file (post only changes, i won't compare whole files)
anidb.xml:
- this file for anidb search (not google one) is experimentaly hosted at
Google sites for peoples without XBMC cache persistency
- but you should be aware that this file is ~2.5MB in size and your XBMC will download it for every single scrape, so it's imho more for testing than real usage, but suit yourself
Forced season XBMC patch/diff:
- as you most likely know, XBMC forces season 1 for all files without season in name (like Angel Beats E01 - abc.mkv) but unfortunately there is no way how to force different season for other files. So in our case you must rename your specials to looks like Angel Beats S00E01 - Special 1.mkv to force season 0 for specials.
- personaly i name specials as Angel Beats S01 - Special 1.mkv so i did small modification to XBMC source code which allows me to use following configuration in advancedsettings.xml:
Code:
<tvshowmatching>
<regexp forcedSeason="1">(?i)[/\\].*? ()E(\d{2,3})([^/\\]*)</regexp>
<regexp forcedSeason="0">(?i)[/\\].*? ()S(\d{2,3})([^/\\]*)</regexp>
</tvshowmatching>
- if you are able to compile XBMC for yourself, you can download diff (against last stable svn revision) bellow. But you should be warned that last time when i did something in C/C++ was 15 years ago ....
Scraper (use Download link in upper right corner):
http://pastebin.com/MxPu21eg
XBMC diff/patch (use Download link in upper right corner):
http://pastebin.com/LHQ2jG7E
Doh, tldr; wall of text again :o