Have been running filebot with AMC for a while now (After rednoah helped me get it working right!). I am now having a new problem. Recently got a new machine and was working on setting that new machine up to take over the filebot/amc script.
I setup Ubuntu 14.04, setup Filebot 4.5.6 (r2818) and Java 1.8.0_45. Setup deluge daemon. I copied the AMC and deluge-postprocess scripts from the PC where it is working now to this new PC, setup the exact same folders in the same places.
My problem is that when I run it, I get the following errors in amc.log:
Parameter: gmail = *****
Parameter: artwork = y
Parameter: ut_dir = /
Parameter: ut_kind = multi
Parameter: ut_title =
Parameter: minFileSize = 0
Parameter: clean = y
Invalid arguments: pass in either file arguments or ut_dir/ut_file parameters but not both
Failure (°_°)
I know I am missing something here, but not sure what??
Any help would be appreciated.
filebot -version:
FileBot 4.5.6 (r2818) / Java(TM) SE Runtime Environment 1.8.0_45
java -version:
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
deluge-postprocess:
#!/bin/bash
TORRENT_ID=$1
TORRENT_NAME=$2
TORRENT_PATH=$3
filebot -script fn:amc --output "/mnt/MediaServer" --log-file amc.log --action duplicate --conflict override -non-strict --def music=y artwork=y "ut_dir=$TORRENT_PATH/$TORRENT_NAME" "ut_kind=multi" "ut_title=$TORRENT_NAME"
AMC Issue
Re: AMC Issue
What you want to pass:
What you do pass:
As we can see all the $ENVIRONMENT variables are empty. Why?
Code: Select all
"ut_dir=$TORRENT_PATH/$TORRENT_NAME"
Code: Select all
ut_dir = /
If you want to run it manually you need to pass 3 arguments:You CANNOT just copy & paste the template for µTorrent with all the %D, %F, etc variables into cmd. The variables have to be replaced with actual values first.
Code: Select all
TORRENT_ID=$1
TORRENT_NAME=$2
TORRENT_PATH=$3