Search found 1251 matches

by kim
01 Mar 2023, 00:04
Forum: Anything and Everything else
Topic: show recommendations?
Replies: 1
Views: 5899

Re: show recommendations?

Loook at Trending and What's Popular

https://www.themoviedb.org/
by kim
01 Mar 2023, 00:00
Forum: Help and Support
Topic: hdr.replaceAll('HDR10+','HDR10Plus') matches HDR10 as well
Replies: 2
Views: 1248

Re: hdr.replaceAll('HDR10+','HDR10Plus') matches HDR10 as well

Code: Select all

{ 'bla.bla.HDR10+.bla.bla'.replaceAll(/HDR10\+/,'HDR10Plus') }
output:
bla.bla.HDR10Plus.bla.bla
by kim
11 Feb 2023, 19:37
Forum: Episode / Movie Naming Scheme
Topic: trying to use info.certifications
Replies: 8
Views: 2398

Re: trying to use info.certifications

What about this: ?

Code: Select all

{ info.certifications*.value*.findAll(/\d+/).flatten()*.toInteger().average().toInteger() < 14 ? 'kids' : 'adults' }
or

Code: Select all

{ info.certifications*.value*.findAll(/\d+/).flatten()*.toInteger().average().round() < 14 ? 'kids' : 'adults' }
by kim
31 Jan 2023, 14:28
Forum: Scripting and Automation
Topic: [NFO] Other MPAA certifiaction country
Replies: 10
Views: 10579

Re: [NFO] Other MPAA certifiaction country

<mpaa></mpaa> Country specific mpaa rating system. Check with skin author which prefix is required to display your country local rating system https://kodi.wiki/view/NFO_files/Movies https://kodi.wiki/view/NFO_files/TV_shows but kodi will only show 1 tag so I combined it like so: e.g. <mpaa>11 (DK ...
by kim
27 Dec 2022, 20:28
Forum: Episode / Movie Naming Scheme
Topic: Multiple audio tracks with different codecs and languages
Replies: 111
Views: 185851

Re: Multiple audio tracks with different codecs and languages

that needed a lot of work I changed a lot so something may be broken... try it out: {drive}{'/' + n.colon(' - ')}{' (' + y + ')'}{'/' + n.colon(' - ')}{' (' + y + ')'} { any{ fn.match(/Director.?s|director|dir(?=\s)|dir(?=\W)/) ? '[Version Director]' : ''} { fn.match(/Extended|extendida|ext(?=\s ...
by kim
21 Dec 2022, 02:19
Forum: Episode / Movie Naming Scheme
Topic: Multiple audio tracks with different codecs and languages
Replies: 111
Views: 185851

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.1 ...
by kim
16 Dec 2022, 16:48
Forum: Episode / Movie Naming Scheme
Topic: Multiple audio tracks with different codecs and languages
Replies: 111
Views: 185851

Re: Multiple audio tracks with different codecs and languages

I will try to help, but I don't have the energy / time now maybe after Christmas ?

It's not easy, even harder when I can't test it proper with sample files
I need small sample files (5 sec should be enough maybe less)
by kim
27 Nov 2022, 14:41
Forum: Episode / Movie Naming Scheme
Topic: Multiple audio tracks with different codecs and languages
Replies: 111
Views: 185851

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

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: 111
Views: 185851

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: 111
Views: 185851

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 ...
by kim
24 Aug 2022, 13:21
Forum: Windows
Topic: How to add END in season ?
Replies: 2
Views: 1645

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: 2294

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: 2894

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: 4097

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: 8702

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: 2218

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: 2689

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: 2738

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-o ...
by kim
05 Feb 2022, 14:30
Forum: Scripting and Automation
Topic: "HDR" Added to Every Movie Title
Replies: 4
Views: 3377

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: 39796

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: 15
Views: 16835

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 ...
by kim
01 Feb 2022, 22:18
Forum: Feature Requests and Bug Reports
Topic: Feature Request: Episode level NFO
Replies: 15
Views: 16835

Re: Feature Request: Episode level NFO

I think you need to add

Code: Select all

instanceof MultiEpisode