I have installed java and I have extracted the filebot .ipk to what I think is the right place.
If I run /usr/share/filebot/bin/filebot.sh -script fn:sysinfo
It returns
Code: Select all
FileBot 4.0 (r2056)
JNA Native: 4.0.0
May 20, 2014 11:15:04 AM net.sourceforge.filebot.mediainfo.MediaInfo <clinit>
WARNING: Failed to preload libzen
MediaInfo: java.lang.UnsatisfiedLinkError: Unable to load library 'mediainfo': Native library (linux-arm/libmediainfo.so) not found in resource path ([file:/home/pi/opt/usr/share/filebot/FileBot.jar])
7-Zip-JBinding: net.sf.sevenzipjbinding.SevenZipNativeInitializationException: Failed to load 7z-JBinding: /home/pi/opt/usr/share/filebot/lib7-Zip-JBinding.so: /home/pi/opt/usr/share/filebot/lib7-Zip-JBinding.so: cannot open shared object file: No such file or directory
chromaprint-tools: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: DISABLED
Groovy Engine: 2.2.0
Java(TM) SE Runtime Environment 1.7.0_40 (headless)
32-bit Java HotSpot(TM) Client VM
Linux (arm)
Linux raspberrypi 3.10.25+ #622 PREEMPT Fri Jan 3 18:41:00 GMT 2014 armv6l GNU/Linux
Done ヾ(@⌒ー⌒@)ノ
Code: Select all
#!/bin/bash
TORRENT_ID=$1
TORRENT_NAME=$2
TORRENT_PATH=$3
/usr/share/filebot/bin/filebot.sh -script fn:amc --output "/mnt/media" --log-file amc.log --action copy --conflict override -non-strict --def artwork=n "ut_dir=$TORRENT_PATH/$TORRENT_NAME" "ut_kind=multi" "ut_title=$TORRENT_NAME"
I feel like it is something with my install of java or filebot but does anyone know what I have done wrong?
EDIT:
Also just to add to everything.
If I run:
java -version
I get
Code: Select all
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) Client VM (build 24.0-b56, mixed mode)
I get
Code: Select all
javac 1.7.0_40