AniAdd: Difference between revisions

20 bytes removed ,  26 September 2009
m
Line 283: Line 283:


=== Piecing everything together ===
=== Piecing everything together ===
  AT:=[%ATr%,%ATe%,%ATk%]
AT:=[%ATr%,%ATe%,%ATk%]
  ET:=[%ETe%,%ETr%,%ETk%]
ET:=[%ETe%,%ETr%,%ETk%]
  GT:="[" [%GTs%,%GTl%] "]"
GT:="[" [%GTs%,%GTl%] "]"
 
  EpNoPad:=$pad(%EpNo%,$max($len(%EpHiNo%),$len(%EpCount%)),"0")
EpNoPad:=$pad(%EpNo%,$max($len(%EpHiNo%),$len(%EpCount%)),"0")
 
  Src:="["%Source%"]"
Src:="["%Source%"]"
  Depr:={%Depr%?"[Depr]":""}
Depr:={%Depr%?"[Depr]":""}
  Cen:={%Cen%?"[Cen]":""}
Cen:={%Cen%?"[Cen]":""}
  Ver:={%Ver%="1"?"":"v"%Ver%}  
Ver:={%Ver%="1"?"":"v"%Ver%}  
 
  Movie := %AT%" - "%ET%" "%GT% %Depr% %Cen% %Src% %Ver%
Movie := %AT%" - "%ET%" "%GT% %Depr% %Cen% %Src% %Ver%
  Other := %AT%" "%EpNoPad% %Ver% " - "%ET%" "%GT% %Depr% %Cen% %Src%
Other := %AT%" "%EpNoPad% %Ver% " - "%ET%" "%GT% %Depr% %Cen% %Src%
 
  FileName:= {%Type% = "Movie"? %Movie% : %Other%}
FileName:= {%Type% = "Movie"? %Movie% : %Other%}
  PathName:="E:\Anime\!Processed\" $repl(%AT%,'[\\":/*|<>?]',"")
PathName:="E:\My\Path\Name\" $repl(%AT%,'[\\":/*|<>?]',"")


== Presets ==
== Presets ==
227

edits

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.