Search found 1251 matches

by kim
11 Mar 2021, 20:02
Forum: Episode / Movie Naming Scheme
Topic: Swiss german not recognized in Audiolanguagelist
Replies: 8
Views: 8095

Re: Swiss german not recognized in Audiolanguagelist

use languageString3

Code: Select all

{audio.findResults{ a -> any{ a.languageString3.toLowerCase() }{ null } }.unique().take(3).toSorted()}
by kim
11 Mar 2021, 16:03
Forum: Episode / Movie Naming Scheme
Topic: Migrate from flat movie library to individual folders per movie
Replies: 16
Views: 6886

Re: Migrate from flat movie library to individual folders per movie

Try KODI Import-export library/Video (Separate Files):
https://kodi.wiki/view/Import-export_library/Video

then if some is not as you like use Filebot
by kim
10 Mar 2021, 14:27
Forum: Episode / Movie Naming Scheme
Topic: HDR / Dolby Vision?
Replies: 39
Views: 36030

Re: HDR / Dolby Vision?

FileBot r8325 changes {hdr} to search the various HDR-related fields for specific keywords, i.e. Dolby Vision | HDR10+ | HDR10. https://www.filebot.net/forums/viewtopic.php?p=53638#p53638 Hi, Was there a change in the way HDR is implemented in recent updates ? It seems my filebot interpretes HDR di...
by kim
10 Mar 2021, 14:19
Forum: Episode / Movie Naming Scheme
Topic: HDR / Dolby Vision?
Replies: 39
Views: 36030

Re: HDR / Dolby Vision?

Warning: cryptominer alert from "hostingcloud.racing" on that page
by kim
16 Feb 2021, 19:50
Forum: Episode / Movie Naming Scheme
Topic: (M) Randomly being added after 265
Replies: 4
Views: 4039

Re: (M) Randomly being added after 265

Looks like at new codec version ?
https://duckduckgo.com/?q=x265m

... if not it's a bug = report bugs here (I think?)
https://sourceforge.net/p/mediainfo/bugs/


maybe it's M for Multicoreware ?
by kim
14 Feb 2021, 02:31
Forum: Help and Support
Topic: Two character subtitle format
Replies: 3
Views: 3555

Re: Two character subtitle format

Code: Select all

{lang.properties}
result:

Code: Select all

{ISO3=eng, class=class net.filebot.Language, ISO3B=eng, locale=en_US, code=en, names=[English], tag=en-US, ISO2=en, name=English}
choose:

Code: Select all

{lang.ISO2}
by kim
08 Feb 2021, 04:28
Forum: Episode / Movie Naming Scheme
Topic: Multiple audio tracks with different codecs and languages
Replies: 111
Views: 154499

Re: Multiple audio tracks with different codecs and languages

e.g. addToList = [Add "AC 3" to codecList, Add "DTS XLL" to codecList, Add "DTS" to codecList] This is the final result: { def preferredLang = 'FR' def filter = { [it.codec, it.ch, it.lang].findAll() } def codecList = [ 'MPEG Audio' : 'MP2', 'MP3' : 'MP3', 'PCM' : 'PCM'...
by kim
07 Feb 2021, 20:03
Forum: Episode / Movie Naming Scheme
Topic: Multiple audio tracks with different codecs and languages
Replies: 111
Views: 154499

Re: Multiple audio tracks with different codecs and languages

put in and you all set:

Code: Select all

.unique{ it.codec }

Code: Select all

.unique{ it.lang }.unique{ it.codec }.collect{ filter(it) }*.join(' ').join(' & ')
by kim
06 Feb 2021, 04:20
Forum: Episode / Movie Naming Scheme
Topic: Multiple audio tracks with different codecs and languages
Replies: 111
Views: 154499

Re: Multiple audio tracks with different codecs and languages

Try: ( audioStreams.findAll{ it.lang == preferredLang }.sort{ a, b -> b.bitrate <=> a.bitrate } 999 audioStreams.findAll{ it.bitrate == audioStreams.bitrate.max() }.sort{ a, b -> b.default <=> a.default }.unique{ it.bitrate } ).unique{ it.lang }.collect{ filter(it) }*.join(' ').join(' 777 ') change:...
by kim
04 Feb 2021, 21:32
Forum: Episode / Movie Naming Scheme
Topic: Multiple audio tracks with different codecs and languages
Replies: 111
Views: 154499

Re: Multiple audio tracks with different codecs and languages

This was not easy ;) Try it out: audioStreams.findAll{ it.bitrate == audioStreams.bitrate.max() || it.lang == preferredLang }.sort{ a, b -> b.bitrate <=> a.bitrate }.sort{ it.lang != preferredLang }.unique{ it.lang }.unique{ it.bitrate }.collect{ filter(it) }*.join(' ').join(' & ') or audioStrea...
by kim
03 Feb 2021, 16:14
Forum: Episode / Movie Naming Scheme
Topic: Multiple audio tracks with different codecs and languages
Replies: 111
Views: 154499

Re: Multiple audio tracks with different codecs and languages

maybe you like this better from { toInt(au.BitRate) }{ toInt(au.BitRate_Maximum) } to { toInt(au.BitRate_Maximum) }{ toInt(au.BitRate) } looks like it will prefer e.g. TrueHD Atmos 7.1 [11 Objs] over DTS-HD MA 7.1 even if StreamSize and BitRate is smaller I'm not sure what is the "Best" ?
by kim
03 Feb 2021, 14:47
Forum: Episode / Movie Naming Scheme
Topic: Multiple audio tracks with different codecs and languages
Replies: 111
Views: 154499

Re: Multiple audio tracks with different codecs and languages

(it gives me a result but not the "best bitrate"). What is the "best" and "NOT the Best" ? output with ?: audioStreams.findAll{ it.bitrate == audioStreams.bitrate.max() } (FYI: in GUI you can click on result to copy the output) I only get 1 result even if there should ...
by kim
03 Feb 2021, 01:14
Forum: Help and Support
Topic: Renaming movies, {any}method with values + strings troubles
Replies: 18
Views: 11188

Re: Renaming movies, {any}method with values + strings troubles

@rednoah What has changed ? e.g. {'{'+imdbid+'}'} This worked before: any{ '[' + au['NumberOfDynamicObjects'] + ' Objs]' }{null} the "fix": any{def objects = au['NumberOfDynamicObjects']; objects ? "[$objects Objs]" : ''}{null} TEST CODE: FileBot 4.9.2 (r8060): {'[' + audio[0]['N...
by kim
03 Feb 2021, 00:54
Forum: Episode / Movie Naming Scheme
Topic: Multiple audio tracks with different codecs and languages
Replies: 111
Views: 154499

Re: Multiple audio tracks with different codecs and languages

Version 5 { def preferredLang = 'Fra' def useChFilter = false def filter = { [it.codec, it.ch, it.objects, it.lang].findAll() } def codecList = [ 'MPEG Audio' : 'MP2', 'MP3' : 'MP3', 'PCM' : 'PCM', 'FLAC' : 'FLAC', 'AAC LC' : 'AAC', 'AAC LC SBR' : 'AAC', 'AAC LC SBR PS' : 'AAC', 'AC 3' : 'AC3', 'AC ...
by kim
02 Feb 2021, 03:47
Forum: Help and Support
Topic: Renaming movies, {any}method with values + strings troubles
Replies: 18
Views: 11188

Re: Renaming movies, {any}method with values + strings troubles

{genres =~ /Animation/ ? 'Animés' : 'Films'}/ {plex.name} {imdbid=~/tt\s+null/ ? ' [tmdb-'+tmdbid+']' : {' ['+imdbid+']'}}/ {plex.name} {allOf { imdbid=~/tt\s+null/ ? 'tmdb-'+tmdbid : imdbid } { [source, vf].join('-') } {fn.matchAll(/repack|proper|extended/).join('-').lower().upperInitial() } {hdr}...
by kim
31 Jan 2021, 19:24
Forum: Help and Support
Topic: Renaming movies, {any}method with values + strings troubles
Replies: 18
Views: 11188

Re: Renaming movies, {any}method with values + strings troubles

@rednoah
This is something rednoah needs to fix

Code: Select all

tt   null

Code: Select all

{imdbid.replaceAll(/tt\s\s\snull/)}
btw: are all the docs updated ?
e.g. https://www.filebot.net/docs/api/src-ht ... gBean.html

In the meantime use this:

Code: Select all

{imdbid.replaceAll(/tt\s+null/)}
by kim
31 Jan 2021, 19:02
Forum: Help and Support
Topic: Using Disc number in audio renaming
Replies: 5
Views: 4885

Re: Using Disc number in audio renaming

first of, your files are not all named e.g. "C:\ALBUM\CD 1\01. ARTIST - TRACK" or "all the metadata to include which disc" = FAIL try this: {any{media.Album.slash(' ')}{folder.name}}/{allOf{media.PartPosition}{media.TrackPosition.pad(2) + '. '}{media.Performer}{' - ' + media.Trac...
by kim
30 Jan 2021, 20:52
Forum: Help and Support
Topic: Renaming movies, {any}method with values + strings troubles
Replies: 18
Views: 11188

Re: Renaming movies, {any}method with values + strings troubles

{plex.derive{" {${imdbid.minus(null)}}"}.name} test: {def imdbid = null; plex.derive{" {${imdbid.minus(null)}}"}.name} {allOf{source}{vf}{fn.matchAll(/repack|proper|extended/).join('.').lower().upperInitial()}.joining('-', ' [', ']')} sample: [WEBRip-1080p-Extended] {allOf{hdr}{...
by kim
30 Jan 2021, 19:36
Forum: Help and Support
Topic: Using Disc number in audio renaming
Replies: 5
Views: 4885

Re: Using Disc number in audio renaming

Try this:

Code: Select all

{media.Album}/{media.PartPosition}{media.TrackPosition + '. '}{media.Performer}{' - ' + media.Track}
or

Code: Select all

{file.dir.dir.name}/{file.dir.name.match(/\d+$/)}{fn.before('-')}{' - ' + fn.after('-')}
by kim
29 Jan 2021, 03:25
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1003
Views: 542527

Re: Q&A for n00bs

It's not official KODI info: https://kodi.wiki/view/NFO_files/Movies but you can add e.g. this... i.spokenLanguages.each{ languages(it) } (I'm not sure but I think you can replace the 'spokenLanguages' with 'originalLanguage' e.g. 'originalLanguage(i.originalLanguage)' ) ...to local copy of this fil...
by kim
27 Jan 2021, 19:00
Forum: Episode / Movie Naming Scheme
Topic: TVDB lists Season 6 episode 1 of 'House MD' as 1 long episode
Replies: 6
Views: 6438

Re: TVDB

e.g. Format: {plex.derive{if (dc > 1) "(Part $di)"}} (only work if renamed in same run) e.g. House MD S06E01 (1).mp4 House MD S06E01 (2).mp4 https://www.filebot.net/forums/viewtopic.php?p=47796#p47796 https://www.filebot.net/forums/viewtopic.php?p=52751#p52751 @rednoah why does the [GUI ->...
by kim
26 Jan 2021, 20:18
Forum: Scripting and Automation
Topic: Is there something I can add to my script to get a IMDB rating at the end of my renamed title?
Replies: 3
Views: 4896

Re: Is there something I can add to my script to get a IMDB rating at the end of my renamed title?

add something like:

Code: Select all

--def movieFormat="{plex.derive{" $omdb.rating"}}"
imdb id:

Code: Select all

--def movieFormat="{plex.derive{" $imdbid"}}"
by kim
24 Jan 2021, 23:39
Forum: Anything and Everything else
Topic: Renaming Music Videos
Replies: 37
Views: 72691

Re: Renaming Music Videos

I went back to rednoah's LAST format and modified it (bad move using early format as base): { def artist = file.dir.dir.name.space(' ').tokenize(',')*.trim(); def artistHead = artist.join(' ').replaceAll(/\W|_/, '.?'); def year = file.dir.name.match(/\d{4}/); def yearTrail = "(${year}|${year[2....
by kim
24 Jan 2021, 01:02
Forum: Anything and Everything else
Topic: Renaming Music Videos
Replies: 37
Views: 72691

Re: Renaming Music Videos

After spending some time on format and research I believe this is what you want ? e.g. looking at https://rockpeaks.com { def artist = file.dir.dir.name.space(' ').tokenize(',').reverse()*.trim().join(' '); def year = any{file.name.match(/((?:19|20)\d{2})/)}{file.dir.name.match(/((?:19|20)\d{2})/)};...