Release [MOD] AniDB.net scrapers for TV shows and Movies
TVSHOW.NFO

Do you have a tvshow.nfo in your `Magi Sinbad no Bouken folder?
My way of doing it, only works if you have the tvshow.nfo file with the right anidb url in it. This one http://anidb.net/perl-bin/animedb.pl?sho...&aid=10392
And ep before episode number. not 1 but ep1

And the anidb client needs to be configured individualy.

This is my tagging options.

Code:
BaseTVShowPath:="\\10.0.1.99\mcstore\Anime\tvshows\"
BaseMoviePath:="\\10.0.1.99\mcstore\Anime\movies\"

ShowTitle:=[%ATr%, %ATe%, %ATk%]
EpisodeTitle:=[%ETe%, %ETr%, %ETk%]

ShowTitle:=$repl(%ShowTitle%, "\?|\s*\.+$", "_")

ShowTitle:=$repl(%ShowTitle%, '[\\":/*|<>?]', " ")
EpisodeTitle:=$repl(%EpisodeTitle%, '[\\":/*|<>?]', " ")
ShowTitle:=$repl(%ShowTitle%, "\s+", " ")
EpisodeTitle:=$repl(%EpisodeTitle%, "\s+", " ")
ShowTitle:=$repl(%ShowTitle%, "^\s|\s$", "")
EpisodeTitle:=$repl(%EpisodeTitle%, "^\s|\s$", "")

ShowTitle:=$repl(%ShowTitle%, "`", "'")
EpisodeTitle:=$repl(%EpisodeTitle%, "`", "'")

Trunc(str, len):=$repl(%str%, ".{" $len($repl(%str%, "(.?){" %len% "}$", "")) "}$", "")
TruncEllipse(str, len):={$len(%str%) = $len($Trunc(%str%, %len%)) ? %str% : $Trunc(%str%, %len%) "…" }

EpisodeTitle:=$TruncEllipse(%EpisodeTitle%, "64")

Separator:=" - "
Regular:="ep"
Special:="S00E"
SpecialEp:=$repl(%EpNo%, "[1234567890]", "")
EpNo:=$repl(%EpNo%, "[SCTPO]", "")
Ver:={%Ver% = "1" ? "" : "v" %Ver% }
Pad:={%SpecialEp% ? "2" : $max($len(%EpHiNo%), $len(%EpCount%)) }
Pad:={$match(%EpCount%, "0") ? $max("2", %Pad%) : %Pad% }
EpNoPad:=$pad(%EpNo%, %Pad%, "0")

EpNoPad:={%SpecialEp%       ? %EpNoPad%  :  %Regular%   %EpNoPad% }
EpNoPad:={%SpecialEp% = "S" ? %Special%     %EpNoPad% : %EpNoPad% }
EpNoPad:={%SpecialEp% = "C" ? %Special% "1" %EpNoPad% : %EpNoPad% }
EpNoPad:={%SpecialEp% = "T" ? %Special% "2" %EpNoPad% : %EpNoPad% }
EpNoPad:={%SpecialEp% = "P" ? %Special% "3" %EpNoPad% : %EpNoPad% }
EpNoPad:={%SpecialEp% = "O" ? %Special% "4" %EpNoPad% : %EpNoPad% }

EpNoFull:=%Separator% %EpNoPad% %Ver% %Separator%

GT:="[" [%GTs%, %GTl%] "]"
Src:="[" $repl(%Source%, "Blu-ray", "BluRay") "]"
Cen:={%Cen% ? "[Cen]" : "" }
Res:="[" %FVideoRes% "]"
VCodec:="[" $repl(%FVCodec%,"H264/AVC","h264") "]"
ACodec:="[" %FACodec% "]"
CRC:="[" $uc(%FCrc%) "]"

FileInfo:=" " %GT% %Src% %Cen% %Res% %VCodec% %CRC%

MovieTypes:="Movie|OVA"
IsMovie:={$match(%Type%, %MovieTypes%) ? {%EpCount% = "1" ? {%SpecialEp% ? "" : "1" } : "" } : "" }

MovieFileName:=%ShowTitle% %FileInfo%
TVShowFileName:=%ShowTitle% %EpNoFull% %EpisodeTitle% %FileInfo%

BasePath:={%IsMovie% ? %BaseMoviePath% : %BaseTVShowPath% }

FileName:={%IsMovie% ? %MovieFileName% : %TVShowFileName% }
PathName:=%BasePath% %AYearBegin% "\" %ShowTitle%
Reply


Messages In This Thread
RE: - by scudlee - 2013-10-12, 17:42
RE: [RELEASE] [MOD] AniDB.net scrapers for TV shows and Movies - by LoveJoy - 2015-05-05, 19:34
Logout Mark Read Team Forum Stats Members Help
[MOD] AniDB.net scrapers for TV shows and Movies8