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%,'[\\\":/*|<>?]',"")
MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.