Search found 26 matches

by SonOfDiablo
07 Mar 2020, 15:52
Forum: Help and Support
Topic: User defined Variables/Bindings in format string
Replies: 12
Views: 8094

Re: User defined Variables/Bindings in format string

Oh, fair enough. I'm just gonna wait it out then.

Thank you for all the assistance though, greatly appreciated!
by SonOfDiablo
07 Mar 2020, 15:18
Forum: Help and Support
Topic: User defined Variables/Bindings in format string
Replies: 12
Views: 8094

Re: User defined Variables/Bindings in format string

I'm using the Microsoft Store version (which is currently on v4.8.5 (r6224))
by SonOfDiablo
07 Mar 2020, 14:37
Forum: Help and Support
Topic: User defined Variables/Bindings in format string
Replies: 12
Views: 8094

Re: User defined Variables/Bindings in format string

After a bit of reading I thought Evaluate(...) as file seemed to be the best option for what I want, however I'm getting the following error message: Expression yields empty value: No signature of method: TVFormat.csv() is applicable for argument types: (String) values: [D:/Film/filter.csv] I guess ...
by SonOfDiablo
07 Mar 2020, 13:51
Forum: Help and Support
Topic: User defined Variables/Bindings in format string
Replies: 12
Views: 8094

Re: User defined Variables/Bindings in format string

That worked thanks! Though I do have one question (just out of curiosity) in the @file syntax post you show this example: Movies/{ [ allOf {ny} { allOf {vf} {group} } , allOf {ny} {'CD'+pi} {lang} ]*.findResults { if (it) it.toString() .replaceAll(/[!?.]+$/) .asciiQuotes() }*.join(' ') .join('/') } ...
by SonOfDiablo
07 Mar 2020, 10:53
Forum: Help and Support
Topic: User defined Variables/Bindings in format string
Replies: 12
Views: 8094

Re: User defined Variables/Bindings in format string

However I have run into an issue... When calling filebot from the command line (Powershell Core 6 on Windows) it works just fine, however when calling filebot from TotalCommander (Like I have been doing for years now, without issues) I get the following error message: Rename episodes using [TheTVDB]...
by SonOfDiablo
07 Mar 2020, 09:44
Forum: Help and Support
Topic: User defined Variables/Bindings in format string
Replies: 12
Views: 8094

Re: User defined Variables/Bindings in format string

You can only use variables, conditionals, etc inside {GroovyCode} sections. :idea: Depending on your use case, you might want to consider using a single {...} expression for your entire code and just have that yield the path you want. If your format is heavy on code and logic, then this will make t...
by SonOfDiablo
06 Mar 2020, 20:50
Forum: Help and Support
Topic: User defined Variables/Bindings in format string
Replies: 12
Views: 8094

User defined Variables/Bindings in format string

Hello, I just encountered an issue where a show is given the wrong year (because of an inconsistency on TheTVDB) and I'm trying to figure out the best solution to the problem. right now this is my format pattern: {csv('D:/Film/filter.csv').get(n.lower()).split(';')[1] ?: 'New'}/Shows/{n} ({csv('D:/F...
by SonOfDiablo
24 Feb 2020, 21:19
Forum: Episode / Movie Naming Scheme
Topic: [Solved (sort of)] Working with an XML file
Replies: 2
Views: 4980

Re: [Help Needed] Working with an XML file

I didn't plan on writing it all out myself, I had in mind to throw together a little script that would let me add items to the XML file (with as little input from me as possible). Mostly I wanted to do this to combine it all into a single file (for the sake of keeping things tidy). Also I though the...
by SonOfDiablo
24 Feb 2020, 16:37
Forum: Episode / Movie Naming Scheme
Topic: [Solved (sort of)] Working with an XML file
Replies: 2
Views: 4980

[Solved (sort of)] Working with an XML file

Hello, I want to change my FileBot workflow a bit to have FileBot automatically organize media files in appropriate folders. However I have my TV Shows split up into different paths (/some/path/Shows; /some/other/path/Shows;) So I made a map in the form of a csv file: ShowName;some/path/Shows Anothe...
by SonOfDiablo
25 Nov 2019, 16:02
Forum: Scripting and Automation
Topic: [Solved] Force match on specific shows
Replies: 4
Views: 3826

Re: Force match on specific shows

Exactly what I wanted!
Thanks rednoah! really appreciate the help! :D
by SonOfDiablo
25 Nov 2019, 15:42
Forum: Scripting and Automation
Topic: [Solved] Force match on specific shows
Replies: 4
Views: 3826

Re: Force match on specific shows

The Filter option works like a charm! Thanks man! :D Just, one more question.. It's not really a bit deal, just more of a curiosity: When using a filter Filebot writes out all the inclusions like this Apply filter [!readLines('path/to/Filebot_Excludes.txt').contains(n)] on [1881] items Include [Rick...
by SonOfDiablo
25 Nov 2019, 14:50
Forum: Scripting and Automation
Topic: [Solved] Force match on specific shows
Replies: 4
Views: 3826

[Solved] Force match on specific shows

Greetings, I'm using the CLI part of Filebot to rename episodes of different shows, however I have noticed that a few shows (namely Watchmen and the new Magnum P.I.) gets matched wrongly to either older or different shows and I have to rename them manually with the Filebot GUI. Magnum P.I. gets matc...
by SonOfDiablo
14 Nov 2019, 19:36
Forum: Windows
Topic: IllegalStateException during thetvdb api calls
Replies: 10
Views: 4886

Re: IllegalStateException during thetvdb api calls

Oh I see, well, nothing to do but wait for TheTVDB to fix the API then I guess.
by SonOfDiablo
14 Nov 2019, 17:53
Forum: Help and Support
Topic: TheTVDB: Does not find some Seasons > 4
Replies: 3
Views: 2163

Re: TheTVDB: Does not find some Seasons > 4

I have been having the same issue, it looks like TheTVDB recently started to roll out a new version of their API which might be why issues are starting to show up. I think TheTVDB went from one page to multi-paged responses of the episode calls, which is why people have issues with Filebot not being...
by SonOfDiablo
14 Nov 2019, 17:52
Forum: Windows
Topic: IllegalStateException during thetvdb api calls
Replies: 10
Views: 4886

Re: IllegalStateException during thetvdb api calls

I haven't tried changing my DNS server, but I just read that TheTVDB recently started to roll out a new version of their API which might be why issues are starting to show up. I no longer get java.lang.IllegalStateException, the api calls just seems to be broken now. I think TheTVDB went from one pa...
by SonOfDiablo
14 Nov 2019, 15:28
Forum: Windows
Topic: Family Guy
Replies: 5
Views: 2685

Re: Family Guy

I just encountered the same issue with a few different shows.
Did a bit of googling and found that TheTVDB started to roll out v3 of their API starting at 30/10/2019.

I'm suspecting that Filebot is using v2 which might be why issues are starting to appear?
by SonOfDiablo
09 Nov 2019, 19:21
Forum: Windows
Topic: IllegalStateException during thetvdb api calls
Replies: 10
Views: 4886

Re: IllegalStateException during thetvdb api calls

rednoah wrote: 09 Nov 2019, 19:15 API is down or broken. Probably a temporary issue. Try again tomorrow.
Ah, I see, thanks for the info!
by SonOfDiablo
09 Nov 2019, 19:01
Forum: Windows
Topic: IllegalStateException during thetvdb api calls
Replies: 10
Views: 4886

IllegalStateException during thetvdb api calls

Greetings, Recently (a few days ago) I started getting java.lang.IllegalStateException doing api calls (I only really use thetvdb so I haven't actually tested it with any other apis). It seems that Filebot is still able to rename the files correctly, so it's not a huge issue, just wondering if anyon...
by SonOfDiablo
12 Feb 2019, 19:54
Forum: Scripting and Automation
Topic: [Help] Rename Script for Total Commander
Replies: 14
Views: 5186

Re: [Help] Rename Script for Total Commander

Oh that is a lot easier than I thought it would have been!

I thank you again! I really appreciate all of your help!
by SonOfDiablo
12 Feb 2019, 12:04
Forum: Scripting and Automation
Topic: [Help] Rename Script for Total Commander
Replies: 14
Views: 5186

Re: [Help] Rename Script for Total Commander

Just means that Windows CMD can't display unicode characters, and that the script completed without errors. Why does it not do anything? Because the renall script explicitly deal with folder structures: https://www.filebot.net/forums/viewtopic.php?t=5#p2211 :?: Since you have a very simple use case...
by SonOfDiablo
12 Feb 2019, 11:45
Forum: Scripting and Automation
Topic: [Help] Rename Script for Total Commander
Replies: 14
Views: 5186

Re: [Help] Rename Script for Total Commander

Just means that Windows CMD can't display unicode characters, and that the script completed without errors. Why does it not do anything? Because the renall script explicitly deal with folder structures: https://www.filebot.net/forums/viewtopic.php?t=5#p2211 :?: Since you have a very simple use case...
by SonOfDiablo
12 Feb 2019, 10:57
Forum: Scripting and Automation
Topic: [Help] Rename Script for Total Commander
Replies: 14
Views: 5186

Re: [Help] Rename Script for Total Commander

Haha, it's a funny one isn't it? It's a JRE error message, not specific to FileBot. It'll just say if the path is invalid, and then echo the path that's invalid. In this case, ' is index 0, d is index 1 and : is index 2. So you get the error because index 1 is not : which means the path is not a va...
by SonOfDiablo
12 Feb 2019, 09:49
Forum: Scripting and Automation
Topic: [Help] Rename Script for Total Commander
Replies: 14
Views: 5186

Re: [Help] Rename Script for Total Commander

You're command line is somehow wrong. It's best to learn how to use the command line tool first without Total Commander, and only integrate with TC once you already get the hang of it directly in CMD. e.g. your first mistake is using ' which is ok in Unix bash but not Windows CMD. So I tried it in ...
by SonOfDiablo
12 Feb 2019, 08:33
Forum: Scripting and Automation
Topic: [Help] Rename Script for Total Commander
Replies: 14
Views: 5186

Re: [Help] Rename Script for Total Commander

This is a question best asked at the Total Commander forum. If you can figure out how to call any program on select files, then I can help you call filebot specifically on selected files. Currently what I was trying is something like this: filebot -script fn:renall '%P%N' -non-strict --format "...
by SonOfDiablo
11 Feb 2019, 22:59
Forum: Scripting and Automation
Topic: [Help] Rename Script for Total Commander
Replies: 14
Views: 5186

Re: [Help] Rename Script

Well, I suppose it's a simple as doing a FileBot command line call, and then replacing the input file argument with some variables that are provided by Total Commander. Could I trouble you for an example of how one such command line call would look like? I have tried to read up on it, but I can't s...