[HELP] Format chain fails
Posted: 17 Jul 2020, 09:41
Hello,
I am trying to make a string to rename my files, this is what I have for now:
What it should show is:
But it fails saying:
How can i solve it?
Is it possible to add the alternative name like here: viewtopic.php?t=2#p7320
Is it possible to put the year of appearance of each season?
Many thanks
I am trying to make a string to rename my files, this is what I have for now:
Code: Select all
{' '+any{certification}{imdb.certification}.replaceAll(/^\d+$/, 'PG-$0')}/{genre}/{audio.size() > 2 ? 'Multi' : audio.size() > 1 ? 'Dual' : audio.language[0].replace('es', 'Spa') : audio.language[0].replace('spa', 'Spa') : audio.language[0].replace('sp', 'Spa') : audio.language[0].replace('eng', 'Eng') : audio.language[0].replace('en', 'Eng') : audio.language[0].replace('jp', 'Jap') : audio.language[0].replace('ja', 'Jap')} - {text.Language.contains('en') ? 'Eng':""} {text.Language.contains('es') ? 'Spa':""}/{" [$hd]"}{" [$vf]"}{" [$source]"}{" [$vc]"}{" [$ac]"} {n} {"( if (norm(n) != norm(primaryTitle)) ' ('+norm(primaryTitle)+')')"} [{y}] { "[$fn.matchAll(/extended|uncensored|remastered|unrated|uncut|directors.cut|special.edition/)*.upperInitial()*.lowerTrail().sort().join(', ').replaceAll(/[._]/, " ")]"} {"[$group]"}/{'Season '+s}/{n} - {absolute} - {sxe} - {t} [{crc32}]
Code: Select all
TV-14\Action\Jap - Eng Spa\[HD][1080p][x264][EAC3] Ghost in the Shell Stand Alone Complex [1995]\Season 3\Ghost in the Shell Stand Alone Complex - 53 - 3x01 - SIN CONFLICTOS NO HAY VIDA - Guerra Sostenible [B0B4D609]
Code: Select all
SyntaxError: unexpected token:
Is it possible to add the alternative name like here: viewtopic.php?t=2#p7320
Is it possible to put the year of appearance of each season?
Many thanks