That's my first post here on the forum.
I've spend quite some time searching for a simple way to use all the power of Filebot... i admit that at first i had some trouble with longy command lines and dependencies, but in the end i've made it!
I've installed FileBot 4.0 + LibMediaInfo + LibZen + 7zip native library + fpcalc on my Synology Nas (DS214play, DSM 4.0 final).
For your interest, the arch is i686, codenamed "evansport"... But that should be the same, the only requirement is to have the ipk file for your arch.
This tutorial will fix the nasty "error 1 returned code" while installing using the ipkg utility (synology uses a strange path for its optware binaries... so we have to fix them by hand)
I assume you already have a working java enviroment, if you dont have it you can download it from the package center (Java Embedded SE, from MissileHugger repo)
Do all the nasty things in a tmp dir... allocated on your volume, so it wont rape your flash zone
Code: Select all
cd /volume1/@tmp/
mkdir filebot
cd filebot
wget http://sourceforge.net/projects/filebot/files/filebot/FileBot_4.0/filebot_4.0_i686.ipk/download
Code: Select all
ar x filebot_4.0_i686.ipk
ls
Code: Select all
control.tar.gz data.tar.gz debian-binary filebot_4.0_i686.ipk
Now we will extract the real binaries...
Code: Select all
tar xzvf data.tar.gz
Code: Select all
cd opt/usr/share/filebot/
mkdir /opt/share/filebot/
mv * /opt/share/filebot/
cd /opt/share/filebot/bin
mv filebot.sh /opt/bin/filebot
chmod +x /opt/bin/filebot
feel free to use any editor, i prefer nano. The resulting file will contain these lines:
Code: Select all
#!/bin/sh
java -Dunixfs=false -DuseExtendedFileAttributes=false -DuseCreationDate=false -Dfile.encoding=UTF-8 -Dsun.net.client.defaultConnectTimeout=10000 -Dsun.net.client.defaultReadTimeout=60000 -Dapplication.deployment=ipkg -Dapplication.analytics=true -Duser.home=/opt/share/filebot/data -Dapplication.dir=/opt/share/filebot/data -Djava.io.tmpdir=/opt/share/filebot/data/temp -Djna.library.path=/opt/share/filebot -Djava.library.path=/opt/share/filebot -Dnet.sourceforge.filebot.AcoustID.fpcalc=/opt/share/filebot/fpcalc -jar /opt/share/filebot/FileBot.jar "$@"
Code: Select all
filebot -script fn:sysinfo
Code: Select all
Mar 26, 2014 12:21:47 AM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
FileBot 4.0 (r2056)
JNA Native: 4.0.0
MediaInfo: MediaInfoLib - v0.7.64
7-Zip-JBinding: OK
chromaprint-tools: fpcalc version 1.1.0 (/opt/share/filebot/fpcalc)
Extended Attributes: DISABLED
Groovy Engine: 2.2.0
Java(TM) SE Embedded Runtime Environment 1.8.0 (headless)
32-bit Java HotSpot(TM) Embedded Client VM
Linux (i386)
Done ヾ(@⌒ー⌒@)ノ
Done!

Now clean the tmp dir with
PAY ATTENTION TO THIS COMMAND! THIS COULD RUIN YOUR DATA IF UNCORRECTLY TYPED!
Code: Select all
rm -fr /volume1/@tmp/filebot
I hope this will help someone...

Sorry for my english, im italian and i hope that everyone understood!
Have an happy renaming
