Search found 7 matches

by x5rl
27 May 2021, 21:12
Forum: Scripting and Automation
Topic: Windows amc script not working need some help please
Replies: 14
Views: 7534

Re: Windows amc script not working need some help please

If you're writing a command template for qBT, then you need to add the qBT variables to the command-line so that qBT can replace them with actual values: filebot @C:\amc.args --def "ut_label=%L" "ut_title=%N" "ut_kind=multi" "ut_dir=%F" So now after all that ...
by x5rl
27 May 2021, 16:37
Forum: Scripting and Automation
Topic: Windows amc script not working need some help please
Replies: 14
Views: 7534

Re: Windows amc script not working need some help please

In your @file there is 1 line per 1 argument . It's that simple. This is 2 arguments: --def clean=y :idea: Please read Cmdline and Argument Passing for details. So you paste 2 lines into your @file like so: --def clean=y Also, you probably wanna use the {plex} format for all your TV Series and Anim...
by x5rl
27 May 2021, 16:07
Forum: Scripting and Automation
Topic: Windows amc script not working need some help please
Replies: 14
Views: 7534

Re: Windows amc script not working need some help please

1. Prototype your custom format in the Format Editor GUI until you're happy. 2. Copy and paste your custom format into your @file verbatim as shown in the example: movieFormat={genres =~ /Anime|Animated|Cartoon|Animation/ ? 'Animated' :genres =~ /Documentary/ ? 'Documentaries' : 'Films'}/{ny}/{ny} ...
by x5rl
27 May 2021, 14:12
Forum: Scripting and Automation
Topic: Windows amc script not working need some help please
Replies: 14
Views: 7534

Re: Windows amc script not working need some help please

Yes, you simplify the command to the point where you don't need to quote or escape anything, elegantly eliminating all possible errors that stem from not quoting or escaping arguments correctly. Figuring out how to correctly quote and escape complex arguments is not humanly possible, and varies by ...
by x5rl
27 May 2021, 12:38
Forum: Scripting and Automation
Topic: Windows amc script not working need some help please
Replies: 14
Views: 7534

Re: Windows amc script not working need some help please

You have multiple errors in your command-line so I updated my previous post: https://www.filebot.net/forums/viewtopic.php?p=54721#p54721 :arrow: Long story short. Use @files to elegantly bypass all of these potential pitfalls. How do you do it? learning all this is so confussing I thought when I bo...
by x5rl
27 May 2021, 12:28
Forum: Scripting and Automation
Topic: Windows amc script not working need some help please
Replies: 14
Views: 7534

Re: Windows amc script not working need some help please

BAD: --output "E:\Videos\" GOOD: --output "E:\Videos" https://i.imgur.com/dkgcMx6.png :idea: Please read Cmdline and Argument Passing for details. :idea: Use the @file syntax for reading command-line arguments from external text files. Thanks I removed the backslash but get a ev...
by x5rl
27 May 2021, 11:49
Forum: Scripting and Automation
Topic: Windows amc script not working need some help please
Replies: 14
Views: 7534

Windows amc script not working need some help please

Can't get it work comes up with errors this is the script I am trying to use filebot -script fn:amc "E:\Leeching Done\Radarr\" --output "E:\Videos\" ... --def movieFormat="{genres =~ \Anime|Animated|Cartoon|Animation\ ? 'Animated' :genres =~ \Documentary\ ? 'Documentaries' :...