254
edits
Line 52: | Line 52: | ||
set('mepno', max(A.TotalEpisodeCount, E.EpisodeTypeCount)) | set('mepno', max(A.TotalEpisodeCount, E.EpisodeTypeCount)) | ||
set('epno', padl(E.EpisodeNo, max(1, length(mepno)), '0') + version) | set('epno', padl(E.EpisodeNo, max(1, length(mepno)), '0') + version) | ||
if(E.TypeId=2, set('epno', 'S'+epno)) | |||
if(E.TypeId=3, set('epno', 'C'+epno)) | |||
if(E.TypeId=4, set('epno', 'T'+epno)) | |||
if(E.TypeId=5, set('epno', 'P'+epno)) | |||
if(E.TypeId=6, set('epno', 'O'+epno)) | |||
set('crc', '('+uc(H.Crc32)+')') | set('crc', '('+uc(H.Crc32)+')') | ||
atitle + ' - ' + epno + ' - ' + etitle + ' ' + groupname + crc + '.' + F.FileType | atitle + ' - ' + epno + ' - ' + etitle + ' ' + groupname + crc + '.' + F.FileType |
edits