|
MacInstallation
Thanks to BigladUK for this guide. Simple Starter GuideInstallation
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Commands/ so the first line of code in the moviejukebox.sh file should begin/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Commands/java -Xms256m -Xmx512m -classpath Java Version InformationThe version of Java that is required for YAMJ - Java SE 6 (64-bit) - is different from (and incompatible with) the version that is required for MyiHome Mac - J2SE 5.0 (32-bit). Java 6 was installed by Software Update but unless you specifically choose it the OS defaults to J2SE 5.0 (32-bit). Example Mac MovieJukebox.sh# Intel Mac users : needs java 1.6, set fullpath to java 1.6 instead of default java # This path is usually : /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/java /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Commands/java -Xms256m -Xmx512m -classpath .:./resources:./lib/* com.moviejukebox.MovieJukebox "$@" CustomizationNow that the application is installed you'll need to customize the library.xml to represent how your shares are and where your media is. For MAC users, rather than using UNC paths like windows users ( i.e. \\192.168.0.1\media ) use the volume paths which will need to mounted before you run the scripts. ( i.e. /Volume/Media ) Example: With 1 NAS box which has 2 shares. From the MAC where we are running the script, these media folders need to mounted before starting. When they are mounted they can be referenced as /volumes/MoviesHDArchive & /volumes/MoviesHDArchive2. The Popcorn player has 2 network share connections created on it that connect to the two shares and those connections are called MoviesHDArchive and MoviesHDArchive2 An example library.xml is shown below. You can edit this in TextEdit <libraries>
<library>
<path>/Volumes/MoviesHDArchive</path>
<playerpath>file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/MoviesHDArchive/</playerpath>
<exclude name="sample,tmp/,temp/"/>
</library>
<library>
<path>/Volumes/MoviesHDArchive2</path>
<playerpath>file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/MoviesHDArchive2/</playerpath>
<exclude name="sample,tmp/,temp/"/>
</library>
</libraries>Running The ApplicationSo with all that done your almost ready to run the application. Follow these simple instructions to run the jukebox software:
cd /applications/moviejukebox bash moviejukebox.sh library.xml -O /volumes/movieshdarchive ( NOTE /volumes/movieshdarchive is the share that the index.htm is written to when the indexing is completed. You can change this to wherever you want to write your indexes too ) Hopefully all that has run through successfully
Advanced UsersFurther advanced users can try playing with Script Editor ( /applications/AppleScript/ ) This seems to be working but the unmounting is happening before the script ends so it's still working progress Open Script Editor and paste this in exactly ( but edit the paths of course for your shares ) -- Mount both Shares mount volume "smb://icybox/MoviesHDArchive" mount volume "smb://icybox/MoviesHDArchive2" --tell application "Terminal" do script "cd /applications/moviejukebox BASH moviejukebox.sh library.xml -O /volumes/moviesHDArchive/" --end tell -- Eject both Shares do shell script "diskutil unmount /Volumes/MoviesHDArchive" do shell script "diskutil unmount /Volumes/MoviesHDArchive2" |
Please improve this manual a little bit. I've been searching for the mediainfo file on my mac for quite a while. You can usually find it at /usr/local/bin in the terminal.
Make sure you've d/led the cli version. Mine went to /usr/local/bin as you say, I then followed Si's instructions and it's working a charm.
Be sure to change your TextEdit? Preferences to "Plain text". The default setting is "Rich text" and causes problems when editing and saving the libraries.xml file (and possibly others)
hi there i want to add some info for mac users with hdx 1000.. don't forget when you edit this in texteditor (i use editra) :
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Commands/java -Xms256m -Xmx512m -classpath .:./resources:./lib/moviejukebox.jar:./lib/commons-logging-1.1.1.jar: ./lib/commons-lang-2.4.jar:./lib/commons-configuration-1.5.jar: ./lib/commons-collections-3.2.1.jar:./lib/filters.jar:/lib/mucommanderlight.jar: ./lib/thetvdbapi.jar:./lib/saxon9.jar com.moviejukebox.MovieJukebox "$@"
this needs to be in 1 line and not 5 different lines because then the script won't run. So you need to backspace them and then save the file when everything is in 1 line... For me took some time to find this out maybe it is helpful.
And another thing. For the librarie.xml file i did this for the hdx 1000 as i only have an internal hd of 1 tb
<libraries>
</libraries>Now i run the command in terminal as described above and now it found one video and made the index.html file with the good cover. Only it did not put it on the right location. Need to research this a little bit.
Maybe this help is usefull for some mac users as this was not clear the the script needs to be in 1 line saved and not multiple lines because then it can be runned
cheerz
OK, in moviejukebox.properties I had to modify the following line to absolute path...
and modify the MovieJukebox.sh to absolutes as well...
# Intel Mac users : needs java 1.6, set fullpath to java 1.6 instead of default java # This path is usually : /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/java
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Commands/java -Xms256m -Xmx512m -classpath /Applications/MovieJukebox/:/Applications/MovieJukebox/lib/moviejukebox.jar:/Applications/MovieJukebox/lib/commons-logging-1.1.1.jar:/Applications/MovieJukebox/lib/commons-lang-2.4.jar:/Applications/MovieJukebox/lib/commons-configuration-1.5.jar:/Applications/MovieJukebox/lib/commons-collections-3.2.1.jar:/Applications/MovieJukebox/lib/filters.jar:/Applications/MovieJukebox/lib/mucommanderlight.jar:/Applications/MovieJukebox/lib/thetvdbapi.jar:/Applications/MovieJukebox/lib/saxon9.jar com.moviejukebox.MovieJukebox "$@"
Run the command as such using sudo or I got permission denied...
sudo bash /Applications/MovieJukebox/moviejukebox.sh /Applications/MovieJukebox/libraries.xml -O /Volumes/RAID03/HD
Thanks.
hi there,
"wittyemailname" do you have the solution already as i know what your issue is. As your are using the internal hd you need to edit something in this line :
<libraries>
<library>
This needs to be as you are using internal hd :
<libraries>
<library>
The index.html and Jukebox folder need to be in the root of your drive. Now you should be able to click the cover and the video will play because it has been directed to the good location.
I have everything working on my mac now, skins nzb downloads and everything. I am using iMac mid 2007 20 inch with mac os x 10.5.6 installed i made my own settings in the moviejukebox.properties file and now only run the command in terminal and everything works fine. When someone has question please ask ?
cheerz
Nitpicking: The folder needs to be named mediaInfo and not mediainfo; additionally one can simply do a symlink from /usr/local/bin/mediainfo into the mediaInfo directory inside moviejukebox, which actually does not have to be moved around to the Applications folder.
Subsequently, to quickly test if things work fine, add a subfolder of your whole collection to the library.xml configuration file only and store the results in a temporary subfolder of moviejukebox, so you can quickly test the resulting jukebox files locally with Safari. In order to do this, simply invoke the command as follows, for example:
$ bash MovieJukebox.sh libraries.xml -O tmp/
Fire up Safari and browse to the relative ./tmp/ directory inside our MovieJukeBox? application folder and crosscheck the results.
For those people unsure about the semantics of the nmtpath entry in configuration XML file, it is only used to specify the correct path inside the generated html files for your jukebox. So I suggest you quickly test the thing with a small amount of movies before you create a huge index over your 1TB internal HD on the NMT; YMMV.
If these small observations are still unclear to certain people, I might be inclined to write up an improved brief howto.
It's an issue with TheTVDb.com. You'll need to wait until their site is fully working again.
PLEASE DONT POST ISSUES HERE. That is what the forums are for, where you will receive MUCH more help.
Apple Script above is false! Running version is:
mount volume "smb://server/Share"
tell application "Terminal"
do script "cd /Applications/moviejukebox bash moviejukebox.sh library.xml -O /Volumes/Share/HD/YAMJ/" end tell
Is also not working? Can somebody explain how to get working?
Message for servicevoormac:::: i seem to have some issues, could you help? mra6368@gmail.com thanks
I'm sure that this makes sense to everyone else, but it might as well be in latin for me.
Anyone have a GUI similar to the windows one? It is the ONLY reason that I have VMWare fusion on my macbook and I'd like to get away from windows all together.
Thanks
Hi everyone. I´m trying to get this work with no success. Can a step by step be written with simple and clear examples telling where to replace what and so on? Thanks!
Hi I am in desperate need of help. I have a pch a-200 a synology ds209 and i have configured a successfully generated my movie wall for yamj. However when I try to play a movie from my wall I get a quick flicker and the video wont play. I believe the issue is in my library.xml file or my network share setup. Any help would be greatly appreciated. here is my library.xml. <libraries>
</libraries>YAMJ will only work with JRE 1.6 (64b ed.) ? is there an alternative ?
Tomy 1.4,
MovieJukeBox?? 2.5,
JRE 1.5.0,
MAC OS 10.5.8,
HDX 1000 > fw PCH-A110
nota : hdx1000 website is dead !
thanks
Sebastien
http://www.aexm.fr
To be honest, I'm not sure how up to date this guide is with the changes to the mac platform with the release of Lion, etc.
I know there are mac users that have YAMJ running on OS X Lion, so it should work fine, however, not having one myself I can't really help out.
The guide, while lacking in a few parts, is still solid for Lion. It all works about the same
Hi
Has anyone managed to get this working on OS X Lion, with a NAS. I have tried everything I can think of.
Thanks