2012-01-18, 07:34
How do you guys get this working? If it picks up one of my series it'll add duplicates of the same episode. Sometimes it won't even pickup any series
LupinSansei Wrote:How do you guys get this working? If it picks up one of my series it'll add duplicates of the same episode. Sometimes it won't even pickup any series
salival Wrote:For those intrested, here is the code I use for the anidb java client in anidb.net. (in the client, go to options > use tagging system > edit tagging system)
Code:Trunc(str, len):=$repl(%str%, ".{" $len($repl(%str%, "(.?){" %len% "}$", "")) "}$", "")
TruncEllipse(str, len):= { $len(%str%) = $len($Trunc(%str%, %len%)) ? %str% : $Trunc(%str%, %len%) "…" }
AT:=[%ATr%,%ATe%] #anime title (romanji or english)
ET:=[%ETe%,%ETr%] #episode title (english or romanji)
ET:=$TruncEllipse(%ET%,"64") #truncate long titles
GT:="[" [%GTs%,%GTl%] "]" #group tag (short or long)
EpNoPad:=$pad(%EpNo%,$max($len(%EpHiNo%),$len(%EpCount%)),"0") #episode number padding
EpNoPad:="ep"%EpNoPad% #add "ep" in front
EpNoPad:=$repl(%EpNoPad%,'ep[sS]',"S00E0") #rename specials from "epS" to "S00E"
Src:="["%Source%"]" #set [source] e.g. [Blu-ray]
Ver:={%Ver%="1"?"":"v"%Ver%} #set version if appliccable
Res:="["%FVideoRes%"]" #set resolution e.g. [1280x720]
MEpNo:={%ET%="Complete Movie"?%EpNoPad% %Ver%:%EpNoPad% %Ver%" - "%ET%} #Only show title when not "Complete Movie"
Movie := %AT%" "%MEpNo%" "%Res%%Src%%GT% #for movies set to "animetitle ep01 [resolution][source][group]
Other := %AT%" "%EpNoPad% %Ver% " - "%ET%" "%Res%%Src% %GT% #all else set to "animetitle ep## - episode title [resolution][source][group]
FileName:= {%Type% = "Movie"? %Movie% : %Other%} #check if the file is a movie or not and rename appropiately
With the following regexp in your advancedsettings.xml I get most anime, including specials and movies. For movies you will not get fanart (because the tvdb doesn't have fanart for movies).
Code:<advancedsettings>
<tvshowmatching action="prepend">
<regexp>ep([0-9]+)</regexp>
</tvshowmatching>
</advancedsettings>
Also, to improve the chance of this scraper to get the right anime, name your folder exactly as the anime is named on anidb. You can also use one of the names in the titles field of the animedescription.
deviousx Wrote:I'm new to xbmc and i think it's awesome.
Also have naruto boxset rip each volume is has 3 disks file extension .ISO/.MDS but don't know what to name it to to get it picked up by scraper.
Garandor Wrote:Also, the scraper isn't able to pick up series that have characters not printable in filenames, case in point: Fate/Zero, which after renaming is called Anime/FateZero/FateZero - 01.mkv etc.
Since no entry exists in anidb for "FateZero", the lookup fails. Any way to get this to work?
On a different note, someone really needs to put an introduction to get this scraper to work in a wiki, almost everyone posting here has the exact same problem.
<advancedsettings>
<tvshowmatching action="prepend">
<regexp>anime[\\/].*[/\._ \-]([0-9]+)</regexp>
</tvshowmatching>
</advancedsettings>
gates Wrote:hi,
@Bambi, i guess
Do you think is-it possible with anidb scrapper to get and put thetvdb-id in xbmc_video database ? With this information in database, you can use extrafanart/artwork downloader addons.
Anime TV (root folder)
-- Baccano! (folder)
--Baccano 01.mkv (file)
--Baccono 02.mkv
-- Blood+ (folder)
--Blood+ 01.mkv (file)