Search found 1243 matches

by kim
27 Nov 2022, 14:41
Forum: Episode / Movie Naming Scheme
Topic: Multiple audio tracks with different codecs and languages
Replies: 104
Views: 128287

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.jo...
by kim
25 Nov 2022, 15:38
Forum: Episode / Movie Naming Scheme
Topic: Multiple audio tracks with different codecs and languages
Replies: 104
Views: 128287

Re: Multiple audio tracks with different codecs and languages

cant you just remove the

Code: Select all

.unique()
from

Code: Select all

{[bestPreferredLang, bestBitRate].unique().findAll().join(' - ')}
?
by kim
21 Nov 2022, 20:09
Forum: Episode / Movie Naming Scheme
Topic: Multiple audio tracks with different codecs and languages
Replies: 104
Views: 128287

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 kim
08 Sep 2022, 19:23
Forum: Episode / Movie Naming Scheme
Topic: Multiple audio tracks with different codecs and languages
Replies: 104
Views: 128287

Re: Multiple audio tracks with different codecs and languages

try this (make a new dif. post about the DV in folder) : {plex.derive{" $hdr"}{" $hd"}.name}/{plex.name}{allOf{vs}{hd}{hdr}{bitdepth}.joining('.', ' (', '.') } { def preferredLang = 'IT' def fallbackLang = any{languages*.ISO2*.upper().join('-')}{'YourDefaultLandHere'} def useChFilter = false def fil...
by kim
24 Aug 2022, 13:21
Forum: Windows
Topic: How to add END in season ?
Replies: 2
Views: 388

Re: How to add END in season ?

Code: Select all

{info.status}
viewtopic.php?t=13336

PS: do not make new post with same question
by kim
23 Aug 2022, 12:30
Forum: Episode / Movie Naming Scheme
Topic: How to know season end episode automatically?
Replies: 4
Views: 482

Re: How to know season end episode automatically?

e.g.
[ENDED]

Code: Select all

{ if (info.status != 'Continuing' && info.status != 'Returning Series') " [${info.status.upper()}]"}
by kim
30 Jun 2022, 11:19
Forum: Feature Requests and Bug Reports
Topic: Feature Request: Select Best Match Screen to sort alphabetically
Replies: 3
Views: 658

Re: Feature Request: Select Best Match Screen to sort alphabetically

@rednoah
maybe use EpisodeFunnel to sort them

the more words match = higher on list
the closer too the matched year = higher on list
by kim
09 Jun 2022, 14:28
Forum: Episode / Movie Naming Scheme
Topic: How to detect silent movies
Replies: 11
Views: 1028

Re: How to detect silent movies

you can use

Code: Select all

{'silent film' in info.keywords ? 'SILENT' : ''}
https://www.themoviedb.org/keyword/154802/movie
by kim
27 May 2022, 22:50
Forum: Help and Support
Topic: Is it possible to automatically detect Marvel movies and put them in their own folder?
Replies: 20
Views: 3946

Re: Is it possible to automatically detect Marvel movies and put them in their own folder?

this works just fine ? { 'Marvel Studios' in info.productionCompanies ? 'Marvel Movies' : {'DC Entertainment' in info.productionCompanies ? 'DC Comics Movies' : {'Lucasfilm' in info.productionCompanies ? 'Star Wars' : {'Eon Productions' in info.productionCompanies ? 'James Bond' : 'Movies' } } } } ....
by kim
03 May 2022, 12:36
Forum: Help and Support
Topic: New to any type of coding
Replies: 2
Views: 624

Re: New to any type of coding

To get you started ;)

Code: Select all

{fn.replaceAll(/(\w+).((?:19|20)\d{2}).(.+.vs.\w+).(\d{2}).(\d{2}).(\d{3}p)(.+)/, '$1 $2-$4-$5 $3').replace('EPL','English Premier League').space('.')}
sample:
English.Premier.League.2009-08-14.Aston.Villa.vs.Wigan

https://regexr.com/6krvi
by kim
27 Apr 2022, 11:02
Forum: Help and Support
Topic: Filebot Renaming
Replies: 4
Views: 811

Re: Filebot Renaming

try

Code: Select all

{folder.dir.name.space('.').replace("&", "and").replaceAll(/[!\[\]:'()?+-]/, "").replace(",", ".").replace("..", ".")}{any{'.'+s00e00}{'.'+fn.match(/(s\d+e\d+)-?(e\d+)?/)}}{fn.after(/(e\d+)/)}
by kim
15 Feb 2022, 15:12
Forum: Episode / Movie Naming Scheme
Topic: Keeping DC and Original both in a PLEX collection?
Replies: 2
Views: 1102

Re: Keeping DC and Original both in a PLEX collection?

Different movie versions https://support.plex.tv/articles/200381043-multi-version-movies/ https://www.plexopedia.com/plex-media-server/general/organize-movie-files-plex/#differentversions Plex Tip #1 – Organizing separate Editions of the same movie https://blankstechblog.com/2016/05/04/plex-tip-1-or...
by kim
05 Feb 2022, 14:30
Forum: Scripting and Automation
Topic: "HDR" Added to Every Movie Title
Replies: 4
Views: 1347

Re: "HDR" Added to Every Movie Title

Code: Select all

p:/movies/{n.sortName('$2, $1')} ({y})/{n}{'.'+allOf{vf}{channels}{vc}{aco}{bitdepth+'bit'}{HDR ? 'HDR' : null}.join('.')}
by kim
02 Feb 2022, 16:44
Forum: Scripting and Automation
Topic: Unofficial custom AMC script (intermediate users)
Replies: 26
Views: 28617

Re: Unofficial custom AMC script (intermediate users)

no, feel free to make one
yes it does
by kim
02 Feb 2022, 14:42
Forum: Feature Requests and Bug Reports
Topic: Feature Request: Episode level NFO
Replies: 14
Views: 5235

Re: Feature Request: Episode level NFO

No it's not and it's easy to add I did years ago ;) https://www.filebot.net/forums/viewtopic.php?f=4&t=5451 NFO: 1 ep: <episodedetails> </episodedetails> 2 ep <episodedetails> </episodedetails> <episodedetails> </episodedetails> 3 ep <episodedetails> </episodedetails> <episodedetails> </episodedetai...
by kim
01 Feb 2022, 22:18
Forum: Feature Requests and Bug Reports
Topic: Feature Request: Episode level NFO
Replies: 14
Views: 5235

Re: Feature Request: Episode level NFO

I think you need to add

Code: Select all

instanceof MultiEpisode
by kim
01 Feb 2022, 22:11
Forum: Episode / Movie Naming Scheme
Topic: Way to add LANGUAGE only when it isn't English?
Replies: 31
Views: 4378

Re: Way to add LANGUAGE only when it isn't English?

Code: Select all

{ plex[1] }/{ plex.derive{allOf{ languages =~ /eng/ ? null : languages.name[0].upper() }{genre}{director}{vf}.joining(', ', ' [', ']')}.name }
Hellboy (2004)/Hellboy (2004) [Fantasy, Guillermo del Toro, 1080p]
by kim
31 Jan 2022, 22:33
Forum: Episode / Movie Naming Scheme
Topic: Way to add LANGUAGE only when it isn't English?
Replies: 31
Views: 4378

Re: Way to add LANGUAGE only when it isn't English?

what strange results! ? https://www.themoviedb.org/movie/52999-l-adversaire?language=en-US { plex.derive{allOf{ languages =~ /eng/ ? null : languages.name[0].upper() }{genre}{director}{vf}.joining(', ', ' [', ']')}.name } {(plex^ null).name } {allOf{ languages =~ /eng/ ? null : languages.name[0].upp...
by kim
31 Jan 2022, 16:34
Forum: Episode / Movie Naming Scheme
Topic: Way to add LANGUAGE only when it isn't English?
Replies: 31
Views: 4378

Re: Way to add LANGUAGE only when it isn't English?

Code: Select all

{plex.name} {allOf{ languages =~ /eng/ ? null : languages.name[0].upper() }{genre}{director}{vf}.joining(', ', ' [', ']')}
sample:
The Adversary (2002) [FRENCH, Mystery, Nicole Garcia, 1080p]
by kim
31 Jan 2022, 16:16
Forum: Windows
Topic: Use French Title for French movies but English title for other movies
Replies: 4
Views: 1008

Re: Need help with functions not working

Code: Select all

{def norm = {it.replaceAll(/(?i)[abcde]/)}; norm(n) + ' vs ' + n}
sample:
Th isstr rtist vs The Disaster Artist
only use if you need to do the same thing multiple times within a

Code: Select all

{}
by kim
22 Jan 2022, 02:57
Forum: Windows
Topic: Movie Mode : hr:min:sec format
Replies: 15
Views: 2469

Re: Movie Mode : hr:min:sec format

Don't write "code", but tell us the END RESULT you want and a sample show to test with. {"character :") ( character.name[1] } ? {character.name[1]} = No such property: character for class = bad code This does like above but work: { def Character = net.filebot.WebServices.TheTVDB.getActors(series.id,...
by kim
21 Jan 2022, 18:38
Forum: Windows
Topic: Movie Mode : hr:min:sec format
Replies: 15
Views: 2469

Re: Movie Mode : hr:min:sec format

{def characters=["Mickey"," Minnie"," Donald" ,"Daisy"]; characters instanceof List} stop this and use a CSV file like rednoah wrote back in 2018 https://www.filebot.net/forums/viewtopic.php?p=36619#p36619 https://www.filebot.net/forums/viewtopic.php?p=56089#p56089 https://www.filebot.net/forums/vi...
by kim
20 Jan 2022, 05:46
Forum: Windows
Topic: No more Subtitles after Opensubtitles hack
Replies: 21
Views: 4181

Re: No more Subtitles after Opensubtitles hack

cool, so this bypasses the MD5 encode and store it in "clear text" ?
maybe people need to clear cache to force the script update