[OSX] AMC script works manually, not transmission-postproces
Posted: 19 Jan 2016, 08:43
I had little issue setting up Filebot years ago, but just installed a new SSD and cannot get it quite working right again.
My `transmission-postprocess.sh` is a lightly modified version of the one on Github.
transmission-postprocess.sh
I've tested to make sure the file is called (just putting a `touch ~/Desktop/test.txt` in place of AMC), by my `amc.log` is not touched.
I can call the script manually (with an input, without the Transmission variables) and it works as expected.
filebot -script fn:sysinfo
Would appreciate some advice, thanks.
My `transmission-postprocess.sh` is a lightly modified version of the one on Github.
transmission-postprocess.sh
Code: Select all
#!/bin/sh
/usr/local/bin/filebot -script fn:amc --output "/Volumes/Nu\ Media/" --action duplicate --conflict skip -non-strict --log-file amc.log --def artwork=y clean=y music=y plex=http://127.0.0.1:KEY unsorted=y excludeList=amc.excludes "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME"
I can call the script manually (with an input, without the Transmission variables) and it works as expected.
filebot -script fn:sysinfo
Code: Select all
FileBot 4.6.1 (r3315)
JNA Native: 4.0.1
MediaInfo: MediaInfoLib - v0.7.78
7-Zip-JBinding: 9.20
Chromaprint: fpcalc version 1.1.0 (/opt/homebrew-cask/Caskroom/filebot/4.6.1/FileBot.app/Contents/MacOS/fpcalc)
Extended Attributes: OK
Groovy Engine: 2.4.5
JRE: Java(TM) SE Runtime Environment 1.8.0_66
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 2 Core / 3 GB Max Memory / 160 MB Used Memory
OS: Mac OS X (x86_64)
Package: APP
Data: /Users/Mini/.filebot
uname: Darwin Mini.local 15.2.0 Darwin Kernel Version 15.2.0: Fri Nov 13 19:56:56 PST 2015; root:xnu-3248.20.55~2/RELEASE_X86_64 x86_64
Done ヾ(@⌒ー⌒@)ノ
Would appreciate some advice, thanks.