AniDB O'Matic - Documentation: Local file renaming: Difference between revisions

Jump to navigation Jump to search
Line 83: Line 83:
==Default pattern==
==Default pattern==
<code><pre>set('atitle', at('x-jat'))
<code><pre>set('atitle', at('x-jat'))
if(length(atitle)=0, set('atitle', at('x-jat', 'short')))
if(length(atitle)=0, set('atitle', at('en')))
if(length(atitle)=0, set('atitle', at('en')))
if(length(atitle)=0, set('atitle', A.Name))
set('etitle', et('en'))
set('etitle', et('en'))
if(length(etitle)=0, set('etitle', et('x-jat')))
if(length(etitle)=0, set('etitle', et('x-jat')))
if(length(etitle)=0, set('etitle', et('ja')))
if(length(etitle)=0, set('etitle', et('ja')))
if(length(etitle)=0, set('etitle', E.Name))
set('version', if(F.Version>1, 'v'+F.Version, ''))
set('version', if(F.Version>1, 'v'+F.Version, ''))
set('mepno', max(A.TotalEpisodeCount, E.EpisodeTypeCount))
set('mepno', max(A.TotalEpisodeCount, E.EpisodeTypeCount))
254

edits

Navigation menu

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