My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Installation  
Installation Instructions
Phase-Deploy, Featured
Updated Mar 7, 2010 by Stuart.Boston

Installation Instructions

YAMJ 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

  • Download the latest version from Google Code: http://code.google.com/p/moviejukebox/downloads/list
  • Unpack the code to a directory on your hard-drive, e.g. C:\YAMJ\
    • Open the zip file using a program such as 7zip, Winzip, Winrar, etc.
    • Drag the files out of the winrar window, onto a folder on your hard-drive, e.g. C:\YAMJ

MediaInfo


First Run

NOTE: 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 Installation Notes

Headless Running

Thanks 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.

IP v6 Issues

There may be some issues if you have a new installation of Linux that only uses IPv6 networking, such as Debian. A workaround is to use this in your MovieJukebox.sh file

-Djava.net.preferIPv4Stack=true

So you MovieJukebox.sh file should look something like this:

java -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Xms256m -Xmx512m
-classpath .:./resources:./lib/* com.moviejukebox.MovieJukebox "$@"

Other Issues

There 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

Comment by miklos.k...@gmail.com, Oct 31, 2008

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.

Comment by ndog...@gmail.com, Dec 12, 2008

Another option is to download xming, and enable x11 forwarding in Putty, or whatever SSH/Telnet client you're using.

Comment by ndog...@gmail.com, Dec 20, 2008

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.

Comment by jan.karj...@gmail.com, Feb 17, 2010

I can't get YAMJ to recognize the mediainfo program. It's in the "YAMJ\MediaInfo?" folder, the file is called "mediainfo". This is on a Linux machine.

Comment by project member Stuart.Boston, Feb 17, 2010

On linux the directory name should be "mediaInfo" all lowercase apart from the "I"

Comment by Richard....@gmail.com, Jun 24, 2011

Using Win 7 (64bit) will not generate HTML files. Using WinXP (32 bit) will fix, but then I have to run on my old PC. How to get working on 64 bit? I thought I had correctly installed the 32 AND 64 bit JAVA on the Win 7 PC


Sign in to add a comment
Powered by Google Project Hosting