Possible but not easy. Intricate custom requirements will require a fair bit of programming experience to create and maintain. Definitely not recommended for beginners.
If you already have a format, then you can just add something like this at the end:
Code: Select all
{ '.' + vs }
{ '.' + vf }
{ '.' + audio.groupBy{ a -> a.format.removeAll(/[^A-Z0-9]/) }.collect{ c, a -> a.LanguageString3*.upper().unique().join('.') + '.' + c }.join('.') }
{ '.Subs.' + textLanguages.ISO3*.upper().join('.') }
{ '.[' + group + ']' }
If you want to integrate with the
{plex} format then then it'll get a bit more tricky:
Code: Select all
X:/Media/
{
plex.derive
{ ' - ' }
{ allOf
{ vs }
{ vf }
{ audio.groupBy{ a -> a.format.removeAll(/[^A-Z0-9]/) }.collect{ c, a -> a.LanguageString3*.upper().unique().join('.') + '.' + c }.join('.') }
{ 'Subs.' + textLanguages.ISO3*.upper().join('.') }
{ '[' + group + ']' }
.join('.')
}
}