|
Installation
Installation Instructions
Installation InstructionsYAMJ is not difficult to install, but there are a few manual steps. For a step-by-ste guide see THIS PAGE Firstly you need to download a couple of required programs, these are: Java Runtime
MovieJukebox
MediaInfo
First RunNOTE: This is a command line program, and as such you will need to access it through a command window (Start -> Run -> CMD). Before you can run the jukebox for the first time, you will need to edit the library.xml file (or create your own). It is suggested that you create your own file as this will make upgrading easier later. The LibraryXMLInfo page describes how to set-up a library file. The CommandSyntax page describes hot to run the program once your library is created. Linux InstallationThanks to miklos.klaar for this tip: If you are running YAMJ on a linux server with no X11 or monitor (headless) installed you have to add: -Djava.awt.headless=true to the java command line after the java command in MovieJukebox.sh. This will tell java not connect to the X11 server and allow the process to finish. Other IssuesThere is an issue with the Popcorn Hour that allows only one SMB/NFS share to be mounted at one time. Please ensure that you have browsed to the share at least once since the last time you rebooted the PCH. For this reason, you should have the Jukebox on the same share as your video files, one the hard disk of the PCH or via a HTTP server. See MultipleNetworkShares for more information |
Sign in to add a comment
For people running this on a linux server with no X11 or monitor (headless) installed you have to add:
-Djava.awt.headless=true
to the java command line after the java command in MovieJukebox.sh. This will tell java not connect to the X11 server and allow the process to finish.
Another option is to download xming, and enable x11 forwarding in Putty, or whatever SSH/Telnet client you're using.
I noticed that using the headless switch listed above causes mediaInfo to not run properly unless you add the path to the mediaInfo executable to the list of classpaths in the MovieJukebox.sh file.