I used Filebot for years now and all worked like a charm, until I was forced to format my NAS and replaced the original Firmware with Debian since the the QNAP firmware was getting to lagy for my old NAS (QNAP 212P). After installing Java, I've downloaded Filebot 4.7.9 Portable.
The problem that I'm facing is that it runs awfully slow and eats all my CPU. I've run the AMC script and after 1h, it didn't pass the "input" stage, my CPU is at almost 100% and my load is at 1.2-1.4. I even Used the Xms256m and Xmx351m to make sure that I have enough memory allocated for the script to run smoothly but still no luck.
Before I used to use Filebot 4.7.2 which I cannot seem to find anywhere

I've included all the info I thought my be of any help.
Code: Select all
java -version
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-2~deb9u1-b13)
OpenJDK Zero VM (build 25.181-b13, interpreted mode)
Code: Select all
javac -version
javac 1.8.0_181
Code: Select all
free -h
total used free shared buff/cache available
Mem: 501M 81M 98M 2.8M 322M 406M
Swap: 488M 2.1M 486M
Code: Select all
export JAVA_OPTS="-Xms256m"
export JAVA_OPTS="-Xmx351m"
sh FileBot/filebot.sh -script fn:sysinfo
FileBot 4.7.9 (r4984)
JNA Native: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-arm/libjnidispatch.so) not found in resource path ([file:/home/vstancea/FileBot/FileBot.jar])
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load arm (32-bit) native library libmediainfo.so: Could not initialize class com.sun.jna.Native
Apache Commons VFS: [zip, rar]
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2018-03-16 (r516)
Groovy: 2.4.10
JRE: OpenJDK Runtime Environment 1.8.0_181
JVM: 32-bit OpenJDK Zero VM
CPU/MEM: 1 Core / 340 MB Max Memory / 7 MB Used Memory
OS: Linux (arm)
Package: PORTABLE
uname: Linux 192-168-0-100 4.9.0-8-marvell #1 Debian 4.9.130-2 (2018-10-27) armv5tel GNU/Linux
Code: Select all
#!/bin/sh -xu
# Input Parameters
ARG_PATH="$TR_TORRENT_DIR/$TR_TORRENT_NAME"
ARG_NAME="$TR_TORRENT_NAME"
ARG_LABEL="N/A"
# Configuration
CONFIG_OUTPUT="/home/vstancea/Media"
CONFIG_INPUT="/home/vstancea/Downloads/Completed/"
export JAVA_OPTS='-Xms256m'
export JAVA_OPTS='-Xmx351m'
sh /home/vstancea/FileBot/filebot.sh -script fn:amc --output "$CONFIG_OUTPUT" --action move --conflict skip -non-strict "$CONFIG_INPUT" --log-file amc.log --def unsorted=n music=n artwork=n excludeList=".excludes"