Search found 1251 matches
- 01 Mar 2023, 00:11
- Forum: Feature Requests and Bug Reports
- Topic: When renaming multiple versions of the same movie, edits to one filename are applied to both files (Disable Column Edit)
- Replies: 2
- Views: 3260
Re: When renaming multiple versions of the same movie, edits to one filename are applied to both files
Share your format and maybe there a is a better way of doing it
- 01 Mar 2023, 00:04
- Forum: Anything and Everything else
- Topic: show recommendations?
- Replies: 1
- Views: 20308
- 01 Mar 2023, 00:00
- Forum: Help and Support
- Topic: hdr.replaceAll('HDR10+','HDR10Plus') matches HDR10 as well
- Replies: 2
- Views: 3167
Re: hdr.replaceAll('HDR10+','HDR10Plus') matches HDR10 as well
Code: Select all
{ 'bla.bla.HDR10+.bla.bla'.replaceAll(/HDR10\+/,'HDR10Plus') }bla.bla.HDR10Plus.bla.bla
- 11 Feb 2023, 19:37
- Forum: Episode / Movie Naming Scheme
- Topic: trying to use info.certifications
- Replies: 8
- Views: 6076
Re: trying to use info.certifications
What about this: ?
or
Code: Select all
{ info.certifications*.value*.findAll(/\d+/).flatten()*.toInteger().average().toInteger() < 14 ? 'kids' : 'adults' }Code: Select all
{ info.certifications*.value*.findAll(/\d+/).flatten()*.toInteger().average().round() < 14 ? 'kids' : 'adults' }- 31 Jan 2023, 14:28
- Forum: Scripting and Automation
- Topic: [NFO] Other MPAA certifiaction country
- Replies: 10
- Views: 15162
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 ...
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 ...
- 27 Dec 2022, 20:28
- Forum: Episode / Movie Naming Scheme
- Topic: Multiple audio tracks with different codecs and languages
- Replies: 111
- Views: 265020
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 ...
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 ...
- 21 Dec 2022, 02:19
- Forum: Episode / Movie Naming Scheme
- Topic: Multiple audio tracks with different codecs and languages
- Replies: 111
- Views: 265020
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 ...
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 ...
- 16 Dec 2022, 16:48
- Forum: Episode / Movie Naming Scheme
- Topic: Multiple audio tracks with different codecs and languages
- Replies: 111
- Views: 265020
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)
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)
- 27 Nov 2022, 14:41
- Forum: Episode / Movie Naming Scheme
- Topic: Multiple audio tracks with different codecs and languages
- Replies: 111
- Views: 265020
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 ...
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 ...
- 25 Nov 2022, 15:38
- Forum: Episode / Movie Naming Scheme
- Topic: Multiple audio tracks with different codecs and languages
- Replies: 111
- Views: 265020
Re: Multiple audio tracks with different codecs and languages
cant you just remove the
from
?
Code: Select all
.unique()Code: Select all
{[bestPreferredLang, bestBitRate].unique().findAll().join(' - ')}- 21 Nov 2022, 20:09
- Forum: Episode / Movie Naming Scheme
- Topic: Multiple audio tracks with different codecs and languages
- Replies: 111
- Views: 265020
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 ...
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 ...
- 08 Sep 2022, 19:23
- Forum: Episode / Movie Naming Scheme
- Topic: Multiple audio tracks with different codecs and languages
- Replies: 111
- Views: 265020
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 ...
{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 ...
- 24 Aug 2022, 13:21
- Forum: Windows
- Topic: How to add END in season ?
- Replies: 2
- Views: 3614
- 23 Aug 2022, 12:30
- Forum: Episode / Movie Naming Scheme
- Topic: How to know season end episode automatically?
- Replies: 4
- Views: 4814
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()}]"}- 29 Jul 2022, 11:04
- Forum: Help and Support
- Topic: Make the artwork.* script generate cover.jpg files as welll
- Replies: 2
- Views: 3543
- 30 Jun 2022, 11:19
- Forum: Feature Requests and Bug Reports
- Topic: Feature Request: Select Best Match Screen to sort alphabetically
- Replies: 3
- Views: 5268
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
maybe use EpisodeFunnel to sort them
the more words match = higher on list
the closer too the matched year = higher on list
- 09 Jun 2022, 14:28
- Forum: Episode / Movie Naming Scheme
- Topic: How to detect silent movies
- Replies: 11
- Views: 8048
Re: How to detect silent movies
you can use
https://www.themoviedb.org/keyword/154802/movie
Code: Select all
{'silent film' in info.keywords ? 'SILENT' : ''}- 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: 14939
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 ...
{
'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 ...
- 03 May 2022, 12:36
- Forum: Help and Support
- Topic: New to any type of coding
- Replies: 2
- Views: 4886
Re: New to any type of coding
To get you started
sample:
https://regexr.com/6krvi
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('.')}English.Premier.League.2009-08-14.Aston.Villa.vs.Wigan
https://regexr.com/6krvi
- 27 Apr 2022, 11:02
- Forum: Help and Support
- Topic: Filebot Renaming
- Replies: 4
- Views: 5210
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+)/)}- 15 Feb 2022, 15:12
- Forum: Episode / Movie Naming Scheme
- Topic: Keeping DC and Original both in a PLEX collection?
- Replies: 2
- Views: 4628
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 ...
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 ...
- 05 Feb 2022, 14:30
- Forum: Scripting and Automation
- Topic: "HDR" Added to Every Movie Title
- Replies: 4
- Views: 6254
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('.')}- 02 Feb 2022, 16:44
- Forum: Scripting and Automation
- Topic: Unofficial custom AMC script (intermediate users)
- Replies: 28
- Views: 78824
Re: Unofficial custom AMC script (intermediate users)
no, feel free to make one
yes it does
yes it does
- 02 Feb 2022, 14:42
- Forum: Feature Requests and Bug Reports
- Topic: Feature Request: Episode level NFO
- Replies: 15
- Views: 22747
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 ...
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 ...
- 01 Feb 2022, 22:18
- Forum: Feature Requests and Bug Reports
- Topic: Feature Request: Episode level NFO
- Replies: 15
- Views: 22747
Re: Feature Request: Episode level NFO
I think you need to add
Code: Select all
instanceof MultiEpisode