Code: Select all
{c{genres.take(3).join(' ').match(/Horror|Comedy|Documentary|Drama|Children|Reality|Game Show|Science-Fiction|Adventure|Action|Animation|Anime/)} ?: "Unknown"/{genres}}
now its just not pulling anything for the genre.
if anyone wants to help me update my script overall that would be great but right now mostly just wanna get genre working again.
Code: Select all
Y:/TOSORT/{c{genres.take(3).join(' ').match(/Horror|Comedy|Documentary|Drama|Children|Reality|Game Show|Science-Fiction|Adventure|Action|Animation|Anime/)} ?: "Unknown"/{genres}}\{n.replaceAll(/[!?.]+$/).replaceAll(/[`´‘’ʻ]/, "'").lowerTrail().replacePart(', $1')}\Season {s.pad(2)}\{n.replaceAll(/[!?.]+$/).replaceAll(/[`´‘’ʻ]/, "'").lowerTrail().replacePart(', $1')} - {S00E00} - {t.replaceAll(/[!?.]+$/).replaceAll(/[`´‘’ʻ]/, "'").lowerTrail().replacePart(', Part $1')}