Search found 26 matches

by dgnrt3
17 Mar 2024, 11:48
Forum: Feature Requests and Bug Reports
Topic: [Bug] [Linux CLI] Binding genres sometimes being undefined and sometimes being defined?!?
Replies: 9
Views: 1059

Re: [Bug] [Linux CLI] Binding genres sometimes being undefined and sometimes being defined?!?

Mhm i see. Figured out how to do it without repeating anything! { ( y < 2010 || ( any{ genres =~ /Reality|Soap/ } ) ? 'purged_with_fire/' : ( ( hd == /UHD/ ? '2160p/' : '1080p/' ) + ( type == /Episode/ ? 'serie/' : 'film/') + ( none {genre} == true ? 'kein_genre/' : ( anime == true ? 'anime/' : ( ge...
by dgnrt3
17 Mar 2024, 10:15
Forum: Feature Requests and Bug Reports
Topic: [Bug] [Linux CLI] Binding genres sometimes being undefined and sometimes being defined?!?
Replies: 9
Views: 1059

Re: [Bug] [Linux CLI] Binding genres sometimes being undefined and sometimes being defined?!?

ooooohhhhh i see...you mean something like this? Now the only part being a necessary copy-pasta is at the the start cuz for our later workflow it's easier to have our usual folder structure duplicated under purged_with_fire/ { ( ( any{ genres =~ /Reality|Soap/ } || y < 2010 ) ? 'purged_with_fire/' +...
by dgnrt3
17 Mar 2024, 07:11
Forum: Feature Requests and Bug Reports
Topic: [Bug] [Linux CLI] Binding genres sometimes being undefined and sometimes being defined?!?
Replies: 9
Views: 1059

Re: [Bug] [Linux CLI] Binding genres sometimes being undefined and sometimes being defined?!?

You are loading format code at runtime, depending on the series at hand. This can be confusing. If en.format.groovy and de.format.groovy are mostly copy & paste (i.e. mostly identical with minor edits) then you can probably express what you want within a single Groovy script instead and thus si...
by dgnrt3
17 Mar 2024, 05:36
Forum: Feature Requests and Bug Reports
Topic: [Bug] [Linux CLI] Binding genres sometimes being undefined and sometimes being defined?!?
Replies: 9
Views: 1059

Re: [Bug] [Linux CLI] Binding genres sometimes being undefined and sometimes being defined?!?

Sure thing. Here's my setup: - Linux Root Server (Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux 6.1.0-18-amd64 #1) - direct filebot installation via APT (installed via DEB package) - got a self made .bash file which is sourced by .bashrc - as far as I'm aware it shouldn't happen that multiple filebo...
by dgnrt3
16 Mar 2024, 22:02
Forum: Feature Requests and Bug Reports
Topic: [Bug] [Linux CLI] Binding genres sometimes being undefined and sometimes being defined?!?
Replies: 9
Views: 1059

[Bug] [Linux CLI] Binding genres sometimes being undefined and sometimes being defined?!?

Hi all, have some quite weird behavior here and I'm not able to reproduce the error I'm seeing in the logs: [2024-03-12 20:35:29.596] Rename episodes using [TheMovieDB] with [Airdate Order] [2024-03-12 20:35:32.469] Lookup via [] [234201] [2024-03-12 20:35:32.470] Fetching episode data for [234201] ...
by dgnrt3
18 Aug 2023, 09:57
Forum: Feature Requests and Bug Reports
Topic: [Feature Request] Confidence Rating for non-strict operation
Replies: 5
Views: 666

Re: [Feature Request] Confidence Rating for non-strict operation

Mhm that's the thing...some whack release groups use german names, most use english tho. Think I'll stick with --lang English. I usually match by Airdate or Order so guess I'm good on this front ^^ :idea: Getting different results for different files is normal, because throwing in a set of files fro...
by dgnrt3
17 Aug 2023, 21:50
Forum: Feature Requests and Bug Reports
Topic: [Feature Request] Confidence Rating for non-strict operation
Replies: 5
Views: 666

Re: [Feature Request] Confidence Rating for non-strict operation

FileBot does not have a numeric "confidence rating" internally. The difference between opportunistic / strict are additional sanity checks that exclude likely mismatches, more like a flow diagram where different paths and decisions lead to different results. I know how it should mostly wo...
by dgnrt3
17 Aug 2023, 12:08
Forum: Feature Requests and Bug Reports
Topic: [Feature Request] Confidence Rating for non-strict operation
Replies: 5
Views: 666

[Feature Request] Confidence Rating for non-strict operation

Hi all, hi rednoah, filebot -script fn:sysinfo FileBot 5.1.0 (r9858) JNA Native: 6.1.4 MediaInfo: 23.06 7-Zip-JBinding: 16.02 Tools: fpcalc/1.5.0 Extended Attributes: OK Unicode Filesystem: OK Script Bundle: 2023-08-02 (r923) Groovy: 4.0.11 JRE: OpenJDK Runtime Environment 17.0.7 JVM: OpenJDK 64-Bit...
by dgnrt3
29 Jul 2023, 06:16
Forum: Scripting and Automation
Topic: Skipping/moving files with damaged/defective media stream + Timestamps in logfile when not using a script
Replies: 5
Views: 602

Re: Skipping/moving files with damaged/defective media stream + Timestamps in logfile when not using a script

Well..now you're explaining it, it makes a hell lot of sense....
Me be like right now:
Image

Thanks so much for explaining and supporting again! :)

...time to update my formats! ;)
by dgnrt3
29 Jul 2023, 06:00
Forum: Scripting and Automation
Topic: Skipping/moving files with damaged/defective media stream + Timestamps in logfile when not using a script
Replies: 5
Views: 602

Re: Skipping/moving files with damaged/defective media stream + Timestamps in logfile when not using a script

Mhm haven't seen the behavior you described yet. Mhm...haven't seen the behavior you described in the time I've been using filebot now but can't recall an option where I could've changed this setting. Sorry for my very low quality post! Here you go: Command: filebot /mnt/drive3/1080p/serie/allgemein...
by dgnrt3
28 Jul 2023, 22:13
Forum: Scripting and Automation
Topic: Skipping/moving files with damaged/defective media stream + Timestamps in logfile when not using a script
Replies: 5
Views: 602

Skipping/moving files with damaged/defective media stream + Timestamps in logfile when not using a script

Hi all, hi rednoah, I'm currently in the process of reorganising a vast media collection and I'm letting filebot go over our series collection which is somewhat around 25TB (~25k files) and some of the files seem to have a damaged media stream which naturally causes filebot to throw an exception as ...
by dgnrt3
18 Jul 2023, 08:34
Forum: Scripting and Automation
Topic: genres list not searchable with OR operator?
Replies: 2
Views: 436

Re: genres list not searchable with OR operator?

ufff....now you're explaining it it makes so much sense lol
Thanks for helping me out...wasnt my brightest day lmao
by dgnrt3
17 Jul 2023, 20:28
Forum: Scripting and Automation
Topic: genres list not searchable with OR operator?
Replies: 2
Views: 436

genres list not searchable with OR operator?

Hi all, maybe I'm overseeing something here but is there a reason why genres is not searchable with an OR (||) operator? Have searched the forums for similar use cases but couldnt find a fitting one and also experimented with .match() and similar things but It feels like I'm smashing my head against...
by dgnrt3
05 Jul 2023, 20:02
Forum: Scripting and Automation
Topic: Need little help with conflict groovy script
Replies: 13
Views: 1121

Re: Need little help with conflict groovy script

1. {vf} is indeed based on the file content on not the file name. Since you didn't post the MediaInfo table for each file, I had to guess the value of {vf} based on the file path that you did share with us, just to illustrate what is probably happening with some example numbers. ;) Can't provide th...
by dgnrt3
02 Jul 2023, 10:22
Forum: Scripting and Automation
Topic: Need little help with conflict groovy script
Replies: 13
Views: 1121

Re: Need little help with conflict groovy script

I've fixed the log above. You'll want to read logs in plain/text. If you're using some kind of web-based management software, then you'll want to make sure that it doesn't remove newlines in the console output text area, as that will make things hard to read. I'm sorry, was laying on the couch and ...
by dgnrt3
01 Jul 2023, 04:46
Forum: Scripting and Automation
Topic: Need little help with conflict groovy script
Replies: 13
Views: 1121

Re: Need little help with conflict groovy script

One thing I noticed with the solution I'm currently using which you might want to consider for your improved quality logic. Apart from that: why does filebot behave the way shown below? Working env: - Movie collection gets searched with find with a regex test to only match folders which have '.2010'...
by dgnrt3
30 Jun 2023, 07:37
Forum: Scripting and Automation
Topic: Need little help with conflict groovy script
Replies: 13
Views: 1121

Re: Need little help with conflict groovy script

looks like a rock solid solution! Thanks for keeping filebot alive and always improving it :)
by dgnrt3
30 Jun 2023, 05:38
Forum: Scripting and Automation
Topic: Need little help with conflict groovy script
Replies: 13
Views: 1121

Re: Need little help with conflict groovy script

ouh very sweet...so what does the logic now all consider with which weight? I'm fine with a short link to the code in the source code :)
by dgnrt3
29 Jun 2023, 09:10
Forum: Scripting and Automation
Topic: Need little help with conflict groovy script
Replies: 13
Views: 1121

Re: Need little help with conflict groovy script

Hey rednoah,

you literal god amongst filebot users. Thanks a lot for your fast reply and the input.

Cheers
by dgnrt3
29 Jun 2023, 04:55
Forum: Scripting and Automation
Topic: Need little help with conflict groovy script
Replies: 13
Views: 1121

Need little help with conflict groovy script

Hi all, we have a vast media collection in which there are often times multiple resolutions and codecs available and i want filebot to only keep the one with the highest resolution and when there are several files with the same resolution it should favor HEVC files. https://www.filebot.net/forums/vi...
by dgnrt3
24 Apr 2023, 11:01
Forum: Scripting and Automation
Topic: Remove prefix before searching
Replies: 6
Views: 741

Re: Remove prefix before searching

this query goes to your selected DB (TheTVDB, MovieDB, AniDB, etc). You can integrate this into the query your script calls
by dgnrt3
24 Apr 2023, 10:46
Forum: Scripting and Automation
Topic: [Linux CLI] Read strings from a file and remove them from folder names
Replies: 4
Views: 584

Re: [Linux CLI] Read strings from a file and remove them from folder names

on a separate note: at least from my understanding {h,x}\d{3} is a valid regex to match strings starting with h or x followed by 3 numbers but when used like this: {f.dir.name.replaceAll(/(?i:(^\w+-|.s\d+e\d+|.\d{3,4}p|{h,x}\d{3}|-\w*$))/,'')} Error Message: Expression yields empty value: Illegal re...
by dgnrt3
24 Apr 2023, 10:36
Forum: Scripting and Automation
Topic: [Linux CLI] Read strings from a file and remove them from folder names
Replies: 4
Views: 584

Re: [Linux CLI] Read strings from a file and remove them from folder names

Thanks for your fast reply rednoah! Sorry for the confusion...i need this function for --q to get good results from the DBs --q "{f.dir.name.replaceAll(/(?i:(^\w+-|.s\d+e\d+|.\d{3,4}p|{h,x}\d{3}|-\w*$))/,'').replaceAll(/\./, ' ')}" {} Would this work there as well? Update: I wasn't able to...
by dgnrt3
24 Apr 2023, 08:44
Forum: Scripting and Automation
Topic: Remove prefix before searching
Replies: 6
Views: 741

Re: Remove prefix before searching

You could also work with regex to strip letters or numbers at the front of the name followed by an underscore: ^\w+_ a possible query would like this: --q "{fn.replaceAll(/(?i:(^\w+_|\d{3,4}p|-\w*$))/,'')}" ^\w+_ = any amount of letters or numbers at the start of the filename followed by u...