3,699
edits
m (Der Idiot moved page User talk:Dvdkhl to AniAdd without leaving a redirect) |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 178: | Line 178: | ||
=== Predefined Variables === | === Predefined Variables === | ||
==== Titles ==== | ==== Titles ==== | ||
* ATr, ATe, ATk - Anime title, r: romaji, e: english, k: kanji | * ATr, ATe, ATk, ATs, ATo - Anime title, r: romaji, e: english, k: kanji, s: synonym, o: other | ||
* ETr, ETe, ETk - Episode title, languages as above | * ETr, ETe, ETk - Episode title, languages as above | ||
* GTs, GTl - Group title, s: short, l: long | * GTs, GTl - Group title, s: short, l: long | ||
Line 186: | Line 186: | ||
* EpCount - Anime Episode count | * EpCount - Anime Episode count | ||
* AYearBegin, AYearEnd - The beginning & ending year of the anime | * AYearBegin, AYearEnd - The beginning & ending year of the anime | ||
* ACatList - The Categories associated with the anime. | |||
==== Episode information ==== | ==== Episode information ==== | ||
Line 197: | Line 199: | ||
* Source - Where the file came from (HDTV, DTV, WWW, etc) | * Source - Where the file came from (HDTV, DTV, WWW, etc) | ||
* Quality - How good the quality of the file is (Very Good, Good, Eye Cancer) | * Quality - How good the quality of the file is (Very Good, Good, Eye Cancer) | ||
* AniDBFN - Default AniDB filename | |||
* CurrentFN - Current Filename | |||
* FCrc - The file's crc | * FCrc - The file's crc | ||
* FVideoRes - Video Resolution (e.g. 1920x1080) | * FVideoRes - Video Resolution (e.g. 1920x1080) | ||
* FALng - List of available audio languages (japanese, english'japanese'german) | * FALng - List of available audio languages (japanese, english'japanese'german) | ||
* FSLng - List of available subtitle languages (japanese, english'japanese'german) | * FSLng - List of available subtitle languages (japanese, english'japanese'german) | ||
* FACodec - Codecs used for the Audiostreams | |||
* FVCodec - Codecs used for the Videostreams | |||
* Watched - File is watched if the value is '1' otherwise unwatched and "" | * Watched - File is watched if the value is '1' otherwise unwatched and "" | ||
Line 314: | Line 320: | ||
== Presets == | == Presets == | ||
Original preset with few tweaks. Filename as [group] [title] <epno><version> [uppercase CRC] [source][resolution][video codec].ext | |||
Episode number isn't used only for normal episodes in animes with only 1 of those, but always used is special eps regardless of total eps. | |||
AT:=[%ATr%,%ATe%,%ATk%] | |||
ET:=[%ETe%,%ETr%,%ETk%] | |||
GT:="[" [%GTs%,%GTl%] "]" | |||
EpNoPad:=$pad(%EpNo%,$max($len(%EpHiNo%),$len(%EpCount%)),"0") | |||
Src:="["$repl(%Source%,"B-R","BluRay")"]" | |||
Ver:={%Ver%="1"?"":"v"%Ver%} | |||
Res:="["%FVideoRes%"]" | |||
CRC:="["$uc(%FCrc%)"]" | |||
Codec:="["$repl(%FVCodec%,"H264/AVC","h264")"]" | |||
IsNotNormal:=$match($repl(%EpNo%,"[1234567890]",""),'[SCTPO]') | |||
EpNoV:={%IsNotNormal%="1"?"- "%EpNoPad%:{%EpCount%="1"?:"- "%EpNoPad%}} | |||
FileName:=$repl(%GT%" "%AT%" "%EpNoV%%Ver%" "%CRC%" "%Src% %Res% %Codec%," "," ") | |||
PathName:="F:\" $repl(%AT%,'[\\\":/*|<>?]',"") |