Search found 1251 matches

by kim
24 Sep 2017, 16:10
Forum: Feature Requests and Bug Reports
Topic: Strict mode processing files with bad matches
Replies: 34
Views: 13609

Re: Strict mode processing files with bad matches

I tested "Rekrut.67.Petersen.1953.mkv" (wrong year) again...

In strict mode, I can see it finds the correct movie, but wrong year so fail...

Can you make the output/log say something that indicate "a potential match found... the file may be incorrectly named... [best match] "
by kim
24 Sep 2017, 15:58
Forum: Feature Requests and Bug Reports
Topic: Strict mode processing files with bad matches
Replies: 34
Views: 13609

Re: Strict mode processing files with bad matches

To ALL users:
it's easy to test in the GUI, if the movie show up on the "best match" list and even better at the top, it's working.

if not on the "best match" list... please write here so we can make it better
by kim
24 Sep 2017, 15:43
Forum: Feature Requests and Bug Reports
Topic: Strict mode processing files with bad matches
Replies: 34
Views: 13609

Re: Strict mode processing files with bad matches

There is a smile on my face :D looks like you did good... I tested with "Paul.Blart.Mall.Cops.2008.mkv" (wrong tiltle/word AND wrong year) and it passed the test. I did not notice any "noticeable performance regression"... and wants a few ms compared to renamed to wrong movie (this can take maybe ...
by kim
23 Sep 2017, 15:36
Forum: Feature Requests and Bug Reports
Topic: Strict mode processing files with bad matches
Replies: 34
Views: 13609

Re: Strict mode processing files with bad matches

Removing words until the query works, works only in this very specific case. Bombarding the API with 3-4x times as many search requests just because there's a handful of movies where that actually gives you a good results is not ideal. thats why I wrote "what about the "fuzzy logic" stuff or just ...
by kim
23 Sep 2017, 15:15
Forum: Feature Requests and Bug Reports
Topic: webservice.fanart.tv sending back 0 bytes
Replies: 53
Views: 45742

Re: webservice.fanart.tv sending back 0 bytes

I just replaced the main part from here: https://raw.githubusercontent.com/filebot/scripts/master/artwork.tmdb.groovy def override = _args.conflict == 'override' import static groovy.json.StringEscapeUtils.* /** * XBMC helper functions */ def scanVideoLibrary(host, port) { tryLogCatch { telnet(host ...
by kim
23 Sep 2017, 15:06
Forum: Help and Support
Topic: Get format profiles of all audio streams.
Replies: 21
Views: 11369

Re: Get format profiles of all audio streams.

did you try my last format ? it does write "TrueHD.Atmos" if atmos found and only TrueHD if not if you want to rename it like so 'TrueHD+Atmos' just add the ".replaceAll('TrueHD.Atmos', 'TrueHD+Atmos')" part: { def allAudioStringsVar = (audio.collect { s -> allOf {any {s.'CodecID/Hint'} {s.'Codec ...
by kim
22 Sep 2017, 20:55
Forum: Help and Support
Topic: Get format profiles of all audio streams.
Replies: 21
Views: 11369

Re: Get format profiles of all audio streams.

You don't want the Format_Profile for TrueHD ? "TrueHD+Atmos" is the correct one, but maybe it looks better with only "Atmos" ? try this: { audio.collect { s -> allOf {any {s.'CodecID/Hint'} {s.'Codec'.contains('DTS-HD') ? s.'Codec': null} {s.'Format'} } {s.'Format_Profile'}*.replaceAll('/ MA|/ Core ...
by kim
22 Sep 2017, 20:22
Forum: Feature Requests and Bug Reports
Topic: Strict mode processing files with bad matches
Replies: 34
Views: 13609

Re: Strict mode processing files with bad matches

but it IS in the filebot database 6977240 0460790 2017 Starship Troopers: Traitor of Mars I think it was added to TMDB in march or so. I do not believe it ever will "become popular enough" whatever that means (the TMDB popular score) ? Why does it not lookup "Starship Troopers"... then compare the ...
by kim
22 Sep 2017, 16:06
Forum: Help and Support
Topic: Get format profiles of all audio streams.
Replies: 21
Views: 11369

Re: Get format profiles of all audio streams.

you can only use a variable inside the same {bla bla bla}
so you need to define it outside of tmp1

Code: Select all

{def tmp2 = ' '
	tmp1 { a- > tmp2 = a }
	tmp2 (same)
}

{ tmp2 (diff./new) }
by kim
22 Sep 2017, 15:50
Forum: Feature Requests and Bug Reports
Topic: webservice.fanart.tv sending back 0 bytes
Replies: 53
Views: 45742

Re: webservice.fanart.tv sending back 0 bytes

yes it's not made easy ;) look here https://www.filebot.net/forums/viewtopic.php?f=8&t=4960 in the meantime you can use this (it replaces the "http" with "https" on the artwork url's) : def override = _args.conflict == 'override' import static groovy.json.StringEscapeUtils.* /** * XBMC helper ...
by kim
22 Sep 2017, 11:03
Forum: Feature Requests and Bug Reports
Topic: Strict mode processing files with bad matches
Replies: 34
Views: 13609

Re: Strict mode processing files with bad matches

what about the "fuzzy logic" stuff or just compare all combo's in the build in database, by removing 1 word/year at a time ? because this will never match correct movie Rank [Starship Troopers Traitors of Mars 2017] => [Starship Troopers (1997), Starship (2011)] and test with e.g. Starship.Troopers ...
by kim
22 Sep 2017, 10:33
Forum: Feature Requests and Bug Reports
Topic: webservice.fanart.tv sending back 0 bytes
Replies: 53
Views: 45742

Re: webservice.fanart.tv sending back 0 bytes

it most be at least version FileBot 4.7.13 (r5203) to work proper

try
filebot.cmd -clear-cache
FileBot.cmd -script fn:sysinfo
by kim
22 Sep 2017, 02:24
Forum: Feature Requests and Bug Reports
Topic: Request: AMC/artwork.tvdb.groovy to support TV from TheMovieDB
Replies: 7
Views: 5897

Re: Request: AMC/artwork.tvdb.groovy to support TV from TheMovieDB

I finally made it work on TMDB with TV+artwork, but how do I make it use the build in Cache ? (requestJson / Cache.ONE_WEEK) I'm using this: def slurper = new groovy.json.JsonSlurper() def baseURL = "https://api.themoviedb.org/3/tv/" def apiKey = "?api_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" def ...
by kim
21 Sep 2017, 18:50
Forum: Help and Support
Topic: Get format profiles of all audio streams.
Replies: 21
Views: 11369

Re: Get format profiles of all audio streams.

what you are trying to do is not easy and this took me some time to make: { audio.collect { s -> allOf {any {s.'CodecID/Hint'} {s.'Codec'.contains('DTS-HD') ? s.'Codec': null} {s.'Format'} } {s.'Format_Profile'}*.replaceAll('/ MA|/ Core|/ ES Matrix|/ TrueHD')*.replaceAll('AC-3', 'AC3').join ...
by kim
21 Sep 2017, 14:25
Forum: Scripting and Automation
Topic: Sorting Documentaries (Movies and TV Shows) Into It's Own Folder
Replies: 6
Views: 6129

Re: Sorting Documentaries (Movies and TV Shows) Into It's Own Folder

well try putting all the Documentary's in folder named: 1. TV Shows OR TV Series OR TV = detect it as a series (force use thetvdb) 2. Movies OR Movie = detect it as a movie (force use themoviedb) then update your stuff like so (I HAVE NOT TESTED THIS) filebot.exe -script fn:amc --output "D ...
by kim
21 Sep 2017, 13:26
Forum: Help and Support
Topic: Get format profiles of all audio streams.
Replies: 21
Views: 11369

Re: Get format profiles of all audio streams.

ALL the audio streams need to have "audio.FormatProfile" or you need to make your format compensate for this
by kim
21 Sep 2017, 13:16
Forum: Feature Requests and Bug Reports
Topic: webservice.fanart.tv sending back 0 bytes
Replies: 53
Views: 45742

Re: webservice.fanart.tv sending back 0 bytes

It was easier just to fix it for you ;) this works with newest update btw: I disabled e.g. clearart and logo.... just remove the "//" part to enable again here you go : def override = _args.conflict == 'override' import static groovy.json.StringEscapeUtils.* /** * XBMC helper functions */ def ...
by kim
21 Sep 2017, 04:40
Forum: Feature Requests and Bug Reports
Topic: webservice.fanart.tv sending back 0 bytes
Replies: 53
Views: 45742

Re: webservice.fanart.tv sending back 0 bytes

I take it you made it yourself ? it looks a lot like you just combine them to 2in1 https://github.com/filebot/scripts/blob/master/artwork.tvdb.groovy and https://github.com/filebot/scripts/blob/master/lib/htpc.groovy ... does your script do something different ? btw: it's more likely that it's your ...
by kim
21 Sep 2017, 00:04
Forum: Scripting and Automation
Topic: Sorting Documentaries (Movies and TV Shows) Into It's Own Folder
Replies: 6
Views: 6129

Re: Sorting Documentaries (Movies and TV Shows) Into It's Own Folder

the 1st problem is you dont' know if AMC (filebot) will detect it as a series (aka thetvdb) or movie (aka themoviedb) ... you need to change both "movieFormat" and "seriesFormat" to do this. or you can force is to detect it as a series (aka thetvdb) or movie (aka themoviedb) from amc script: def ...
by kim
20 Sep 2017, 21:43
Forum: Episode / Movie Naming Scheme
Topic: Movie collection prefix by date and suffix title
Replies: 5
Views: 4476

Re: Movie collection prefix by date and suffix title

this ?
https://www.themoviedb.org/collection/3 ... uage=en-US

works fine here:
Monsters (2010), Monsters
Monsters (2014), Dark Continent
by kim
20 Sep 2017, 21:34
Forum: Feature Requests and Bug Reports
Topic: webservice.fanart.tv sending back 0 bytes
Replies: 53
Views: 45742

Re: webservice.fanart.tv sending back 0 bytes

no, you can make you own LOCAL scripts (amc.groovy and htpc.groovy)... where you change http to https on the 2 sites (in "htpc.groovy" look for "...url.saveAs(outputFile)"

BUT it's better to fix the "breaks my script", you can try to ask for help ;)
by kim
19 Sep 2017, 23:57
Forum: Episode / Movie Naming Scheme
Topic: Movie collection prefix by date and suffix title
Replies: 5
Views: 4476

Re: Movie collection prefix by date and suffix title

or to deal with e.g. "Mission: Impossible Collection" and don't F up e.g. "Kick-Ass Collection"

Code: Select all

{any{if (collection != null) {def ntmp = n.split(': | - ');(allOf{collection.replaceAll(/Collection/)+'('+y+')'}{''+ntmp[ntmp.size()-1]}).join(', ')}}{ny}
}
by kim
19 Sep 2017, 23:20
Forum: Episode / Movie Naming Scheme
Topic: Movie collection prefix by date and suffix title
Replies: 5
Views: 4476

Re: Movie collection prefix by date and suffix title

something like this ?

Code: Select all

{any{if (collection != null) {def ntmp = n.split(':');(allOf{collection.replaceAll(/Collection/)+'('+y+')'}{''+ntmp[ntmp.size()-1]}).join(', ')}}{ny}
}
by kim
19 Sep 2017, 17:22
Forum: Feature Requests and Bug Reports
Topic: Strict mode processing files with bad matches
Replies: 34
Views: 13609

Strict mode processing files with bad matches

I have seen many times if a movie is renamed with e.g. different year then on themoviedb it will fail or worse, it match wrong movie, even if year is of by only +- 1 year AND in strict mode. this should be "easy" to fix, but... if word(s) in filename is misspelled e.g. "traitors" when it should be ...