Search found 4 matches

by Braciata
05 Apr 2024, 09:55
Forum: Episode / Movie Naming Scheme
Topic: Multiple audio tracks with different codecs and languages
Replies: 111
Views: 160094

Re: Multiple audio tracks with different codecs and languages

Hi everyone. I definetly want to use this script: { types = ['lang', 'codec', 'ch'] /* ['lang','codec', 'ch', 'objects'] */ replaceSpaces = ' ' /* EN?DTS-HD?MA?7.1?-?EN?DTS?5.1 */ joinWithin = '.' /* ENG?DTS-HD?MA?7.1 */ joinStreams = '.' /* ENG DTS-HD MA 7.1 ? FRA AC3 5.1 */ joinLangs = '.' /* ENG?...
by Braciata
02 Apr 2023, 09:59
Forum: Episode / Movie Naming Scheme
Topic: Group languages by audio codec (e.g. ITA.ENG.DTS.JAP.AC3)
Replies: 7
Views: 2689

Re: Group languages by audio codec (e.g. ITA.ENG.DTS.JAP.AC3)

This code does the group by audio codec, so that's completely unrelated to the language, so adding some replacement there does nothing: audio.groupBy{ a -> a.format.removeAll(/[^A-Z0-9]/) } You'll wanna do the iTA replacement on the final result: { '.' + audio.groupBy{ a -> a.format.removeAll(/[^A-...
by Braciata
02 Apr 2023, 09:14
Forum: Episode / Movie Naming Scheme
Topic: Group languages by audio codec (e.g. ITA.ENG.DTS.JAP.AC3)
Replies: 7
Views: 2689

Re: Group languages by audio codec (e.g. ITA.ENG.DTS.JAP.AC3)

You can call .replace('ITA', 'iTA') on any String value. This is what I tried but I couldn't manage it to work. That's what I tried. Maybe wrong position? { audio.groupBy{ a -> a.format.removeAll(/[^A-Z0-9]/).replace('ITA', 'iTA')}.collect{ c, a -> a.LanguageString3*.upper().unique().join('-') + ' ...
by Braciata
02 Apr 2023, 08:07
Forum: Episode / Movie Naming Scheme
Topic: Group languages by audio codec (e.g. ITA.ENG.DTS.JAP.AC3)
Replies: 7
Views: 2689

Re: Movies scheme for beginners

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: { '.' + vs } { '.' + vf } { '.' + audio.groupB...