Setup FileBot on headless Raspberry Pi
Setup FileBot on headless Raspberry Pi
Hi... I've looked through the forums and can't seem to find a definitive answer to the question of How to setup FileBot for CLI access on a headless Raspberry Pi (Pi 3B running Raspian). There seem to be one or more part guides or guides noted as out-of-date.
From what I've read so far it would seem best to use the embedded linux version as this contains everything that is needed... ie. nothing else needs to be downloaded. Correct?
Then what are the steps to get it working... assuming a limited knowledge of linux?
Any help would be greatly appreciated.
From what I've read so far it would seem best to use the embedded linux version as this contains everything that is needed... ie. nothing else needs to be downloaded. Correct?
Then what are the steps to get it working... assuming a limited knowledge of linux?
Any help would be greatly appreciated.
Re: Setup FileBot on headless Raspberry Pi
1. Download portable package
2. Extract
3. Download native libraries (optional)
4. Link to /usr/local/bin (optional)
2. Extract
3. Download native libraries (optional)
4. Link to /usr/local/bin (optional)
Please read the FAQ and How to Request Help.
Re: Setup FileBot on headless Raspberry Pi
Thanks. What are the (optional) native libraries? I assume they're not necessarily needed though if optional???
By link (optional), do you just mean a symbolic link?
I run a Plex Media Server on the RPI so am just interested in renaming to suit it.
By link (optional), do you just mean a symbolic link?
I run a Plex Media Server on the RPI so am just interested in renaming to suit it.
Re: Setup FileBot on headless Raspberry Pi
1.
Yes, optional means not strictly necessary:
Hence, if you want to use features that rely on these libraries then you will need these libraries.
2.
I'd use a symlink. Do you understand why we do this?
Yes, optional means not strictly necessary:
@see http://www.filebot.net/#downloadDownload Section wrote:This package does not include the MediaInfo and 7-Zip native libraries.
Hence, if you want to use features that rely on these libraries then you will need these libraries.
2.
I'd use a symlink. Do you understand why we do this?
Please read the FAQ and How to Request Help.
Re: Setup FileBot on headless Raspberry Pi
Thanks... just to clarify, it will do renaming without the 7-Zip library?
A symlink makes the folder/files appear to be within the bin folder so it can be accessed without a full path reference... correct? Sort of likes Windows Shortcuts, but more powerful.
A symlink makes the folder/files appear to be within the bin folder so it can be accessed without a full path reference... correct? Sort of likes Windows Shortcuts, but more powerful.
Re: Setup FileBot on headless Raspberry Pi
Just play with it. Report back if it doesn't work as expected.
Please read the FAQ and How to Request Help.
Re: Setup FileBot on headless Raspberry Pi
Ok... I worked out that Jessie light does not include Java so I installed it using 'sudo apt-get update && sudo apt-get install oracle-java8-jdk' ... DOH! And it seems to be working ok. Added symlink and now the filebot command is working from anywhere.
Thanks again for your help.
Thanks again for your help.
Re: Setup FileBot on headless Raspberry Pi
1.
You did not link /path/to/filebot.sh to /usr/local/bin/filebot:
Now you know why we link things into /usr/local/bin.
2.
Strange. Respian doesn't support locales? This may or may came back to haunt later you if you process non-ASCII filenames:
3.
Java is not installed. You need to install Java, preferably the Oracle JRE:
You did not link /path/to/filebot.sh to /usr/local/bin/filebot:
Code: Select all
-bash: filebot: command not found
2.
Strange. Respian doesn't support locales? This may or may came back to haunt later you if you process non-ASCII filenames:
Code: Select all
filebot.sh: line 30: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
3.
Java is not installed. You need to install Java, preferably the Oracle JRE:
Code: Select all
filebot.sh: line 48: java: command not found
Please read the FAQ and How to Request Help.
Re: Setup FileBot on headless Raspberry Pi
All working now... thanks.
Re: Setup FileBot on headless Raspberry Pi
I don't see a package for a raspberry pi there.rednoah wrote: ↑02 Jan 2017, 08:06 1.
Yes, optional means not strictly necessary:@see http://www.filebot.net/#downloadDownload Section wrote:This package does not include the MediaInfo and 7-Zip native libraries.
Is there no installation guide for Filebot on a raspberry pi out there? None of them seems working...
Re: Setup FileBot on headless Raspberry Pi
Please read the FAQ and How to Request Help.
Re: Setup FileBot on headless Raspberry Pi
Thank you!
Now I have troubles with my Java. I'm running Filebot on a Banapi Pro with Armbian. I installed OpenJDK-8:
The error is:
Now I have troubles with my Java. I'm running Filebot on a Banapi Pro with Armbian. I installed OpenJDK-8:
Code: Select all
java version "1.7.0_151"
OpenJDK Runtime Environment (IcedTea 2.6.11) (7u151-2.6.11-2~deb8u1)
OpenJDK Zero VM (build 24.151-b01, interpreted mode)
Code: Select all
+ /root/filebot.sh -script fn:sysinfo
Exception in thread "main" java.lang.UnsupportedClassVersionError: net/filebot/Main : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:442)
at java.net.URLClassLoader.access$100(URLClassLoader.java:64)
at java.net.URLClassLoader$1.run(URLClassLoader.java:354)
at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:312)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
+ sudo ln -sf /root/filebot.sh /usr/local/bin/filebot
+ filebot -version
Exception in thread "main" java.lang.UnsupportedClassVersionError: net/filebot/Main : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:442)
Re: Setup FileBot on headless Raspberry Pi
java -version says that you're using Java 7. You might need to Google a little bit if you need help with correctly installing Java 8 on your device. I recommend using the Oracle JDK builds, the Zero VM doesn't use JIT and is thus extremely slow.
Run this script:
https://github.com/rednoah/java-install ... n-on-linux
Run this script:
https://github.com/rednoah/java-install ... n-on-linux
Please read the FAQ and How to Request Help.