could someone help me figure out how to use if and else if/else properly with filebot?
I would like to have different formatting depending on the studio. But it seems I cannot just return the full expression.
I would like to have the year first, if the movie is part of a movie series.
Code: Select all
{
if ('Marvel Studios' in info.productionCompanies) {
return "./Marvel" /({y}) {n.replaceAll(/[?*:]/,'.').upperInitial()} {AudioLanguages} ({vf}.{vc}_{af}.{ac})
} else if ('DC Entertainment in info.productionCompanies) {
return "." /({y}) {n.replaceAll(/[?*:]/,'.').upperInitial()} ({y}) {AudioLanguages} ({vf}.{vc}_{af}.{ac})
} else {
return "." /{n.replaceAll(/[?*:]/,'.').upperInitial()} ({y}) {AudioLanguages} ({vf}.{vc}_{af}.{ac})
}
}
Thank you

Alex