Search found 388 matches

by devster
26 Jun 2020, 23:31
Forum: Episode / Movie Naming Scheme
Topic: No season folder for miniseries?
Replies: 8
Views: 883

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.
by devster
26 Jun 2020, 23:29
Forum: Episode / Movie Naming Scheme
Topic: Source Media {vs} and {source}
Replies: 14
Views: 10152

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...
by devster
25 Jun 2020, 22:06
Forum: Episode / Movie Naming Scheme
Topic: Source Media {vs} and {source}
Replies: 14
Views: 10152

Re: Source Media {vs} and {source}

Is there a way to customise the map {vs} uses?
I find it a bit too restrictive.
by devster
19 Jun 2020, 18:35
Forum: Episode / Movie Naming Scheme
Topic: Give video files a quality grade based on various mediainfos?
Replies: 2
Views: 189

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...
by devster
10 Jun 2020, 19:21
Forum: Anything and Everything else
Topic: Symlink management
Replies: 3
Views: 300

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?
by devster
10 Jun 2020, 18:27
Forum: Anything and Everything else
Topic: Symlink management
Replies: 3
Views: 300

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 ...
by devster
08 Jun 2020, 16:32
Forum: Feature Requests and Bug Reports
Topic: Custom databases via --db db.groovy
Replies: 7
Views: 702

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...
by devster
06 Jun 2020, 18:39
Forum: Feature Requests and Bug Reports
Topic: Custom databases via --db db.groovy
Replies: 7
Views: 702

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?
by devster
04 Jun 2020, 20:41
Forum: Feature Requests and Bug Reports
Topic: Custom databases via --db db.groovy
Replies: 7
Views: 702

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...
by devster
01 Jun 2020, 23:40
Forum: Scripting and Automation
Topic: Web Sources
Replies: 20
Views: 2221

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}...
by devster
01 Jun 2020, 18:34
Forum: Scripting and Automation
Topic: Web Sources
Replies: 20
Views: 2221

Re: Web Sources

Yes, new versions highlighted some issues in my code, you need to change the following line:

Code: Select all

        def lfr = { if (isWeb) fn.match(/($websources)\.(?i)WEB/) } // logo free release
with something like:

Code: Select all

def lfr
if (isWeb) {
        lfr = fn.match(/($websources)\.(?i)WEB/)
}
or similar.
by devster
23 May 2020, 20:47
Forum: Ubuntu & Linux
Topic: Matching "Upload" with TheMovieDB
Replies: 4
Views: 302

Re: Matching "Upload" with TheMovieDB

Seems caused by https://github.com/filebot/data/blob/ma ... t.txt#L359
Any way to work around it?
by devster
23 May 2020, 20:38
Forum: Feature Requests and Bug Reports
Topic: Show if target directory already exists
Replies: 5
Views: 320

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.
by devster
18 May 2020, 17:11
Forum: Episode / Movie Naming Scheme
Topic: Source Media {vs} and {source}
Replies: 14
Views: 10152

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:

Code: Select all

String src
if (['BluRay', 'HDTV'].contains(vs) {
  src = vs
} else {
  src = source
} 
just wondering if there's a better way.
by devster
18 May 2020, 15:16
Forum: Episode / Movie Naming Scheme
Topic: Source Media {vs} and {source}
Replies: 14
Views: 10152

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...
by devster
17 May 2020, 15:01
Forum: Windows 10
Topic: VPN: Cloudflare Captcha breaking filebot
Replies: 5
Views: 319

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 ...
by devster
16 May 2020, 19:53
Forum: Scripting and Automation
Topic: automating foreign and kids movies
Replies: 5
Views: 322

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...
by devster
16 May 2020, 16:53
Forum: Feature Requests and Bug Reports
Topic: StackOverflowError on upgrade to 4.9.1
Replies: 4
Views: 290

Re: StackOverflowError on upgrade to 4.9.1

Perfect, thank you, I also fixed the following:

Code: Select all

        def lfr = { if (isWeb) fn.match(/($websources)\.(?i)WEB/) }
which was not running anymore with:

Code: Select all

        String lfr
        if (isWeb) {
          lfr = fn.match(/($websources)\.(?i)WEB/)
        }
by devster
16 May 2020, 16:28
Forum: Feature Requests and Bug Reports
Topic: StackOverflowError on upgrade to 4.9.1
Replies: 4
Views: 290

Re: StackOverflowError on upgrade to 4.9.1

Ok, this is the problem code then: { def last = n.tokenize(" ").last() /* def _tags = (tags != null) ? tags : null */ def _tags = call{tags} if (_tags) { _tags.removeIf { it ==~ /(?i:imax)/ } } specials = allOf { _tags } { fn.after(/(?i:$last)/).findAll(/(?i)(alternate|first)[ ._-]cut|limited|hybrid...
by devster
16 May 2020, 14:18
Forum: Feature Requests and Bug Reports
Topic: StackOverflowError on upgrade to 4.9.1
Replies: 4
Views: 290

StackOverflowError on upgrade to 4.9.1

I'm coming from 4.8.5, where the issue isn't present. Upon running the following: filebot -script fn:amc --action test --output /cephfs/Media/ --def [email protected]/scripts/movieFormat.groovy --def [email protected]/scripts/seriesFormat.groovy --def [email protected]/scripts/animeFormat.groovy /preprocess/mo...
by devster
05 May 2020, 19:28
Forum: Feature Requests and Bug Reports
Topic: [Suggestion] Java version support
Replies: 5
Views: 603

Re: [Suggestion] Java version support

Thanks v11 is perfectly alright.
by devster
05 May 2020, 09:57
Forum: Feature Requests and Bug Reports
Topic: [Suggestion] Java version support
Replies: 5
Views: 603

[Suggestion] Java version support

I was planning the update to 4.9.1, mainly for the anime and dual-db features, but I'm struggling a bit to find minimum supported Java release. I'm on Ubuntu which has openjdk-11 as a package, is that enough or should I go for 13/14? Also I would suggest adding that in the release posts, would make ...
by devster
09 Apr 2020, 12:35
Forum: Ubuntu & Linux
Topic: how can i discard accents?
Replies: 19
Views: 1354

Re: how can i discard accents?

For posterity, I believe you can use the Java unicode block pattern match to remove accents. R0=".removeAll(/\p{InLatin-1Supplement}/) Docs here https://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html#ubc and https://www.compart.com/en/unicode/block/U+0080 the block reference for Lati...
by devster
03 Apr 2020, 07:49
Forum: Ubuntu & Linux
Topic: How to Force FileBot to update Sonarr/Radarr
Replies: 4
Views: 666

Re: How to Force FileBot to update Sonarr/Radarr

I believe you can use the second script you mentioned as exec argument and use variables to pass the series name.
Something like

Code: Select all

--def exec="/path/to/myscript.sh {n}"
and in the second script add a line like

Code: Select all

seriesName=${1}