How to install GUI based filebot on Raspbian (arm)?
How to install GUI based filebot on Raspbian (arm)?
Hey, hoping someone here has figured this out. I tried searching the forums and most of what I saw regarded cli install when dealing with the raspberry pi.
I'm running Raspbian on the raspberry pi B+,
Was trying to install the latest version of filebot from here http://sourceforge.net/projects/filebot ... Bot_4.5.6/
While the .deb packages would be super nice, I believe they would not work on the raspberry pi as it is an ARM chipset, and there are only .deb files for 32 bit or 64 bit.
But, I do see there is a .ipk file for arm, so I tried downloading this. Opened the tar file up but could not find/figure out what to do next in order to install. I tried searching some guides on installing .ipk files, but essentially they say to execute the preinst file, which there is not one. So I had no luck.
How can I install the filebot on my raspberry pi from the Desktop GUI environment on Raspbian?
Thanks!
I'm running Raspbian on the raspberry pi B+,
Was trying to install the latest version of filebot from here http://sourceforge.net/projects/filebot ... Bot_4.5.6/
While the .deb packages would be super nice, I believe they would not work on the raspberry pi as it is an ARM chipset, and there are only .deb files for 32 bit or 64 bit.
But, I do see there is a .ipk file for arm, so I tried downloading this. Opened the tar file up but could not find/figure out what to do next in order to install. I tried searching some guides on installing .ipk files, but essentially they say to execute the preinst file, which there is not one. So I had no luck.
How can I install the filebot on my raspberry pi from the Desktop GUI environment on Raspbian?
Thanks!
Re: How to install GUI based filebot on Raspbian (arm)?
I'd got with the portable package then.
unpack and run filebot.sh
FileBot is platform-independent so as long as Java SE 8 is fully supported FileBot will run. Just some purely optional features that require 3rd party native libraries won't work if you don't have one compiled for your platform.

FileBot is platform-independent so as long as Java SE 8 is fully supported FileBot will run. Just some purely optional features that require 3rd party native libraries won't work if you don't have one compiled for your platform.
Re: How to install GUI based filebot on Raspbian (arm)?
Oh sweet, didn't realize the portable one was for linux thought it would just be for Windows!
I'll give it a go after I wrangle java 8 onto my pi.
I'll give it a go after I wrangle java 8 onto my pi.
Re: How to install GUI based filebot on Raspbian (arm)?
The most basic form of FileBot is really just the FileBot.jar and calling it with java -jar FileBot.jar but you'll probably wanna have a look at the portable package for all the extra options and setup configuration that is done via the filebot.sh startup script.
Re: How to install GUI based filebot on Raspbian (arm)?
OK, so I confirmed that Raspbian comes with oracle-java8-jdk, and when I tried installing it via apt-get it said I already had the latest version.
However, when I go to execute the filebot.sh script from the filebot portable package I get the following errors
Which is essentially just gibberish to me, but I do get the idea there is some sort of mismatch between the java package Raspbian has and what filebot wants.
Any idea what the problem is, and what I need for this to work properly?
However, when I go to execute the filebot.sh script from the filebot portable package I get the following errors
Code: Select all
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:643)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
Could not find the main class: net.filebot.Main. Program will exit.
Any idea what the problem is, and what I need for this to work properly?
Re: How to install GUI based filebot on Raspbian (arm)?
I tried adding Java SE Development Kit 8 Update 33 for ARM (http://www.oracle.com/technetwork/java/ ... 87472.html) following the instructions here https://wiki.openjdk.java.net/display/O ... spberry+Pi, which essentially have me unpackage the gz to /opt/jdk1.8.0_33. When I test it by:
It seems as though adding this Java SE worked, but still when I try to run the filebot.sh with ./filebot.sh I get the same error output as above.
Code: Select all
$ /opt/jdk1.8.0_33/bin/java -version
java version "1.8.0_33"
Java(TM) SE Runtime Environment (build 1.8.0_33-b05)
Java HotSpot(TM) Client VM (build 25.33-b05, mixed mode)
Re: How to install GUI based filebot on Raspbian (arm)?
/facepalm
Turns out I simply needed to configure my system to use this new version of Java as the default for my system, and now filebot is running beautifully! Linux newb oops
http://www.rpiblog.com/2014/03/installi ... ry-pi.html
Potentially I didn't even need to install that Java 8 SE developer release, as I noticed the java 6 jdk was still set as the auto java choice when I went through this step
Where there also was an option for the oracle-jdk8
Anyways, thanks for your help and for letting me clutter up the forum with noob questions. I'll writeup a HOW-TO for others that details the steps I took to get this working in a bit in case anyone else is in the same boat.
Turns out I simply needed to configure my system to use this new version of Java as the default for my system, and now filebot is running beautifully! Linux newb oops
http://www.rpiblog.com/2014/03/installi ... ry-pi.html
Potentially I didn't even need to install that Java 8 SE developer release, as I noticed the java 6 jdk was still set as the auto java choice when I went through this step
Code: Select all
sudo update-alternatives --config java
Anyways, thanks for your help and for letting me clutter up the forum with noob questions. I'll writeup a HOW-TO for others that details the steps I took to get this working in a bit in case anyone else is in the same boat.
Re: How to install GUI based filebot on Raspbian (arm)?
I am running into some trouble again after reinstalling Raspbian.
I downloaded the latest portable zip and unpacked it into ~/.filebot
I have configured Java to use /usr/lib/jvm/jdk-8-oracle-arm-vfp-hflt/jre/bin/java, which seems to be working
and running filebot.sh from the terminal produces this:
But when I try to launch the filebot.sh script from the GUI, nothing happens. Previously, I would just double click the filebot.sh script in the GUI and after a little thinking the filebot GUI would start. Now, I double click the filebot.sh, choose "execute" from the options, then wait, but nothing ever happens.
I have tried enabling logs through the CLI
but nothing seems to get dumped into my log file
How can I figure out why the GUI is not launching?
I downloaded the latest portable zip and unpacked it into ~/.filebot
I have configured Java to use /usr/lib/jvm/jdk-8-oracle-arm-vfp-hflt/jre/bin/java, which seems to be working
Code: Select all
pi@raspberrypi ~/.filebot $ java -version
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) Client VM (build 25.0-b70, mixed mode)
Code: Select all
pi@raspberrypi ~/.filebot $ ./filebot.sh
FileBot 4.5.6 (r2818) / Java(TM) SE Runtime Environment 1.8.0 (headless)
--action [move, copy, keeplink, : Rename action
symlink, hardlink, test]
--conflict [skip, override, auto, : Conflict resolution
fail]
--db [TheTVDB, AniDB, TVRage] or : Media database
[TheMovieDB, OMDb] or [AcoustID, ID3
Tags] or [xattr]
--def [name=value] : Define script variables
--encoding [UTF-8, Windows-1252, : Output character encoding
GB18030]
--filter expression : Filter expression
--format expression : Format expression
--lang 2-letter language code : Language
--log [all, fine, info, warning, off] : Log level
--log-file path/to/log.txt : Log file
--log-lock [yes, no] : Lock log file
--mode [rename, subtitles, sfv] : Open GUI in single panel mode
--order [Airdate, Absolute, DVD] : Episode order
--output folder : Output path
--q series/movie title : Force lookup query
-check fileset : Create/Check verification files
-clear-cache : Clear cached and temporary data
-clear-prefs : Clear application settings
-extract : Extract archives
-get-missing-subtitles fileset : Fetch missing subtitles
-get-subtitles fileset : Fetch subtitles
-help : Print this help message
-list : Fetch episode list
-mediainfo : Get media info
-no-xattr : Disable extended attributes
-non-strict : Enable advanced matching and more
aggressive guess work
-r : Resolve folders recursively
-rename fileset : Rename media files
-script path/to/script.groovy : Run Groovy script
-unixfs : Do not strip invalid characters from
file paths
-version : Print version identifier
I have tried enabling logs through the CLI
Code: Select all
pi@raspberrypi ~/.filebot $ ./filebot.sh --log-file /home/pi/.filebot/log.txt
pi@raspberrypi ~/.filebot $ ./filebot.sh --log all
but nothing seems to get dumped into my log file
How can I figure out why the GUI is not launching?
Re: How to install GUI based filebot on Raspbian (arm)?
If the command is not returning or showing any errors then it's probably working. For some users the FileBot window is displayed outside of the visible area. Your Gnome/KDE/etc should have some function to drag out-of-bounds windows back into the screen.
EDIT:
Although since it says Java(TM) SE Runtime Environment 1.8.0 (headless) it might be that you only have headless Java 8 (without all the UI components) though in this case there would certainly be some sort of output.
Calling filebot without arguments launches the GUI, unless you're in an headless configuration in which case it'll just print the usage.
EDIT:
Although since it says Java(TM) SE Runtime Environment 1.8.0 (headless) it might be that you only have headless Java 8 (without all the UI components) though in this case there would certainly be some sort of output.
Calling filebot without arguments launches the GUI, unless you're in an headless configuration in which case it'll just print the usage.
Re: How to install GUI based filebot on Raspbian (arm)?
I wondered about that too, however, I think the headless part refers to the fact that I ran the filebot.sh script from the terminal in that instance, as it does not say headless when I check java -version.
Also, experimenting a bit I found that using gksudo launches the filebot GUI, but with some errors
Then it launches the GUI which seems to work, but is much slower.
Any idea how I can get the GUI to launch without having to use terminal and gksudo?
Also, experimenting a bit I found that using gksudo launches the filebot GUI, but with some errors
Code: Select all
pi@raspberrypi ~/.filebot $ gksudo ./filebot.sh
Xlib: extension "RANDR" missing on display ":0.0".
(gksudo:15388): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-label-select-on-focus after class was initialised
(gksudo:15388): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-button-images after class was initialised
Any idea how I can get the GUI to launch without having to use terminal and gksudo?
Re: How to install GUI based filebot on Raspbian (arm)?
1.
The (headless) part is added by FileBot is the JVM is in headless mode. The java -version output isn't necessarily the same. If you run via ssh terminal it's probably in headless mode. If you run via normal terminal window on the local machine it should not be in headless mode.
2.
I guess this is a general setup & configuration issue on your Raspbian with Java. You might wanna look into Stackoverflow or the Raspbian forums to solve these kinda issues.
The (headless) part is added by FileBot is the JVM is in headless mode. The java -version output isn't necessarily the same. If you run via ssh terminal it's probably in headless mode. If you run via normal terminal window on the local machine it should not be in headless mode.
2.
I guess this is a general setup & configuration issue on your Raspbian with Java. You might wanna look into Stackoverflow or the Raspbian forums to solve these kinda issues.