The way it's written now the dots aren't an option, they're always there.
You should probably rework the format to make them optional.
Search found 417 matches
- 01 Jul 2021, 06:15
- Forum: Episode / Movie Naming Scheme
- Topic: [SNIPPET] HDR detection
- Replies: 22
- Views: 22084
- 30 Jun 2021, 15:38
- Forum: Episode / Movie Naming Scheme
- Topic: [SNIPPET] HDR detection
- Replies: 22
- Views: 22084
Re: [SNIPPET] HDR detection
My bad, it was a poor paste, you can probably remove this entire section: if (_HDR_out.findMatch(/dolby/)) { more = allOf { vid["HDR_Format_Profile"] } { vid["HDR_Format_Level"] } { vid["HDR_Format_Settings"] } .join(" ") _HDR_out.append(more) }
- 05 Jun 2021, 21:27
- Forum: Episode / Movie Naming Scheme
- Topic: [SNIPPET] HDR detection
- Replies: 22
- Views: 22084
Re: [SNIPPET] HDR detection
Updated version: { def _HDRMap = [ "HDR10": "HDR10", "SMPTE ST 2086": "HDR10", "SMPTE ST 2094 App 3": "Advanced HDR", "SMPTE ST 2094 App 4": "HDR10+", "Dolby Vision / SMPTE ST 2086": "Dolby Vision", &...
- 04 Jun 2021, 18:54
- Forum: Episode / Movie Naming Scheme
- Topic: [SNIPPET] HDR detection
- Replies: 22
- Views: 22084
Re: [SNIPPET] HDR detection
The reason I'm using this check is that in the original snippet I then use specific HDR_* properties from MediaInfo to assign specific HDR profiles or names. The {hdr} binding works but only returns "HDR" when in this case it's an HDR10+ video. Your last snippet works for my use case: { de...
- 03 Jun 2021, 18:44
- Forum: Episode / Movie Naming Scheme
- Topic: [SNIPPET] HDR detection
- Replies: 22
- Views: 22084
Re: [SNIPPET] HDR detection
Recently tried to run it and it seems it's no longer working. In particular it seems it's a Groovy failure on my side, the following bit no longer returns any element: { def vid = video.first() assert vid.findAll { p -> p.key.startsWith("HDR_") }.size() > 0 } p.key is null now, but the fil...
- 13 Jan 2021, 19:38
- Forum: Episode / Movie Naming Scheme
- Topic: [SNIPPET] HDR detection
- Replies: 22
- Views: 22084
Re: [SNIPPET] HDR detection
No, sorry, I don't have that many files with those characteristics.
If you have samples I can work on that though.
If you have samples I can work on that though.
- 20 Dec 2020, 22:06
- Forum: Feature Requests and Bug Reports
- Topic: Series Year seems to include Specials
- Replies: 5
- Views: 8092
Re: Series Year seems to include Specials
My post wasn't really about the format itself, I was just saying I would have expected a different behaviour. Meaning, regardless of the information on TheTVDB about the series, I was expecting '{y}' to yield the year of the first episode of the first season, and not specials. Is "firstAired&qu...
- 19 Dec 2020, 16:23
- Forum: Feature Requests and Bug Reports
- Topic: Series Year seems to include Specials
- Replies: 5
- Views: 8092
Series Year seems to include Specials
I recently encountered this anomaly with Ted Lasso. This happens: filebot -list --format '{ny} - {sxe}' --q 'ted lasso' --db TheTVDB Ted Lasso (2013) - 1x01 Ted Lasso (2013) - 1x02 Ted Lasso (2013) - 1x03 Ted Lasso (2013) - 1x04 Ted Lasso (2013) - 1x05 Ted Lasso (2013) - 1x06 Ted Lasso (2013) - 1x07...
- 26 Jun 2020, 23:31
- Forum: Episode / Movie Naming Scheme
- Topic: No season folder for miniseries?
- Replies: 8
- Views: 5052
Re: No season folder for miniseries?
Although this could backfire if a show is ongoing and not ended, you may want to check that as well.
- 26 Jun 2020, 23:29
- Forum: Episode / Movie Naming Scheme
- Topic: Source Media {vs} and {source}
- Replies: 26
- Views: 75045
Re: Source Media {vs} and {source}
Any examples for these lines of code? My customisation is related to web sources, which you currently bundle in WEB-DL, I have some lines to match them separately. Another small issue is that {source} seems to respect original case now dvdrip will result in dvdrip instead of DVDRip as before, not su...
- 25 Jun 2020, 22:06
- Forum: Episode / Movie Naming Scheme
- Topic: Source Media {vs} and {source}
- Replies: 26
- Views: 75045
Re: Source Media {vs} and {source}
Is there a way to customise the map {vs} uses?
I find it a bit too restrictive.
I find it a bit too restrictive.
- 19 Jun 2020, 18:35
- Forum: Episode / Movie Naming Scheme
- Topic: Give video files a quality grade based on various mediainfos?
- Replies: 2
- Views: 2386
Re: Give video files a quality grade based on various mediainfos?
You could start by setting minimum settings, anything MKV is better than other formats, anything x264/x265 is better than other stuff. If audio is 5.1 or above AC3 or DTS as preferred formats for 1080p, AC3 640 for 720p, AC3 448 for standard def. If audio has fewer channels, FLAC or AAC are acceptab...
- 10 Jun 2020, 19:21
- Forum: Anything and Everything else
- Topic: Symlink management
- Replies: 3
- Views: 20382
Re: Symlink management
Not really what I'm trying to do.
I chose this way of organising files because I put files first in fast storage for processing, then move them to a much larger, slower storage space. Fast storage is very limited.
How would a master structure work?
I chose this way of organising files because I put files first in fast storage for processing, then move them to a much larger, slower storage space. Fast storage is very limited.
How would a master structure work?
- 10 Jun 2020, 18:27
- Forum: Anything and Everything else
- Topic: Symlink management
- Replies: 3
- Views: 20382
Symlink management
I have quite a large portion of my files as symlinks from one location to another, example: Avatar.2009.1080p.BluRay.DTS.x264.GROuP/Avatar.2009.1080p.BluRay.DTS.x264.GROuP.mkv -> '../../../../../../../cephfs/Media/Movies/Avatar (2009) [James Cameron]/Avatar (2009) [1080p x264 - 5.1 DTS Eng, 2.0 MP3 ...
- 08 Jun 2020, 16:32
- Forum: Feature Requests and Bug Reports
- Topic: Custom databases via --db db.groovy
- Replies: 7
- Views: 4469
Re: Custom databases via --db db.groovy
Cleaning would be for names such as: Packing_for_Mars__The_Curious_Science_of_Life_in_the_Void.epub # replace _ with space and multiple _ with - 'Revival By Stephen King [pdf epub mobi azw3 pdb]' # remove formats '[REQ] James S A Corey - The Expanse Series - book 4 Cibola Burn (epub and azw3)' # rem...
- 06 Jun 2020, 18:39
- Forum: Feature Requests and Bug Reports
- Topic: Custom databases via --db db.groovy
- Replies: 7
- Views: 4469
Re: Custom databases via --db db.groovy
Good enough for me.
I’ll try and report, but this way I’d be missing a lot of the name processing and cleaning that Fb does, right?
Any way or docs to take advantage of it before querying?
Also I’d better hope the first result is the one I want as no refinement will be made on query results, right?
I’ll try and report, but this way I’d be missing a lot of the name processing and cleaning that Fb does, right?
Any way or docs to take advantage of it before querying?
Also I’d better hope the first result is the one I want as no refinement will be made on query results, right?
- 04 Jun 2020, 20:41
- Forum: Feature Requests and Bug Reports
- Topic: Custom databases via --db db.groovy
- Replies: 7
- Views: 4469
Re: Custom databases via --db db.groovy
I've seen quite a few posts requesting niche databases to be added, like SetList.fm, something for books, comics, and alternative TV/movie DBs. I realise adding support for all would be completely unfeasible, but would a pluggable DB be feasible? Scripts would just have to perform requests to an API...
- 01 Jun 2020, 23:40
- Forum: Scripting and Automation
- Topic: Web Sources
- Replies: 24
- Views: 58592
Re: Web Sources
Sorry, no clue as to why, you'll probably have to debug on your machine. The following: { def isWeb = true def lfr if (isWeb) { lfr = 'hi' } } works, so it's likely something with the file or the regex or something else. As a suggestion you can use lfr = any{fn.match(/($websources)\.(?i)WEB/)}{null}...
- 01 Jun 2020, 18:34
- Forum: Scripting and Automation
- Topic: Web Sources
- Replies: 24
- Views: 58592
Re: Web Sources
Yes, new versions highlighted some issues in my code, you need to change the following line:
with something like:
or similar.
Code: Select all
def lfr = { if (isWeb) fn.match(/($websources)\.(?i)WEB/) } // logo free release
Code: Select all
def lfr
if (isWeb) {
lfr = fn.match(/($websources)\.(?i)WEB/)
}
- 23 May 2020, 20:47
- Forum: Ubuntu & Desktop Linux
- Topic: Matching "Upload" with TheMovieDB
- Replies: 4
- Views: 3551
Re: Matching "Upload" with TheMovieDB
Seems caused by https://github.com/filebot/data/blob/ma ... t.txt#L359
Any way to work around it?
Any way to work around it?
- 23 May 2020, 20:38
- Forum: Feature Requests and Bug Reports
- Topic: Show if target directory already exists
- Replies: 5
- Views: 3079
Re: Show if target directory already exists
The duplicates script could also be an option, I believe it matches with extended attrs, not file names, so it would likely flag duplicates if both files were processed using FileBot even with different extensions/quality.
- 18 May 2020, 17:11
- Forum: Episode / Movie Naming Scheme
- Topic: Source Media {vs} and {source}
- Replies: 26
- Views: 75045
Re: Source Media {vs} and {source}
Not quite, I want BluRay and HDTV from {vs}, but I do my own matching for anything WEB.*
Hence the difference.
I'm currently doing:
just wondering if there's a better way.
Hence the difference.
I'm currently doing:
Code: Select all
String src
if (['BluRay', 'HDTV'].contains(vs) {
src = vs
} else {
src = source
}
- 18 May 2020, 15:16
- Forum: Episode / Movie Naming Scheme
- Topic: Source Media {vs} and {source}
- Replies: 26
- Views: 75045
Re: Source Media {vs} and {source}
Is source now an exact match for case as well? It seems that the following happens: fn: aaaaa.s01e01.hdtv.mkv => nice name - S01E01 - hdtv.mkv fn: aaaaa.s01e01.HDTV.mkv => nice name - S01E01 - HDTV.mkv As a corollary, how could I get the same behaviour as before (capital HDTV on non-capital match) o...
- 17 May 2020, 15:01
- Forum: Windows
- Topic: VPN: Cloudflare Captcha breaking filebot
- Replies: 5
- Views: 2867
Re: VPN: Cloudflare Captcha breaking filebot
I have found similar issues when using VPN on my browser, in some cases it seems CloudFlare is prompting captchas depending on source IP and not destination IP, which means that if FileBot is using the VPN it may encounter the issue. However there should the option to download movies.txt.xz locally ...
- 16 May 2020, 19:53
- Forum: Scripting and Automation
- Topic: automating foreign and kids movies
- Replies: 5
- Views: 3184
Re: automating foreign and kids movies
In addition to Kim's suggestion you could look at PG rating of a movie and filter by that. You probably don't need custom scripts to do what you mentioned as FileBot already has genre and certification as binding, but you'd be relying on The Movie DB, not IMDb. For languages you can get original lan...