Search found 4 matches

by lanrat
13 Sep 2021, 05:15
Forum: Ubuntu & Linux
Topic: AMC exec script: files with '(' in filename not working
Replies: 6
Views: 10396

Re: AMC exec script: files with '(' in filename not working

Thanks for the help!

Using the following fixed all the errors:

Code: Select all

--def exec="remux.sh {quote file}"
by lanrat
09 Sep 2021, 18:32
Forum: Ubuntu & Linux
Topic: AMC exec script: files with '(' in filename not working
Replies: 6
Views: 10396

Re: AMC exec script: files with '(' in filename not working

Thanks, I'll try without the quotes: --def exec="remux.sh {quote file}" The first line of remux.sh prints $1, and some other information, so it is easy for me to tell when the script is running. However I've never seen the amc script print "Execute: ..." even when the script is run and I see the pri...
by lanrat
08 Sep 2021, 17:58
Forum: Ubuntu & Linux
Topic: AMC exec script: files with '(' in filename not working
Replies: 6
Views: 10396

Re: AMC exec script: files with '(' in filename not working

Thanks for the information. script.sh is being provided a a full path and is called every time I run filebot. I have debugging information printed out when it runs to verify. I tried using the quote function and changed the command to be: -script fn:amc --def exec="script.sh '{quote file}'" But now ...
by lanrat
07 Sep 2021, 03:09
Forum: Ubuntu & Linux
Topic: AMC exec script: files with '(' in filename not working
Replies: 6
Views: 10396

AMC exec script: files with '(' in filename not working

Hello, I'm using the filebot AMC script with the exec option. However I've found that when operating on files that have a '(' in their filename (as is common with movies for the year) then the '(' is treated like a shell command and an error is thrown. If I quote the file, then filebot gives an erro...