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

Line 33: Line 33:
|-
|-
|}
|}
==Default pattern==
<code>
set('atitle', at('x-jat'))
if(length(atitle)=0, set('atitle', at('x-jat', 'short')))
if(length(atitle)=0, set('atitle', at('en')))
set('etitle', et('en'))
if(length(etitle)=0, set('etitle', et('x-jat')))
if(length(etitle)=0, set('etitle', et('ja')))
set('version', if(F.Version>1, 'v'+F.Version, ''))
set('mepno', max(A.TotalEpisodeCount, E.EpisodeTypeCount))
set('epno', padl(E.EpisodeNo, max(1, length(mepno)), '0') + version)
Kaidan Restaurant - 011 - Whose Coat is This    Monster Mansion  You`ve Got a Hand on Your Back [gg](5B91D9F5).mkv
atitle + ' - ' + epno + ' - ' + etitle + ' ' + groupname + crc + '.' + F.FileType
</code>


==Objects==
==Objects==
254

edits

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