Search found 1017 matches

by kim
12 Jun 2020, 02:23
Forum: Help and Support
Topic: Check how many files have been renamed
Replies: 5
Views: 541

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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' }
by kim
25 May 2020, 03:17
Forum: Episode / Movie Naming Scheme
Topic: A little help with my naming script
Replies: 4
Views: 340

Re: A little help with my naming script

what version of filebot are you using ? because I think you are using an old mediainfo file (lower then 19.04 i think) the easy fix is: add .replaceAll(/\//, '+') like so allOf{audioCodec}{any{ChannelString}{channels}}.join(' ').replaceAll(/\//, '+') if you use newer mediainfo then try my 'e.g.' fro...
by kim
24 May 2020, 23:09
Forum: Episode / Movie Naming Scheme
Topic: A little help with my naming script
Replies: 4
Views: 340

Re: A little help with my naming script

what does this mean ? I recently started using it on my new linux GCP VM but it would seem there is one part of this naming does not carry over very well (the "/" causes it to create a new sub folder). Anyone able to help re jig this so that rather than a / it - or + or even just a space. are you us...
by kim
23 May 2020, 19:28
Forum: Feature Requests and Bug Reports
Topic: Show if target directory already exists
Replies: 5
Views: 542

Re: Show if target directory already exists

maybe you can use this?

Code: Select all

{folder.exists() ? 'STOP' : 'Go on'}
or

Code: Select all

{f.parentFile.exists() ? 'STOP' : 'Go on'}
by kim
22 May 2020, 00:21
Forum: Help and Support
Topic: Issues with AMC and TV Shows
Replies: 3
Views: 319

Re: Issues with AMC and TV Shows

try removing

Code: Select all

--db TheMovieDB \
Movie

Code: Select all

TheMovieDB
TV

Code: Select all

TheMovieDB::TV
by kim
20 May 2020, 01:43
Forum: Help and Support
Topic: Help with If Then Else Syntax
Replies: 3
Views: 247

Re: Help with If Then Else Syntax

like so ?

Code: Select all

R:/Movies/{ny}/{ext == 'srt' ? 'subs/' + fn : ny + ' - ' + allOf{vf}{vs}{vc}{ac}{channels}.join(' ')}
by kim
18 May 2020, 21:09
Forum: Help and Support
Topic: Issue with series being detected incorrectly
Replies: 7
Views: 557

Re: Issue with series being detected incorrectly

looks like it does not filter "s157e07" and then know it's a show ? Query Movie => [house hunters international s157e07 more than meets the eye in male, house hunters international s157e07 more than meets the eye in] Rank [House Hunters International S157E07 More Than Meets the Eye in, House Hunters...
by kim
16 May 2020, 19:50
Forum: Scripting and Automation
Topic: automating foreign and kids movies
Replies: 5
Views: 447

Re: automating foreign and kids movies

my format already does this

btw: (same info on themoviedb)
and it's
"Language: English | Spanish"
so if you got "Language: Spanish | English" you cant trust the order
by kim
16 May 2020, 17:44
Forum: Episode / Movie Naming Scheme
Topic: Rename and move Subtitles properly?
Replies: 7
Views: 2619

Re: Rename and move Subtitles properly?

FYI: VOSTFR Stands for "Version Originale Sous-Titrée en FRançais" which means "original version (i.e. not dubbed) with French subtitles". Often added to video file names. Sometimes you can also see "VOSTFrench", probably to make it clearer for non-Frenchmen. Just "VOST" can also be used if it's cle...