filebot works in Terminal, doesn´t work from sh script
Posted: 09 May 2014, 21:59
Hi all,
I struggled installing filebot, flexget and pyload on my QNAP NAS as I am a unix noob.
All in all it´s now working well, except, that filebot only runs from shell.
When I run the following from shell, it works and I am VERY happy about the magic of filebot:
But when this command is executed by a shell script that is triggerd / executed by pyload "package_finished", it won´t do anything.
It doesn´t even log anything, no info, warnings, errors, nothing.
The same when I don´t use ">>" but the "log-file" filebot command.
Not even a
does anything - when executed by the shell script.
Can anyone hint me in a direction? How can I debug anything without log entries...?
Every idea appreciated.
Cheers
btw, here´s my setup:
- QNAP NAS
- pyload installed as QPKG package
- JRE 7 installed as QPKG package
java -version output:
- filebot 4.0
filebot -version output:
I struggled installing filebot, flexget and pyload on my QNAP NAS as I am a unix noob.
All in all it´s now working well, except, that filebot only runs from shell.
When I run the following from shell, it works and I am VERY happy about the magic of filebot:
Code: Select all
filebot -script fn:amc "/share/MD0_DATA/Download/pyload/The Daily Show 2014 05 08 Katie Couric 720p HDTV x264-LMAO" --output "/share/MD0_DATA/Py/" --conflict override -non-strict --action move --def "movieFormat=Movies/{net.sourceforge.filebot.WebServices.TMDb.getMovieInfo(movie, Locale.GERMAN).name} {'('+y+')'}/{net.sourceforge.filebot.WebServices.TMDb.getMovieInfo(movie, Locale.GERMAN).name} {'('+y+')'}" clean=y artwork=n >> /share/MD0_DATA/FileBot/log.log
It doesn´t even log anything, no info, warnings, errors, nothing.
The same when I don´t use ">>" but the "log-file" filebot command.
Not even a
Code: Select all
filebot -version >> /share/MD0_DATA/FileBot/log.log
Can anyone hint me in a direction? How can I debug anything without log entries...?
Every idea appreciated.
Cheers
btw, here´s my setup:
- QNAP NAS
- pyload installed as QPKG package
- JRE 7 installed as QPKG package
java -version output:
Code: Select all
[/] # java -version
java version "1.7.0_45"
Java(TM) SE Embedded Runtime Environment (build 1.7.0_45-b15, headless)
Java HotSpot(TM) Embedded Client VM (build 24.45-b08, mixed mode)
[/] #
filebot -version output:
Code: Select all
[/] # filebot -version
FileBot 4.0 (r2056) / Java(TM) SE Embedded Runtime Environment 1.7.0_45 (headless)
[/] #