[SOLVED] Subtitle download doesn't work from Cron
Posted: 13 Aug 2015, 00:08
Hi, first of all, thank you rednoah for all your work and support.
I got my amc script working perfectly when I execute the command on a linux terminal, however, when automating it via cron or adding to torrent completion event in transmission, the subtitle download does not work.
From the log:
"Get [English] subtitles for 1 files
CmdlineException: OpenSubtitles: Please enter your login details by calling `filebot -script fn:configure`"
Of course, I already executed that command and it accepted the login details, thus why it is working when I execute the script from a command line.
Any idea how to fix this?
sys:info - Raspberry Pi 2
filebot -script fn:sysinfo
FileBot 4.6 (r3052)
JNA Native: 4.0.0
MediaInfo: MediaInfoLib - v0.7.58
p7zip: java.io.IOException: Cannot run program "7z": error=2, No such file or directory
chromaprint-tools: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Groovy Engine: 2.4.3
JRE: Java(TM) SE Runtime Environment 1.8.0_51 (headless)
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 4 Core / 208 MB Max Memory / 14 MB Used Memory
OS: Linux (arm)
uname: Linux hulk 3.18.13-v7+ #784 SMP PREEMPT Sat May 9 15:57:36 BST 2015 armv7l GNU/Linux
I got my amc script working perfectly when I execute the command on a linux terminal, however, when automating it via cron or adding to torrent completion event in transmission, the subtitle download does not work.
From the log:
"Get [English] subtitles for 1 files
CmdlineException: OpenSubtitles: Please enter your login details by calling `filebot -script fn:configure`"
Of course, I already executed that command and it accepted the login details, thus why it is working when I execute the script from a command line.
Any idea how to fix this?
sys:info - Raspberry Pi 2
filebot -script fn:sysinfo
FileBot 4.6 (r3052)
JNA Native: 4.0.0
MediaInfo: MediaInfoLib - v0.7.58
p7zip: java.io.IOException: Cannot run program "7z": error=2, No such file or directory
chromaprint-tools: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Groovy Engine: 2.4.3
JRE: Java(TM) SE Runtime Environment 1.8.0_51 (headless)
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 4 Core / 208 MB Max Memory / 14 MB Used Memory
OS: Linux (arm)
uname: Linux hulk 3.18.13-v7+ #784 SMP PREEMPT Sat May 9 15:57:36 BST 2015 armv7l GNU/Linux