Where is the differnt from FileBot(CLI) to FileBot Node?
It works both but i had problems with my nas an i reinstall it.
Bevor it works with:
1. I Install Chromaprint, Mediainfo, Filebot and Filebot Node.
1. Copy the libs to /volumen1/@appstore/filebot/lib
2. Change the .profile(root & admin) with export LD_LIBRARY_PATH="/volumen1/@appstore/filebot/lib" and FileBot(CLI) works fine, but FileBot Note not.
3. I change the SYNO_LIBRARY_PATH="/volumen1/@appstore/filebot/lib" from /usr/local/filebot/filebot.sh and FileBot Node works fine.
But after the reinstall of DSM:
FileBot(CLI)
> filebot -script 'fn:sysinfo'
FileBot 4.6 (r3109)
JNA Native: 4.0.0
MediaInfo: MediaInfoLib - v0.7.69
p7zip: Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)
chromaprint-tools: fpcalc version 1.2.0 (/usr/local/chromaprint/bin/fpcalc)
Extended Attributes: OK
Groovy Engine: 2.4.3
JRE: Java(TM) SE Embedded Runtime Environment 1.8.0_33 (headless)
JVM: 32-bit Java HotSpot(TM) Embedded Server VM
CPU/MEM: 4 Core / 910 MB Max Memory / 20 MB Used Memory
OS: Linux (i386)
uname: Linux Z-NAS 3.10.35 #5565 SMP Mon Jun 8 16:46:10 CST 2015 x86_64 GNU/Linux synology_avoton_415+
Done ã¾(ï¼ âã¼âï¼ )ã
and FileBot Node:
filebot -script 'fn:sysinfo'
------------------------------------------
FileBot 4.6 (r3109)
JNA Native: 4.0.0
MediaInfo: java.lang.UnsatisfiedLinkError: Unable to load library 'mediainfo': Native library (linux-x86/libmediainfo.so) not found in resource path ([file:/volume1/@appstore/filebot/FileBot.jar])
p7zip: Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)
chromaprint-tools: fpcalc -version failed (/usr/local/chromaprint/bin/fpcalc)
Extended Attributes: OK
Groovy Engine: 2.4.3
JRE: Java(TM) SE Embedded Runtime Environment 1.8.0_33 (headless)
JVM: 32-bit Java HotSpot(TM) Embedded Server VM
CPU/MEM: 4 Core / 910 MB Max Memory / 20 MB Used Memory
OS: Linux (i386)
uname: Linux Z-NAS 3.10.35 #5565 SMP Mon Jun 8 16:46:10 CST 2015 x86_64 GNU/Linux synology_avoton_415+
Done ヾ(@⌒ー⌒@)ノ
where get FileBot Node there informations?
FileBot Node libs path
Re: FileBot Node libs path
1.
FileBot Node is just a WebUI for running filebot (CLI) commands.
2.
If you're using 4.6 then you don't need change or copy anything. If it doesn't work then the libraries just don't work. You can check the details in filebot.sh if you're curious how it works.
FileBot Node is just a WebUI for running filebot (CLI) commands.
2.
If you're using 4.6 then you don't need change or copy anything. If it doesn't work then the libraries just don't work. You can check the details in filebot.sh if you're curious how it works.
Re: FileBot Node libs path
It works but not with Mediainfo.
I use:
"filebot -script 'fn:amc' /volume1/input --output /volume1/output/ --action copy -non-strict --lang de --def 'music=y' 'unsorted=y' 'subtitles=deu' 'skipExtract=y' 'deleteAfterExtract=y' 'seriesFormat=serien/new/{n}/{'\''Season '\''+s}/{n} - {s00e00} - {t}' 'movieFormat=filme/new/{genre}/{n} ({y}){genres}/{n} ({y})'\''{primaryTitle}'\''({vf} {vc}-{af} {ac}){'\'' CD'\''+pi}' 'excludeList=.excludes' --log info --log-file '/volume1/@appstore/filebot-node/filebot.log'"
With FileBot(CLI) it works well. But with FileBot Node i don't get this infomations: "{vf} {vc}-{af} {ac}".
I use:
"filebot -script 'fn:amc' /volume1/input --output /volume1/output/ --action copy -non-strict --lang de --def 'music=y' 'unsorted=y' 'subtitles=deu' 'skipExtract=y' 'deleteAfterExtract=y' 'seriesFormat=serien/new/{n}/{'\''Season '\''+s}/{n} - {s00e00} - {t}' 'movieFormat=filme/new/{genre}/{n} ({y}){genres}/{n} ({y})'\''{primaryTitle}'\''({vf} {vc}-{af} {ac}){'\'' CD'\''+pi}' 'excludeList=.excludes' --log info --log-file '/volume1/@appstore/filebot-node/filebot.log'"
With FileBot(CLI) it works well. But with FileBot Node i don't get this infomations: "{vf} {vc}-{af} {ac}".
Re: FileBot Node libs path
.profile is ONLY used for your login shell. If a shell script is executed via FileBot Node or Task Scheduler then your .profile is not sourced.
So whatever it is you're doing. You can't do it in .profile so instead look at filebot.sh and how it works and set your variables there if necessary.
The filebot.sh script already adds the standard location of the MediaInfo libs to the library path by default. So you don't have to do that. And you don't have to rely on .profile for that.
So whatever it is you're doing. You can't do it in .profile so instead look at filebot.sh and how it works and set your variables there if necessary.
The filebot.sh script already adds the standard location of the MediaInfo libs to the library path by default. So you don't have to do that. And you don't have to rely on .profile for that.
Code: Select all
# add 3rd party packages to the library path by default
SYNO_FPCALC="/usr/local/chromaprint/bin/fpcalc"
SYNO_LIBRARY_PATH="/usr/local/mediainfo/lib"
# add APP_ROOT to LD_LIBRARY_PATH
if [ ! -z "$LD_LIBRARY_PATH" ]
then
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$SYNO_LIBRARY_PATH:$APP_ROOT"
else
export LD_LIBRARY_PATH="$SYNO_LIBRARY_PATH:$APP_ROOT"
fi
Re: FileBot Node libs path
Thank you for this application and your help i know that the .profile only woks for the cli. Therefore i change the SYNO_LIBRARY_PATH="/volumen1/@appstore/filebot/lib" and befor i reinstall my NAS it works.
The SYNO_LIBRARY_PATH="/usr/local/mediainfo/lib" don't works by me. And when i change the libs from Mediainfo will Mediainfo not work.
I deinstall Mediainfo, Chromaprint, FileBot, FileBot Node and i change the .profile to #LD_LIBRARY_PATH="/volumen1/@appstore/filebot/lib"
Than i install all new.
FileBot(CLI):
> filebot -script 'fn:sysinfo'
FileBot 4.6 (r3052)
JNA Native: 4.0.0
MediaInfo: java.lang.UnsatisfiedLinkError: Unable to load library 'mediainfo': Native library (linux-x86/libmediainfo.so) not found in resource path ([file:/volume1/@appstore/filebot/FileBot.jar])
p7zip: Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)
chromaprint-tools: fpcalc -version failed (/usr/local/chromaprint/bin/fpcalc)
Extended Attributes: OK
Groovy Engine: 2.4.3
JRE: Java(TM) SE Embedded Runtime Environment 1.8.0_33 (headless)
JVM: 32-bit Java HotSpot(TM) Embedded Server VM
CPU/MEM: 4 Core / 910 MB Max Memory / 21 MB Used Memory
OS: Linux (i386)
uname: Linux Z-NAS 3.10.35 #5565 SMP Mon Jun 8 16:46:10 CST 2015 x86_64 GNU/Linux synology_avoton_415+
Done ã¾(ï¼ âã¼âï¼ )ã
FileBot Node:
filebot -script 'fn:sysinfo'
------------------------------------------
FileBot 4.6 (r3052)
JNA Native: 4.0.0
MediaInfo: java.lang.UnsatisfiedLinkError: Unable to load library 'mediainfo': Native library (linux-x86/libmediainfo.so) not found in resource path ([file:/volume1/@appstore/filebot/FileBot.jar])
p7zip: Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)
chromaprint-tools: fpcalc -version failed (/usr/local/chromaprint/bin/fpcalc)
Extended Attributes: OK
Groovy Engine: 2.4.3
JRE: Java(TM) SE Embedded Runtime Environment 1.8.0_33 (headless)
JVM: 32-bit Java HotSpot(TM) Embedded Server VM
CPU/MEM: 4 Core / 910 MB Max Memory / 20 MB Used Memory
OS: Linux (i386)
uname: Linux Z-NAS 3.10.35 #5565 SMP Mon Jun 8 16:46:10 CST 2015 x86_64 GNU/Linux synology_avoton_415+
Done ?(?????)?
------------------------------------------
[Process completed]
Than i copy the the right libmediainfo.so, libzen.so, libmp3lame.so.0 for my cpu to "/volumen1/@appstore/filebot/" and all works! i don`t need to change any Path.
FileBot(CLI):
filebot -script 'fn:sysinfo'
FileBot 4.6 (r3052)
JNA Native: 4.0.0
MediaInfo: MediaInfoLib - v0.7.69
p7zip: Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)
chromaprint-tools: fpcalc version 1.2.0 (/usr/local/chromaprint/bin/fpcalc)
Extended Attributes: OK
Groovy Engine: 2.4.3
JRE: Java(TM) SE Embedded Runtime Environment 1.8.0_33 (headless)
JVM: 32-bit Java HotSpot(TM) Embedded Server VM
CPU/MEM: 4 Core / 910 MB Max Memory / 19 MB Used Memory
OS: Linux (i386)
uname: Linux Z-NAS 3.10.35 #5565 SMP Mon Jun 8 16:46:10 CST 2015 x86_64 GNU/Linux synology_avoton_415+
Done ã¾(ï¼ âã¼âï¼ )ã
FileBot Node:
------------------------------------------
FileBot 4.6 (r3052)
JNA Native: 4.0.0
MediaInfo: MediaInfoLib - v0.7.69
p7zip: Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)
chromaprint-tools: fpcalc version 1.2.0 (/usr/local/chromaprint/bin/fpcalc)
Extended Attributes: OK
Groovy Engine: 2.4.3
JRE: Java(TM) SE Embedded Runtime Environment 1.8.0_33 (headless)
JVM: 32-bit Java HotSpot(TM) Embedded Server VM
CPU/MEM: 4 Core / 910 MB Max Memory / 19 MB Used Memory
OS: Linux (i386)
uname: Linux Z-NAS 3.10.35 #5565 SMP Mon Jun 8 16:46:10 CST 2015 x86_64 GNU/Linux synology_avoton_415+
Done ?(?????)?
------------------------------------------
[Process completed]
the libmp3lame.so.0 change this error:
chromaprint-tools: fpcalc -version failed (/usr/local/chromaprint/bin/fpcalc)
all works fine.
The SYNO_LIBRARY_PATH="/usr/local/mediainfo/lib" don't works by me. And when i change the libs from Mediainfo will Mediainfo not work.
I deinstall Mediainfo, Chromaprint, FileBot, FileBot Node and i change the .profile to #LD_LIBRARY_PATH="/volumen1/@appstore/filebot/lib"
Than i install all new.
FileBot(CLI):
> filebot -script 'fn:sysinfo'
FileBot 4.6 (r3052)
JNA Native: 4.0.0
MediaInfo: java.lang.UnsatisfiedLinkError: Unable to load library 'mediainfo': Native library (linux-x86/libmediainfo.so) not found in resource path ([file:/volume1/@appstore/filebot/FileBot.jar])
p7zip: Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)
chromaprint-tools: fpcalc -version failed (/usr/local/chromaprint/bin/fpcalc)
Extended Attributes: OK
Groovy Engine: 2.4.3
JRE: Java(TM) SE Embedded Runtime Environment 1.8.0_33 (headless)
JVM: 32-bit Java HotSpot(TM) Embedded Server VM
CPU/MEM: 4 Core / 910 MB Max Memory / 21 MB Used Memory
OS: Linux (i386)
uname: Linux Z-NAS 3.10.35 #5565 SMP Mon Jun 8 16:46:10 CST 2015 x86_64 GNU/Linux synology_avoton_415+
Done ã¾(ï¼ âã¼âï¼ )ã
FileBot Node:
filebot -script 'fn:sysinfo'
------------------------------------------
FileBot 4.6 (r3052)
JNA Native: 4.0.0
MediaInfo: java.lang.UnsatisfiedLinkError: Unable to load library 'mediainfo': Native library (linux-x86/libmediainfo.so) not found in resource path ([file:/volume1/@appstore/filebot/FileBot.jar])
p7zip: Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)
chromaprint-tools: fpcalc -version failed (/usr/local/chromaprint/bin/fpcalc)
Extended Attributes: OK
Groovy Engine: 2.4.3
JRE: Java(TM) SE Embedded Runtime Environment 1.8.0_33 (headless)
JVM: 32-bit Java HotSpot(TM) Embedded Server VM
CPU/MEM: 4 Core / 910 MB Max Memory / 20 MB Used Memory
OS: Linux (i386)
uname: Linux Z-NAS 3.10.35 #5565 SMP Mon Jun 8 16:46:10 CST 2015 x86_64 GNU/Linux synology_avoton_415+
Done ?(?????)?
------------------------------------------
[Process completed]
Than i copy the the right libmediainfo.so, libzen.so, libmp3lame.so.0 for my cpu to "/volumen1/@appstore/filebot/" and all works! i don`t need to change any Path.
FileBot(CLI):
filebot -script 'fn:sysinfo'
FileBot 4.6 (r3052)
JNA Native: 4.0.0
MediaInfo: MediaInfoLib - v0.7.69
p7zip: Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)
chromaprint-tools: fpcalc version 1.2.0 (/usr/local/chromaprint/bin/fpcalc)
Extended Attributes: OK
Groovy Engine: 2.4.3
JRE: Java(TM) SE Embedded Runtime Environment 1.8.0_33 (headless)
JVM: 32-bit Java HotSpot(TM) Embedded Server VM
CPU/MEM: 4 Core / 910 MB Max Memory / 19 MB Used Memory
OS: Linux (i386)
uname: Linux Z-NAS 3.10.35 #5565 SMP Mon Jun 8 16:46:10 CST 2015 x86_64 GNU/Linux synology_avoton_415+
Done ã¾(ï¼ âã¼âï¼ )ã
FileBot Node:
------------------------------------------
FileBot 4.6 (r3052)
JNA Native: 4.0.0
MediaInfo: MediaInfoLib - v0.7.69
p7zip: Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)
chromaprint-tools: fpcalc version 1.2.0 (/usr/local/chromaprint/bin/fpcalc)
Extended Attributes: OK
Groovy Engine: 2.4.3
JRE: Java(TM) SE Embedded Runtime Environment 1.8.0_33 (headless)
JVM: 32-bit Java HotSpot(TM) Embedded Server VM
CPU/MEM: 4 Core / 910 MB Max Memory / 19 MB Used Memory
OS: Linux (i386)
uname: Linux Z-NAS 3.10.35 #5565 SMP Mon Jun 8 16:46:10 CST 2015 x86_64 GNU/Linux synology_avoton_415+
Done ?(?????)?
------------------------------------------
[Process completed]
the libmp3lame.so.0 change this error:
chromaprint-tools: fpcalc -version failed (/usr/local/chromaprint/bin/fpcalc)
all works fine.