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

Jump to navigation Jump to search
Line 35: Line 35:
{|
{|
|- valign="top"
|- valign="top"
|English title with fallback||<code>set('atitle', at('en'))<br>if(length(title)=0, set('atitle', at('x-jat')))<br>if(length(atitle)=0, set('atitle', at('x-jat', 'short')))<br>if(length(atitle)=0, set('atitle', at('ja')))</code>
|English anime title with<br> fallback||<code>set('atitle', at('en'))<br>if(length(title)=0, set('atitle', at('x-jat')))<br>if(length(atitle)=0, set('atitle', at('x-jat', 'short')))<br>if(length(atitle)=0, set('atitle', at('ja')))</code>
|- valign="top"
|- valign="top"
|Japanese transcription title<br> with fallback||<code>set('atitle', at('x-jat'))<br>if(length(atitle)=0, set('atitle', at('x-jat', 'short')))<br>if(length(atitle)=0, set('atitle', at('en')))</code>
|Japanese transcription anime<br> title with fallback||<code>set('atitle', at('x-jat'))<br>if(length(atitle)=0, set('atitle', at('x-jat', 'short')))<br>if(length(atitle)=0, set('atitle', at('en')))</code>
|- valign="top"
|- valign="top"
|Japanese kanji title with<br> fallback||<code>set('atitle', at('ja'))<br>if(length(atitle)=0, set('atitle', at('x-jat')))<br>if(length(atitle)=0, set('atitle', at('x-jat', 'short')))<br>if(length(atitle)=0, set('atitle', at('en')))</code>
|Japanese kanji anime title<br> with fallback||<code>set('atitle', at('ja'))<br>if(length(atitle)=0, set('atitle', at('x-jat')))<br>if(length(atitle)=0, set('atitle', at('x-jat', 'short')))<br>if(length(atitle)=0, set('atitle', at('en')))</code>
|-
|-
|}
|}