Search found 1050 matches

by kim
18 Jun 2020, 06:05
Forum: Episode / Movie Naming Scheme
Topic: Movie Renaming Expression for "Studio" ?
Replies: 8
Views: 1418

Re: Movie Renaming Expression for "Studio" ?

Code: Select all

{info.productionCompanies}
by kim
17 Jun 2020, 01:14
Forum: Help and Support
Topic: Replace / not working
Replies: 5
Views: 721

Re: Replace / not working

so ?

Code: Select all

{'artist 1/.artist 2'.slash(', ')}
try

Code: Select all

{'artist 1/.artist 2'.replaceAll('/.', ', ')}
by kim
15 Jun 2020, 18:41
Forum: Episode / Movie Naming Scheme
Topic: Source Media {vs} and {source}
Replies: 16
Views: 13804

Re: Source Media {vs} and {source}

it's Regular Expressions
https://regexr.com/

Code: Select all

\d{3,4}[p]
= e.g. 720p or 1080p
by kim
15 Jun 2020, 18:37
Forum: Episode / Movie Naming Scheme
Topic: newbie help - naming UHD or 4K or 2160p and REMUX plus more
Replies: 20
Views: 2387

Re: newbie help - naming UHD or 4K or 2160p and REMUX plus more

I do not recommend having too much in folder name title year tags... all else in filename only... but this will give you most of it: {'D:/'}{plex.name}{allOf{tags.join(', ')}{vs}{hd}{fn.match(/REMUX/)}.joining('] [', ' [', ']')} or {'D:/'}{plex.name}{allOf{tags.join(', ')}{any{vs}{'BluRay'}}{hd}{fn....
by kim
15 Jun 2020, 01:11
Forum: Episode / Movie Naming Scheme
Topic: Source Media {vs} and {source}
Replies: 16
Views: 13804

Re: Source Media {vs} and {source}

it's not format code standardized = {vs} correct way ;) = {source} but you can use this: {fn.replaceAll(/(?i)(?:(?:ABC|ATVP|AMZN|BBC|CBS|CC|CR|CW|DCU|DSNP|DSNY|FBWatch|FREE|FOX|HMAX|HULU|iP|LIFE|MTV|NBC|NICK|NF|RED|TF1|STZ)[.-])?(?:WEB.?DL|WEB.?DLRip|WEB.?Cap|WEB.?Rip|HC|HD.?Rip|VODR|VODRip|PPV|PPVR...
by kim
14 Jun 2020, 21:40
Forum: Episode / Movie Naming Scheme
Topic: Source Media {vs} and {source}
Replies: 16
Views: 13804

Re: Source Media {vs} and {source}

VODR|VODRip WEB-DL (?:(?:ABC|ATVP|AMZN|BBC|CBS|CC|CR|CW|DCU|DSNP|DSNY|FBWatch|FREE|FOX|HMAX|HULU|iP|LIFE|MTV|NBC|NICK|NF|RED|TF1|STZ)[.-])?(?:WEB.?DL|WEB.?DLRip|WEB.?Cap|WEB.?Rip|HC|HD.?Rip|VODR|VODRip|PPV|PPVRip|iTunesHD|ithd|AmazonHD|NetflixHD|NetflixUHD|(?<=\d{3,4}[p].)WEB|WEB(?=.[hx]\d{3})) so ...
by kim
12 Jun 2020, 16:38
Forum: Feature Requests and Bug Reports
Topic: Request: Collections extras (url & cover)
Replies: 8
Views: 1103

Re: Request: Collections extras (url & cover)

myabe something like:

Code: Select all

{
	if (folder instanceof Collection) {
		getCollectionInfo()
	}
}
FYI: KODI set info
https://kodi.wiki/view/Movie_sets_artwork
by kim
12 Jun 2020, 02:46
Forum: Feature Requests and Bug Reports
Topic: Request: Collections extras (url & cover)
Replies: 8
Views: 1103

Re: Request: Collections extras (url & cover)

This should be easy because the info is in the main movie lookup

e.g.

Code: Select all

"belongs_to_collection":{"id":87096,"name":"Avatar Collection","poster_path":"/nslJVsO58Etqkk17oXMuVK4gNOF.jpg","backdrop_path":"/8nCr9W7sKus2q9PLbYsnT7iCkuT.jpg"}
https://developers.themoviedb.org/3/mov ... ie-details
by kim
12 Jun 2020, 02:23
Forum: Help and Support
Topic: Check how many files have been renamed
Replies: 5
Views: 764

Re: Check how many files have been renamed

looks like it's the "Created" date of file history.xml if app from winstore then path something like: C:\Users\%username%\AppData\Local\Packages\PointPlanck.FileBot_49ex9gnthnt12\LocalCache\Roaming\FileBot or %userprofile%\AppData\Local\Packages\PointPlanck.FileBot_49ex9gnthnt12\LocalCache\Roaming\F...
by kim
10 Jun 2020, 00:56
Forum: Episode / Movie Naming Scheme
Topic: Sort movies by year range (e.g. 1900-1999)
Replies: 8
Views: 2881

Re: Sort movies by year range (e.g. 1900-1999)

why not use Switch Statement ? https://www.tutorialspoint.com/groovy/groovy_switch_statement.htm https://groovy-lang.org/semantics.html e.g. { switch (y) { case {y > 2019}: return '2020' case {y > 2014}: return '2015-2019' case {y > 2009}: return '2010-2014' default: return 'bad year' } }
by kim
06 Jun 2020, 02:27
Forum: Help and Support
Topic: FileBot is NOT renaming Season 0 Episodes
Replies: 2
Views: 450

Re: FileBot is NOT renaming Season 0 Episodes

"Recently" ? try ONLY this on a "Specials and Season 0 file" {s} answer Binding "s": undefined it has never worked ;) try this: {'F:/TV_SHOWS'}{'/'+n}{'/'+any{"Season ${s.pad(2)}"}{'Season 00'}}{'/'+n}{'.'+s00e00}{'.'+t}{' ['+airdate+']'} BTW: this may be better for you {'F:/'}{(plex.derive{" [$aird...
by kim
02 Jun 2020, 00:33
Forum: Scripting and Automation
Topic: Web Sources
Replies: 20
Views: 3360

Re: Web Sources

Code: Select all

{
	any{ def file = new File("C:/websources.txt")
	def websources = file.exists() ? lines(file).join('|') : null 
	source ==~ /WEB.*/ ? lfr = fn.match(/($websources)\.(?i)WEB/) : ''

	return allOf{fn.match(/(?i)(UHD).$source/).upper()}{lfr}{source}.join('.')
	}{source}
}
output e.g.
NF.WEB-DL
by kim
31 May 2020, 16:00
Forum: Episode / Movie Naming Scheme
Topic: MultiCD naming: {pi} VS {fn.match(/CD\d/)}
Replies: 12
Views: 18354

Re: MultiCD naming: {pi} VS {fn.match(/CD\d/)}

I'm not an encoder expert, so I don't know why they did it like this, but many did it
when CD's was king, avi files (xvid) at 700MB was the #1 rule (at least the cd1)
by kim
31 May 2020, 15:47
Forum: Episode / Movie Naming Scheme
Topic: MultiCD naming: {pi} VS {fn.match(/CD\d/)}
Replies: 12
Views: 18354

Re: MultiCD naming: {pi} VS {fn.match(/CD\d/)}

Yes we will... here is a hint ;)

Code: Select all

FileSize                   : 733769728
FileSize/String            : 700 MiB
by kim
30 May 2020, 20:09
Forum: Help and Support
Topic: Preserve part of a filename
Replies: 5
Views: 687

Re: Preserve part of a filename

I only tested with ep 47, but try this: {n}{' - S01E' + absolute}{' - ' + episodelist.findAll{(absolute-23) == it.absolute }.title.join()} or {n}{' - S01E' + absolute}{' - ' + episodelist.findAll{(fn.match(/S01E(\d+)/).toInteger())-23 == it.absolute }.title.join()} or {n}{' - S01E' + absolute}{' - '...
by kim
30 May 2020, 15:25
Forum: Help and Support
Topic: Preserve part of a filename
Replies: 5
Views: 687

Re: Preserve part of a filename

You will not have an easy time with this show
1. looks like your files use the absolute order
2. you use italiano
by kim
29 May 2020, 17:40
Forum: Scripting and Automation
Topic: --apply nfo url
Replies: 7
Views: 1049

Re: --apply nfo url

Create a link to IMDb site for each movie, at movie's folder https://www.filebot.net/forums/viewtopic.php?f=6&t=501#p44629 Simple movie.nfo file creation https://www.filebot.net/forums/viewtopic.php?t=501#p3385 Help to create simple NFO script https://www.filebot.net/forums/viewtopic.php?f=4&t=9568#...
by kim
28 May 2020, 12:55
Forum: Help and Support
Topic: info.OriginalLanguage displayLanguage problem
Replies: 6
Views: 682

Re: info.OriginalLanguage displayLanguage problem

this user (@26may) https://www.themoviedb.org/u/Breat?language=en-US does not know how things work at tmdb.... it's not part of this collection but is part of https://www.themoviedb.org/movie/465404-the-adventures-of-tintin-sequel FYI: https://www.themoviedb.org/collection/561263-les-aventures-de-ti...
by kim
27 May 2020, 16:48
Forum: Help and Support
Topic: Courses
Replies: 5
Views: 538

Re: Courses

Code: Select all

{def ss = f.parentFile.name.replaceAll(/.+\s(\d+)$/,'$1'); fn.replaceAll(/(\d+).\s(.+)/, {match -> match[2] + '/' + 'Season ' + ss.pad(2) + '/' + match[2] + ' - S' + ss.pad(2) + 'E' + match[1].pad(2)})}
by kim
27 May 2020, 00:29
Forum: Help and Support
Topic: Courses
Replies: 5
Views: 538

Re: Courses

your "structure" is not what you said = fail

Code: Select all

{def ss = f.parentFile.name.replaceAll(/.+(\d+$)/,'$1'); fn.replaceAll(/(\d+).\s(.+)/, {match -> match[2] + '/' + 'Season ' + ss.pad(2) + '/' + match[2] + ' - S' + ss.pad(2) + 'E' + match[1].pad(2)})}
by kim
26 May 2020, 19:49
Forum: Help and Support
Topic: Courses
Replies: 5
Views: 538

Re: Courses

must be a real show or i don't think plex "can identify" but if you wanna rename you can use this format (in F2 mode/plain file mode https://www.filebot.net/forums/viewtopic.php?t=2072 ): {def ss = f.parentFile.name.replaceAll(/.+(\d+$)/,'$1'); fn.replaceAll(/(\d+).\s(\w+\s)(\d+$)/, {match -> match[...
by kim
25 May 2020, 05:04
Forum: Episode / Movie Naming Scheme
Topic: Using {model} for dealing with collections holistically
Replies: 16
Views: 1666

Re: Using {model} for dealing with collections holistically

I think you are looking for something like this?

Code: Select all

{ any{model.movie.containsAll(movie.collection) && movie.collection.size() ==  model.movie.unique().size() ? collection + ' [complete]/' : collection + ' [incomplete]/' }{''}}{ny}
by kim
25 May 2020, 04:37
Forum: Episode / Movie Naming Scheme
Topic: Using {model} for dealing with collections holistically
Replies: 16
Views: 1666

Re: Using {model} for dealing with collections holistically

the simple

Code: Select all

{movie.collection.size() ==  model.movie.unique().size() ? '[complete]' : '[incomplete]'}
by kim
25 May 2020, 04:32
Forum: Episode / Movie Naming Scheme
Topic: Using {model} for dealing with collections holistically
Replies: 16
Views: 1666

Re: Using {model} for dealing with collections holistically

small change

Code: Select all

{movie.collection.size() == 1 ? 'only 1 movie on list' : '2 or more' }