User talk:Grejpfrut

From AniDB
Revision as of 21:41, 20 May 2011 by Grejpfrut (talk | contribs) (Created page with "anidb client filerenaming preset AT:=[%ATr%,%ATe%,%ATk%] ET:=[%ETe%,%ETr%,%ETk%] GT:="[" [%GTs%,%GTl%] "]" EpNoPad:=$pad(%EpNo%,$max($len(%EpHiNo%),$len(%EpCount%)),"...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

anidb client filerenaming preset

 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(%EpNo%,["S","C","T","P","O"])
 EpNoV:={%IsNotNormal%="1" ? %EpNoPad% : {%EpNo%="1" ? "" : "- "%EpNoPad%}}
 
 FileName:=$repl(%GT%" "%AT%" "%EpNoV%%Ver%" "%CRC%" "%Src% %Res% %Codec%,"  "," ")
 PathName:="F:\" $repl(%AT%,'[\\\":/*|<>?]',"")