Search found 8 matches

by deejayexe
27 Dec 2022, 00:47
Forum: Episode / Movie Naming Scheme
Topic: Multiple audio tracks with different codecs and languages
Replies: 111
Views: 154975

Re: Multiple audio tracks with different codecs and languages

Hi All I finally had the energy... I have tried to make it easy to use and customize... It should also be better to detect the language if missing tag in file give it a try: { types = ['lang', 'codec', 'ch'] /* ['lang','codec', 'ch', 'objects'] */ replaceSpaces = ' ' /* EN?DTS-HD?MA?7.1?-?EN?DTS?5....
by deejayexe
11 Dec 2022, 02:47
Forum: Episode / Movie Naming Scheme
Topic: Multiple audio tracks with different codecs and languages
Replies: 111
Views: 154975

Re: Multiple audio tracks with different codecs and languages

kim wrote: 27 Nov 2022, 14:41 Can u finally help me about my last post? ;)
by deejayexe
27 Nov 2022, 22:36
Forum: Episode / Movie Naming Scheme
Topic: Multiple audio tracks with different codecs and languages
Replies: 111
Views: 154975

Re: Multiple audio tracks with different codecs and languages

try this: replace the last part def custom = audioStreams.groupBy{ it.lang }.values()*.findAll{ it.lang == preferredLang || it.bitrate == audioStreams.bitrate.max() }.findAll { it }.collect{ [lang: it.unique{it.lang}.lang.join('|'), codec: it.unique{it.codec}.codec.join(), ch: it.unique{it.ch}.ch.j...
by deejayexe
26 Nov 2022, 00:59
Forum: Episode / Movie Naming Scheme
Topic: Multiple audio tracks with different codecs and languages
Replies: 111
Views: 154975

Re: Multiple audio tracks with different codecs and languages

cant you just remove the .unique() from {[bestPreferredLang, bestBitRate].unique().findAll().join(' - ')} ? Ok I have eliminated that function from the code but now in many examples the same language appears repeated like this: ES EAC3 5.1 - ES EAC3 5.1 And checking the media info has ES and EN. Wh...
by deejayexe
23 Nov 2022, 23:46
Forum: Episode / Movie Naming Scheme
Topic: Multiple audio tracks with different codecs and languages
Replies: 111
Views: 154975

Re: Multiple audio tracks with different codecs and languages

sample ES AC3 5.1 - EN DTS-HD MA 7.1 { def preferredLang = 'ES' def fallbackLang = any{languages*.ISO2*.upper().join('-')}{'YourDefaultLandHere'} def useChFilter = false def filter = { [it.lang, it.codec, it.ch].findAll() } def codecList = [ 'MPEG Audio' : 'MP2', 'MP3' : 'MP3', 'PCM' : 'PCM', 'FLAC...
by deejayexe
19 Nov 2022, 21:14
Forum: Episode / Movie Naming Scheme
Topic: Multiple audio tracks with different codecs and languages
Replies: 111
Views: 154975

Re: Multiple audio tracks with different codecs and languages

Hi I see that post to improve my filebot expression, the current code is: {drive}/{n.colon(' - ')} ({y}) {" {tmdb-$id}"}/{n.colon(' - ')} ({y}) {any{fn.match(/Director.?s|director|dir(?=\s)|dir(?=\W)/) ? '[Version Director]' : ''} {fn.match(/Extended|extendida|ext(?=\s)|ext(?=\W)/)? '[V. ...
by deejayexe
03 Nov 2022, 01:29
Forum: Episode / Movie Naming Scheme
Topic: Multiple audio tracks with different codecs and languages
Replies: 111
Views: 154975

Re: Multiple audio tracks with different codecs and languages

Hi I see that post to improve my filebot expression, the current code is: {drive}/{n.colon(' - ')} ({y}) {" {tmdb-$id}"}/{n.colon(' - ')} ({y}) {any{fn.match(/Director.?s|director|dir(?=\s)|dir(?=\W)/) ? '[Version Director]' : ''} {fn.match(/Extended|extendida|ext(?=\s)|ext(?=\W)/)? '[V. E...
by deejayexe
20 Jun 2022, 00:00
Forum: Episode / Movie Naming Scheme
Topic: Netflix, Amazon and others Naming Scheme
Replies: 1
Views: 1252

Netflix, Amazon and others Naming Scheme

Hi! I have been working for a long time with a script for movies and tv shows and I already have it almost as I want except for cases where the fields are not present: [{fn.match(/ATVP|ATVP[+]|ATV|AMZN|DSNP[+]|DSN[+]|DSNP|DSNY|Disney[+]|DisneyPlus|HBO|HMAX|HULU|NF|IMAX|FLMN/)} And in my example: Pet...