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

Line 51: Line 51:
|Padded version number||<code>set('mepno', max(A.TotalEpisodeCount, E.EpisodeTypeCount))<br>set('epno', padl(E.EpisodeNo, max(1, length(mepno)), '0'))</code>
|Padded version number||<code>set('mepno', max(A.TotalEpisodeCount, E.EpisodeTypeCount))<br>set('epno', padl(E.EpisodeNo, max(1, length(mepno)), '0'))</code>
|- valign="top"
|- valign="top"
|First letter for organizing<br>by letter||<code>set('head', copy(A.Name, 1, 1))<br>if(numeric(head), set('head', '0-9'))</code>
|First letter for organizing<br>by letter||<code>set('head', copy(atitle, 1, 1))<br>if(numeric(head), set('head', '0-9'))</code>
|- valign="top"
|- valign="top"
|Group name||<code>set('groupname', if(F.GroupId>0, if(length(G.Name)>0, G.Name, G.Shortname), 'no group'))<br>set('groupname', if(length(groupname)>0, '['+groupname+']'))</code>
|Group name||<code>set('groupname', if(F.GroupId>0, if(length(G.Name)>0, G.Name, G.Shortname), 'no group'))<br>set('groupname', if(length(groupname)>0, '['+groupname+']'))</code>
254

edits

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