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

Line 106: Line 106:
if(length(crc)>0, set('crc', '('+uc(crc)+')'))
if(length(crc)>0, set('crc', '('+uc(crc)+')'))
set('filename', limit(limit(limit(atitle, 90) + ' - ' + epno + ' - ' + etitle, 200) + ' ' + groupname, 235) + crc + '.' + F.FileType)
set('filename', limit(limit(limit(atitle, 90) + ' - ' + epno + ' - ' + etitle, 200) + ' ' + groupname, 235) + crc + '.' + F.FileType)
replace(filename, '*', ' ')
set('filename', replace(filename, '*', ' '))
replace(filename, '/', ' ')
set('filename', replace(filename, '/', ' '))
replace(filename, '?', ' ')
set('filename', replace(filename, '?', ' '))
replace(filename, ':', ' ')
set('filename', replace(filename, ':', ' '))
replace(filename, '"', ' ')
set('filename', replace(filename, '"', ' '))
replace(filename, '<', ' ')
set('filename', replace(filename, '<', ' '))
replace(filename, '>', ' ')
set('filename', replace(filename, '>', ' '))
replace(filename, '|', ' ')
set('filename', replace(filename, '|', ' '))
replace(filename, '  ', ' ')
set('filename', replace(filename, '  ', ' '))
filename
</pre></code>
</pre></code>


254

edits

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