goto homepage grab RSS 2.0 feed

GUIDE: Mac OS X, Popcorn Hour A-110, YAMJ & The ÆON Movie Wall Skin…

This post is kind of a follow-up on my review of the Popcorn Hour A-110, and will cover installation of YAMJ – Yet Another Movie Jukebox, and the fabulous ÆON Movie Wall Skin together with some nice mods. The guide is intended for Mac OS X users, and the reason I’m writing it is because I had a hard time installing YAMJ myself, since all good guides out there seem to be written for Windows users. All the Mac guides I found were poorly written, lacking explanations, jumping over steps and stuff like that (No offence, writers!). When I got the shit working, I came to the conclusion that if the guide(s) I was following had been good, I could have done it in twenty minutes or so, instead of spending hours.

What is YAMJ and the ÆON Movie Wall Skin?

Well, the fast way to explain this is that instead of navigating our PCH like this:

The default PCH A-110 navigation

we want to do it like this (click the screenshots for a larger version):

YAMJ (Yet Another Movie Jukebox) with ÆON Movie Wall Skin

Yet Another Movie Jukebox is, to use the short version, a tool that scans your movie library or libraries, and then generates html files for each item. That’s not a very accurate description, really, but that’s all we need to know at this point. YAMJ was written by “Omertron” and is released under the GPL license, and I will be forever grateful! ÆON is a skin for YAMJ, made by “ejp”. You can meet up with both “Omertron” and “ejp” at the NMT Forum

Before we start:

First of all, I am assuming that you, the reader of this post, have a Mac and a Popcorn Hour box in your posession. Please note that I only have an intel-based Mac (running Snow Leopard), and my PCH is an A-110, so if you have a PPC Mac, or a different NMT, I cannot guarantee that this guide will float your boat, but you’re more than welcome to give it a go. Intel Macs running Leopard should be just fine.

One other thing I need to mention is the network settings. In my network, I have set up static IP addresses. My Mac has 10.0.1.100, and my PCH has 10.0.1.10. That might be different in your setup – you could have 192.168.xxx.xxx or something like that, so please keep that in mind as you work your way through this guide.

To sum it up: Throughout this guide I will be referring to my Mac as 10.0.1.100 and my PCH as 10.0.1.10 whenever networking is an issue.

Also, before we get going, please note that this guide require that your PCH has a HDD or some other kind of storage device installed.

So, let’s get started!

The first thing you need to do is download the following elements:

Installation

The installation of the stuff we just downloaded is fairly simple. Let’s start with unzipping whatever needs to be unzipped. When you’re done with that, make a folder on your desktop, and move all the .zip-files there for safe keeping. You can also move all the folders you just got from unzipping over to your desktop to make it easier to remain control.

Now, rename your YAMJ-folder to MovieJukeBox (right now it’s probably called yamj-svn-r1118 or something like that) and move it over to /Applications.

Take a look inside your ÆON.Movie:wall.YAMJ.v2.9.0919 folder (or whatever version you got). In there you’ll see a Read Me file, and a folder called amwyamj290919 (or something similar). Drag that folder over to /Applications/MovieJukeBox/skins.

In /Applications/MovieJukeBox/skins, rename the folder default to BACKUP (or something). Then rename the amwyamj290919-folder to default. Your skins-folder should now have the following folders:

  • default
  • gfb107
  • gfb107-sd
  • hebrew
  • sd
  • BACKUP

Now, open the folder AeonSmokedGlass Mod and select all the files. Drag them over to /Applications/MovieJukeBox/skins/default/html/pictures and drop them there. Click on Replace if you get the option to.

Ok, we’re nearly there. Or half way, at least.
The next thing you need to do, is go into your Sabish-tvmod-folder. In there, move the files to the following directions, and remember to click Replace whenever prompted:

  • detail.xsl -> skins/default/
  • epi_back.png -> skins/default/html/pictures
  • exportdetails_item_popcorn.css -> skins/default/html
  • ppp-templates.xsl -> skins/default/ppp
  • tvbg.png -> skins/default/html/pictures

Also, you need to move the truncate-phase folder to /skins/default.

Now it’s time to install MediaInfo.
Mount the .dmg (by double-clicking) and install by double-clicking MediaInfo CLI.pkg.
Go to the root of your drive (“Macintosh HD“) and if everything is OK, you should now have a file called mediainfo in there. Go to your Jukebox-folder (/Applications/MovieJukeBox) and create a folder called mediaInfo (please note the capitalized I in the middle – this is important). Drag the mediainfo file from / into the folder you just created. That’s it for installation. Now let’s move on…

Configuration

Before we get started on this step, I want to explain how I’ve organized my movies and TV-shows.

I’ve got my media in two different directions. I’ve got files stored in my Movies-folder on the Mac, and in the Video-folder on my internal PCH drive.
For YAMJ, it doesn’t really matter how you’ve organized the files, but I’ve placed them all in folders with the movie name, to keep the Movies folder all nice and tidy.
The TV-shows are also sorted into seasons folders, called Season 1, Season 2 etc.

The first thing you need to do before we get to the configuration, is to download a good text editor if you haven’t already got one. I use Smultron, which is free, small, fast, and easy to use. Download and install this now, if you need to.

Go to your Jukebox folder /Applications/MovieJukeBox and open MovieJukebox.sh in your editor. This file should look like this:

MovieJukebox.sh

(Click the image for a larger version)

Control that it does and close the file.

Now open up libraries.xml.

This is the file that tells YAMJ where your movies are located. My file looks like this:

(Click the image for a larger version)

(Click the image for a larger version)

As you can see, there’s a nice explanation of everything in the comments (all the green at the top) of the file, but I’ll give you a brief version of why I have made the changes that I have, and hopefully you’ll all get the picture and be able to edit your own files to fit your needs:

First of all, you can see that I have two sets of <library> tags. That’s because I have my movies and TV shows stored in two different locations. The two <library> tags are enclosed within a single <libraries> tag.

Inside the <path> tags you write the path to your library.
This is the local path, as seen from your Mac. Since I have movies both in my Movies folder and on my internat PCH drive, I need to specify both – one in each <library> tag.

The first one is the Movies folder on my Mac. The second one is to the Video folder on my internal PCH drive.

Please note that in the first <path> tag you need to change the username (pisschrist) to your username.

Next we need to specify the path as the PCH sees it. This is done within the <nmtpath> tags.
Now, for my first share, the Movies folder on my Mac, I need to get the PCH to look for the folder on the local network. This is done by adding NETWORK_SHARE in the path, as /Users/pisschrist/Movies is a shared folder on my Mac. If you don’t want to use that folder, you need to share the folder you want to use, and specify which one it is in the <path> and <nmtpath>.

As you can see in the next <nmtpath> tag, I’ve replaced NETWORK_SHARE with HARD_DISK, since to the PCH, the HDD is already local.

Overscan

Fire up your FTP client, and log on to your PCH with your IP-address, username ftpuser and password 1234.
If you do not have an FTP client, I’ve listed a few good options in my review post.

Once you’re inside, you should see a folder called Apps. If not, create one. Go into Apps and create a folder called Overscan. Transfer the files from the Overscan Tool folder that you downloaded. Your folder should now contain the files index.html and readme.txt, and a folder called posteradjust.

Turn on your TV, and click on Media Source on your PCH screen. Then choose Hard_Disk and click on the file browser icon – the one on the far right on your screen. Navigate to the Overscan folder and click on the index file.

Read the instructions, follow them, and write down the output you get. Then get back to your Mac.

Now open the files skin.properties and poster.xsl located in skins/default/ to add the information you just wrote down.

In poster.xsl, change the variable to the one that you got from running the Overscan Tool.
In skin.properties the settings you need to change can be found somewhere around line 165/166, and looks like this:

posters.width=xxx
posters.height=xxx

Change these to the one you wrote down, and remember to add a couple of pixels to each value.

Save the files, but leave skin.properties open.

Open the file skin-options.xml and make sure that the variable for “roundedcorners” say awesome somewhere around line 68. Go back to your skin.properties file and find the line concerning “3 ROW POPUP” somewhere in the first section (“Default skin parameters”). Make sure that none of the lines below the first one is commented out. That means that they should not have a # at the beginning of them. All the lines in the “Default skin parameters” section should have a # at first, except these four:

mjb.nbThumbnailsPerPage=27
mjb.nbThumbnailsPerLine=9
thumbnails.width=182
thumbnails.height=272

Now, save all your open files, and close down your editor.

Movie files and file names.

YAMJ will scan your folders for movies, and will gather some information, and download some artwork from various sites to display on your screen. There’s two ways of getting YAMJ to get the right info for the right movie when scanning.

The first one is my preferred method.
As I’ve said before, I have all my movies organized in separate folders, like this : Movies/The Movie/Moviefile.avi
Now, imagine the movie in this example is “Psycho”. Then my path would look like this: Movies/Psycho/Psycho.avi.
That’s no problem for me, since I would know what movie I have stored on my computer. But when scanning the folder, YAMJ cannot know if this is the original 1960 version, or the remake from 1998, and that’s a problem.

My way of solving this is to put a .NFO-file in the same folder as the movie. The .NFO must have the same exact name as the movie file, so if the movie is called Psycho.DVDr.WhateverGroup.720p.avi the NFO must be named Psycho.DVDr.WhateverGroup.720p.nfo.
In the .NFO-file, the only thing you need is the URL to the movies page at IMDB. So you simply go to IMDB, find the movie, copy the url into a new document in your text editor, and save the file as Moviename.nfo
Then save the file inside the movie folder, where the movie itself is located.

The second way to make sure you get the right info and coverart, is to add some information in the filename itself.
You can simply add the movies production year right after the movie name. Read more about this method in the YAMJ Wiki here.

What about TV shows?

For TV shows I do the same thing as with the movies, except I use the TTVDb URL instead. The file is then placed alongside the season folders. So inside /Movies/TV/The Office (US) i would have the folders Season 1, Season 2, Season 3, Season 4, Season 5, Season 6, and a file called The Office (US).nfo.

It might take some time to prepare all your files if you have alot of them, but it needs to be done.

If you, like me, have alot of files named wrong, take a look at my Guide: Renaming files on Mac OS X post, that uses Automator to simplify the process quite a bit.

Now, prepare all your files by renaming them or make the .nfo’s, and you’re ready for the final step!

The Final Step

Ok, we’re nearly there now.
The only thing left to do before we can run YAMJ is mounting.

To get YAMJ to scan network shares, we need to mount them in OS X. If you’re not sure what mounting is, don’t worry – you’ll manage it :)

Mounting usually happens automatically in OS X, like when you plug in a USB pen drive etc. but for network shares it need to be done manually.

What you do is you click somewhere on your desktop, so that Finder becomes the active application. Now hit cmd + k. Type in smb://<ip of your PCH> (For me it would be smb://10.0.1.10) and hit Enter.
That’s it!
You should now get an icon for your PCH SMB server on your desktop (if you haven’t disabled it in the Finder preferences).

Now it’s time to scan your entire library, and test the whole thing!

Open a terminal window (Applications/Utilities/Terminal).
Type cd /Applications/MovieJukeBox and hit enter
Type bash Moviejukebox.sh libraries.xml -o /Users/YourUsername/Movies and hit enter
(Make sure you replace “YourUsername” with your actual username)

YAMJ should now be scanning your libraries. This could take a while if you have a large library, so you might wanna grab a Coke and do some laundry or something in the meantime.

When scanning is done, turn on the TV, and go into Setup on your PCH, and chose Network Share, and you should get this screen:

Adding network shares on Popcorn Hour A-110

Fill out the information, of course replacing the URL with the URL to your Movies-folder (My URL looks like this: smb://10.0.1.100/Movies, but you’ll have to change the IP to your own).
Click add and then click home in the menu.

Click on Media Source again, and you should see a new source at the bottom, called whatever you called in when you just set it up.

Click on the new share, and VOILA – You should now see a beautiful Movie Wall with all of your movies lined up. Click on one of them to check out it’s detail page, to see if eveything looks OK.

That’s it!

We’re done, for now :)
I hope this guide were helpful, and that you managed to get it up and running.

Remember:
Any time you add movies to your libraries, you need to run the Terminal session again, to rescan the libraries. But don’t worry – this will go a lot quicker the next time around, since only the new files will need proper scanning.

I’d like to finish with some links to some great resources, in case you’re in the need for support of some kind:

The NMT forum is a great place to start if you’re having any problems or questions about the PCH and/or YAMJ. The people there are helpful and polite, but make sure you do a search or two before posting questions, since most problems have already been covered several times.

ENJOY your fresh installation of YAMJ and ÆON!

- n5k

50 Comments »

  Ruve wrote @ October 1st, 2009 at 12:01

Thx a lot for the nice job!!!

A nice guide 4 a difficult setup (specially with Mac). I gonna try this out today.

Grtz

  n5k wrote @ October 1st, 2009 at 13:48

Let me know how it goes, Ruve, in case I missed something in the guide :)

  Sergio Lazarov wrote @ October 7th, 2009 at 14:13

Everything seems to be going ok when I scan my Mac and PCH, but on the terminal window I can read

Found media library: /Users/ME/Movies/
Found media library: /Volumes/share/Video/
/Applications/MovieJukeBox/./mediaInfo/mediainfo
Couldn’t find CLI mediaInfo executable tool : Video files data won’t be extracted

  n5k wrote @ October 7th, 2009 at 14:33

That’s got something to do with your MediaInfo file. Make sure that you’ve moved it to a folder called mediaInfo in /Applications/MovieJukeBox. Please note: That’s mediaInfo – small m, big I. This is very important!

Also, make sure you got the CLI version, not the GUI version :)

  Sergio Lazarov wrote @ October 7th, 2009 at 18:51

Got it working!!!!

(Although, the terminal still says that it can´t find the mediaInfo CLI… tried reinstalling it and named it correctly, but to no avail. Does it really matter?)

It downloads the artwork correctly although I regret erasing all those .nfo files… time to do some renaming. I´ll check out the automator script later on. I have a slight problem not displaying some correct banners on the TV shows… do you have to put a .nfo for the entire season or for each episode? Anyways, thanks for the tutorial…

(by the way, I cheated and put the wrong parameters for the thumbnail… The poster bleeds over the edge when selected… I can just run the “bash” command again with the correct numbers and erase the index.htm… correct?)

  n5k wrote @ October 7th, 2009 at 21:59

Although, the terminal still says that it can´t find the mediaInfo CLI… tried reinstalling it and named it correctly, but to no avail. Does it really matter?

Don’t think so. The only thing MediaInfo does is gather info from the file, like sound codec, video format and stuff. So I guess if MediaInfo don’t get to do it’s job, the only “consequence” for you will be that you won’t get the file info on the detail page.

do you have to put a .nfo for the entire season or for each episode?

You only need one .nfo for each show, placed in the show folder. Like I have a folder called Arrested Development, and inside it I have the Seasons folders, and the nfo-file.
What shows are you having the wrong banners for? The reason might be that the files are named wrong. I remember I got the wrong banners for The Office US, because at thetvdb.com, the show is named The Office (US), and my .nfo were called The Office US.nfo

by the way, I cheated and put the wrong parameters for the thumbnail… The poster bleeds over the edge when selected… I can just run the “bash” command again with the correct numbers and erase the index.htm… correct?

Well, I think you might have to regenerate the html-files and the png’s.
To do that, you just open your moviejukebox.properties file and change line 25 and 31 to “true” instead of “false” and then run the bash.

That being said, it looks better to have a bit bleed than too small posters, so if they’re not bleeding too much, I might consider just leaving it the way they are.

  Sergio Lazarov wrote @ October 8th, 2009 at 22:35

Oh well, I “reindexed” the whole library from scratch…
Everything is perfect (TV shows, Movies, etc…) except the 1. MediaInfo and 2. Popups

1. I have tried different versions of the Mediainfo packages… MediaInfo_CLI_0.7.9_Mac_Universal and MediaInfo_CLI_0.7.22_Mac_Universal on different machines with no success. I Install the package, but I can´t find anything in the root of the harddrive… any suggestions?

2. Had an old overscan tool or something… ran it again, and got the right numbers. The poster in the “details page” sits perfectly. The only problem (and I can´t find an answer in any other discussion group) is that the popup poster exceeds the rounded corners in the movie wall… where can I change those parameters?…

Thanks for all the help. Really.

  Sergio Lazarov wrote @ October 8th, 2009 at 22:39

By the way… could you in a later tutorial, explain how to get the Apple Trailers to work with YAMJ… ;)

  n5k wrote @ October 9th, 2009 at 08:34

1.
Only thing I can think of would be to do a spotlight search for it. The file you’re looking for is called mediainfo (no caps). It might have ended up in a different location on your computer.

2.
If you delete all the _large.png and _small.png in your jukebox folder, and then regenerate, this should be fixed, I believe.

As for the Apple trailers, they work by default on my box. I haven’t changed anything in the files, so that’s a bit strange. That being said – it’s not all movies that have a trailer at Apple, so check a couple of different files to see if they have them. You could also open up moviejukebox.properties and change the download option, so that YAMJ will download the trailers instead of just streaming them, but make sure you set it to download just one, and not three which I think is default.

  pop777 wrote @ October 11th, 2009 at 11:02

You will probably find the mediainfo file in /usr/local/bin, its a hidden folder but you can go there by using Finders “Go to folder” function. Maybe something to add to the tutorial? Also I had to change the Java priority order in utilities to get it to work.
Thanks for a great and easy to read tutorial!

  Sergio Lazarov wrote @ October 13th, 2009 at 14:59

Go it!! Didn´t know about the goto folder function… I was going to the folder via URL on firefox and saving the link as… but this is much better. Indexing right know, but everything seems to be going smoothly… Awesome! (P.S. I also got the Community Source Installer working with some nice skins, and buffer images… this keeps getting better. Signing off from Spain.

  george wrote @ October 16th, 2009 at 10:44

Hello,

I get the following error:

Error at xsl:include on line 14 column 61 of detail.xsl:
XTSE0165: java.io.FileNotFoundException:
/Applications/MovieJukeBox/skins/default/truncate-phrase/truncate-phrase.xsl (No such file or directory)

I have renamed the amwyamj290929 to default on path /Applications/MovieJukeBox/skins/
What is going wrong?

Thanks in advance,
George

  n5k wrote @ October 16th, 2009 at 11:38

Looks like you didn’t install the skin correctly. The script can’t find the file truncate-phase.xsl.
Make sure you’ve got the truncate-phase folder in MovieJukeBox/skins/default

  george wrote @ October 16th, 2009 at 14:29

Many thanks. that was it!
I more question ;-)
I have movies on my internal popcorn drive. I have successfully completed the proses above, but i cant see the result my TV.
Is there something else i miss?

  n5k wrote @ October 16th, 2009 at 15:12

I’m not sure what you mean exactly.
The scanning and everything works OK, but you can’t “get to” YAMJ on the TV?
If that’s the case, you need to share the folder/drive that YAMJ outputs to. In my case (and in the examples in this guide) that’s my Movies folder.
Your setup might be different, but if you copied the bash-command directly from my guide, you need to share your Movies folder and gain access to it from your PCH.
To do this, right click on your Movies folder, chose “Get Info” and make sure you have “Shared Folder” checked. Next, you go into your PCH, and go to “Network Share” in the Setup, and fill out the information.
To “get to” YAMJ on the TV, you simply need to click on the network share you just set up from the Media Source menu.

  george wrote @ October 16th, 2009 at 16:50

I got it now, may thanks for your support!

  Ruve wrote @ October 24th, 2009 at 17:22

When i start the scan, i get a message “Found 0 movies in your media library”.

Probably i’ve got a wrong syntax in my libraries.xml.

My movies a stored in on a external usbdrive called Samsung1. The moviedirectory on this drive is called Movies2. This folder is shared on my popcorn (Movies2).

This is my libraries.xml:

/Volumes/Samsung1/Movies2
file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/Movies2/

true

Any idea what went wrong?
Thx for help!
Grtz
Ruve

  n5k wrote @ October 24th, 2009 at 21:11

I take it that’s not your whole libraries.xml? (If it is, you need to copy mine first, and then change the paths)
Your share looks like it should work, but you might try these two:

First of all – where do you have your USB-drive plugged in?

If it’s plugged into your Mac, you could try this:
/Volumes/Samsung1/Movies2
file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/Samsung1/Movies2/

If it’s plugged into your PCH, try this:
/Volumes/share/Movies2
file:///opt/sybhttpd/localhost.drives/USB_DRIVE_A-1/

  Ruve wrote @ October 25th, 2009 at 11:42

Thx 4 your held n5k!

My USB drive is connected directly on my Mac.

I changed the libraries.xml as mentioned above:

/Volumes/Samsung1/Movies2
file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/Samsung1/Movies2/

After that i typed :

bash Moviejukebox.sh libraries.xml -o /Volumes/Movies2
( I also tried bash Moviejukebox.sh libraries.xml -o /Volumes/Samsung1/Movies2)

I got this message:

Using properties file ./properties/moviejukebox-default.properties
Using properties file ./moviejukebox.properties
Warning (non-fatal): User properties file: moviejukebox.properties, not found.
Using properties file ./skins/default/skin.properties
Using properties file ./properties/apikeys.properties
[Fatal Error] libraries.xml:25:1: XML document structures must start and end within the same entity.
Failed parsing moviejukebox library input file: libraries.xml
org.apache.commons.configuration.ConfigurationException: XML document structures must start and end within the same entity.
at org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration.java:696)
at org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration.java:654)
at org.apache.commons.configuration.XMLConfiguration$XMLFileConfigurationDelegate.load(XMLConfiguration.java:1283)
at org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFileConfiguration.java:285)
at org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFileConfiguration.java:217)
at org.apache.commons.configuration.AbstractFileConfiguration.load(AbstractFileConfiguration.java:195)
at org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.load(AbstractHierarchicalFileConfiguration.java:164)
at org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.(AbstractHierarchicalFileConfiguration.java:109)
at org.apache.commons.configuration.XMLConfiguration.(XMLConfiguration.java:226)
at com.moviejukebox.MovieJukebox.parseMovieLibraryRootFile(MovieJukebox.java:1117)
at com.moviejukebox.MovieJukebox.(MovieJukebox.java:395)
at com.moviejukebox.MovieJukebox.main(MovieJukebox.java:299)
Caused by: org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
at org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration.java:688)
… 11 more

Using 1 scanning threads and 1 processing threads…
See README.TXT for increasing performance using these settings.
Preparing environment…
Initializing…
Scanning library directory libraries.xml
Jukebox output goes to /Volumes/Movies2
Found 0 movies in your media library

Any idea whats going wrong? Thx 4 your advise!

  n5k wrote @ October 26th, 2009 at 19:16

I really have no clue at all. Perhaps you should try asking at the NMT forum.
It looks like the script can’t find your moviejukebox.properties file for some reason?

  Ruve wrote @ October 26th, 2009 at 23:39

I downloaded a previous version from YAMJ because in the latest version the moviejukebox.properties is missing. I corrected a syntaxerror in het libraries.xml also … ans this is finally working :)

Except for the PLAY … i can’t play them. Message : Couldn’t play :(

  n5k wrote @ October 26th, 2009 at 23:50

Haha, then it’s pretty useless, hehe. Sorry, but I can’t shake the irony here.

I don’t know what you should do here, really. Perhaps a search in the NMT forum could help you. Or a visit to the YAMJ Wiki. I’m sure the problem has occured before.

However, it might help to delete all the html and xml files in your jukebox-folder and then regenerate, to give it one last go.

Sorry for not being able to help you much :(

  Ruve wrote @ October 27th, 2009 at 06:31

Your guide is been a VERY good help!

  n5k wrote @ October 27th, 2009 at 09:58

That’s nice to hear.
Did you get the files to play eventually?
Let me know how everything turnes out :)

  SIN/FEST » Some concerns and some statistics… wrote @ October 31st, 2009 at 19:56

[...] many Mac users visiting my site, but it might be because I am a Mac user myself, and because of my Mac OS X / PCH A-110 guide, or something like [...]

  nipper wrote @ November 6th, 2009 at 01:42

Hi, superb guide n5k. Thanks.

I have followed your guide and it also works with a HDX 1000.

I have one final hurdle, perhaps you could help me with. I have my movies on a SMB share, its a Synology NAS. I set up the Network Share on the NMT as:

smb://SERVERNAME/SHARE/SubDirectory

However when I try connect through the media source selection I get “The share folder no longer exist.” error message.

Now.. if I connect with

smb://SERVERNAME/SHARE

it connects and gives me the 4 media icons, I select file browser and then browse to the index file and hey presto it works.

Problem seems to be when I try add the Subdirectory on the share.

Can you shed any light?

  n5k wrote @ November 8th, 2009 at 16:40

Hmm, that’s a strange case. I can’t think of anything, really. Perhaps it might be as simple as a typo in the name of the subdirectory or something?

  rocky wrote @ November 14th, 2009 at 18:50

I have no “libraries.xml” file in the MovieJukeBox folder. What’s in there now is “example-library.xml” and when I open that it’s some kind of game. Any suggestions? Thanks.

  n5k wrote @ November 16th, 2009 at 12:20

Wht? Hmm… That’s strange. Perhaps they’ve changed the files or something. Made an example-file instead of the standard xml-file.
My first thought would be that you just remove example- from the filename, and edit it to your liking.
But the game-ting I really can’t understand. What application are you opening it in? Try ctrl-clicking it, and open it in Text Edit or Smultron or something.

  Kokonutcreme wrote @ November 17th, 2009 at 17:06

Hi I also couldn’t find a library.xml file but opening the example-library file in Smultron revealed it was the same and just needed editing to indicate movie file locations. Thanks very much for your guide I’ve found it to be the most instructive, one thing is that I can’t find any reference anywhere as to what I should expect to see in terminal console after entering the bash command. I didn’t get any error messages like previous posts so am assuming it’s running :

“Processing started at Wed Nov 18 00:50:43 EST 2009

Usage:
Generates an HTML library for your movies library.

MovieJukebox libraryRoot [-o jukeboxRoot]

libraryRoot : OPTIONAL
This parameter must be specified either on the
command line or as mjb.libraryRoot in the properties file.
This parameter can be either:
– An existing directory (local or network)
This is where your movie files are stored.
In this case -o is optional.

– An XML configuration file specifying one or
many directories to be scanned for movies.
In this case -o option is MANDATORY.
Please check README.TXT for further information.

-o jukeboxRoot : OPTIONAL (when not using XML libraries file)
output directory (local or network directory)
This is where the jukebox file will be written to
by default the is the same as the movieLibraryRoot

-c : OPTIONAL
Clean the jukebox directory after running.
This will delete any unused files from the jukebox
directory at the end of the run.

-k : OPTIONAL
Scan the output directory first. Any movies that already
exist but aren’t found in any of the scanned libraries will
be preserved verbatim.

-i : OPTIONAL
Skip the indexing of the library and generation of the
HTML pages. This should only be used with an external
front end, such as NMTServer.

-p propertiesFile : OPTIONAL
The properties file to use instead of moviejukebox.properties”

This is the first time I’ve used terminal console so do I get notified when the scan is completed? The inspector is still showing the login and bash processes running.

  Kokonutcreme wrote @ November 17th, 2009 at 22:02

Changed library.xml file to point movie location to hard drive of Mac instead as a test and it worked. Unsure as to why it can’t find movie library on external USB drive connected to Mac. Shared drive and it’s mounted but I obviously need to edit the library.xml file.

  Fredrik Hansson wrote @ November 26th, 2009 at 21:30

Hi there,

Great wizard! I do have one ridiculous problem! In the libraries.xml i should enter the local as seen from my Mac. BUT the problem is that I can’t access the damn thing :) I have an shared device called “smp8634″ but it requires a username and password, and ftpuser, 1234, doesn’t work – it works via ftp but not here. Have the same problem trying Cmd+K from Finder.

What could the problem be? I’ve checked in the setup of my Popcorn A-110 that Samba (and all the others by the way) is running, I’ve tried the classic one (rebooting :) a couple of times – no luck.

Any ideas?

//Fredrik

  n5k wrote @ November 26th, 2009 at 22:34

Where is the share connected? To your PCH or to your Mac?

  Fredrik Hansson wrote @ November 27th, 2009 at 20:43

Sorry, swedish guy here – PHC? My popcorn is connected to my Time Capsul, and so is my mac :)

//Fredrik

  Fredrik Hansson wrote @ November 27th, 2009 at 20:50

Ahhhh, PCH = Popcorn Hour :) Took me a minut. I’ve got an internal harddrive in the PCH, the PCH goes into the Time Capsule as well as my Mac :)

//Fredrik

  Fredrik Hansson wrote @ November 28th, 2009 at 21:03

Found the solution, apperantly the username is not “ftpuser” but “nmt”

  Fredrik Hansson wrote @ November 29th, 2009 at 01:17

Hello again, and sorry for hassling you :)

I’ve managed to complete all the steps, BUT – no cool new interface.

I’ve completed the bash, took about an hour and the terminal-window showed alot of this: “Updating data for: The Bourne Identity
Finished: The Bourne Identity
Updating data for: The Bourne Supremacy
Finished: The Bourne Supremacy
Updating data for: The Bourne Ultimatum
Finished: The Bourne Ultimatum…”

and so on… it ended with

Writing Indexes XML…
Writing Indexes HTML…
Copying new files to Jukebox directory…
Copying resources to Jukebox directory…
Clean up temporary files
Jukebox cleaning skipped

MovieJukebox process completed at Sat Nov 28 23:44:25 CET 2009

Ok so far so good. Since I use only a harddrive in my popcorn, and have no movies anywhere else on my network, the last step under Network Share isn’t necessary right? That’s just for files on my mac for instance?

So what did the bash actually do? When I browse/FTP the internal harddrive I can’t see that it actually added any files or changed anything.

I read somewhere in the comments about “the jukebox folder”.. is that somewhere on my Mac or on the drive in my popcorn hour?

Lots of questions there i know, but it feels like i’m so close :)

So what the heck am i doing wrong? Btw, when nothing else seemed to work, i tried the last step in you tutorial just in case but no luck there either.

Many thanks,
Fredrik

  Benson John wrote @ December 4th, 2009 at 06:10

Sensational!! Just what I’ve been looking for… Shall give this guide a go tonight.

Thanks mate!

  Phil Turcio wrote @ December 18th, 2009 at 05:58

What a great guide -

Thank you so much -

Everything is working up until the stage where I actually go to play a file from the Aeon Wall, and it comes up with ‘ Can not play ‘ – It plays in the HDX’s normal gui, but not in Aeon wall – Any advice would be extremely appreciated!!

regards,

Phil

  Matt wrote @ January 2nd, 2010 at 23:51

Hi

I have just purchased a PCH C-200 and have followed your guide to setting up YAMJ on my Mac. I thought I had followed everything correctly but when I come to running the scan, using terminal nothing happens?

I type ‘cd /applications/moviejukebox’ hit enter and it changes directory (Im assuming correctly) as it then reads.
‘matthew-johnstons-macbook-pro:MovieJukebox ZombieBox$’ I then type the ‘bash moviejukebox.sh library.xml -O /volumes/movieshdarchive’ command, hit enter and it just repeats the line ‘matthew-johnstons-macbook-pro:MovieJukebox ZombieBox$’ and nothing happens.

Any ideas on why this is happening and what I may have done incorrectly would be greatly appreciated!

Thanks
Matt.

  n5k wrote @ January 3rd, 2010 at 14:47

Phil: Hmm, that sounds strange. Have you searched the NMT-forums for that specific error message? It sounds like the Wall doesn’t actually point to the files correctly or something…

  n5k wrote @ January 3rd, 2010 at 14:50

Matt: I have no idea, to be honest. If you type the command correctly, everything should run fine, providing you followed the rest of the guide point by point. My advice to you would be to check things from the start, and if you can’t figure it out, visit the forums and get help there. They’re good people, and capable to fix everything, hehe

  Ray wrote @ January 16th, 2010 at 00:41

Hi, great guide but I have the same problem as Fredrik. I have everything on the harddisk in the PCH. After running the MovieJukebox.sh I’m not seeing the Aeon GUI. Where do I have to put the generated Jukebox folder on the PCH, so that it starts the GUI automatically?

  Ray wrote @ January 16th, 2010 at 23:32

Got it, I forgot to copy the index.htm outside of the Jukebox folder. Now everything is fine.

  adi wrote @ January 17th, 2010 at 22:24

First of all I would like to thank you very much for this guide you wrote.
I’m following all the steps and have downloaded Mediainfo but when I open the dmg file I get the Mediainfo.app file. Is this correct and should I install the app?

  wicknwild wrote @ January 26th, 2010 at 01:36

Hi

Just tried to follow your instructions and got stuck at this point
“Sabish-tvmod-folder”. The latest version V2 (the only one i could find) no longer contains:
detail.xsl -> skins/default/
epi_back.png -> skins/default/html/pictures
exportdetails_item_popcorn.css -> skins/default/html
ppp-templates.xsl -> skins/default/ppp
tvbg.png -> skins/default/html/pictures

what should I do?

thanks

  David wrote @ February 1st, 2010 at 04:45

I also have a question similar to Frederiks (one of his many) questions.

I have no idea how to finish this line:

bash Moviejukebox.sh libraries.xml -o /Users/YourUsername/Movies

…if I am only using an internal HD on the PCH.
And, do I need to the last step and set up a network share then?

Thanks for any help!

  n5k wrote @ February 1st, 2010 at 08:22

First of all – Sorry for the incredible slow reply here. I have been very busy lately, and haven’t had time for my blog.
I’ll answer your questions as best I can, even though you’ve probably found the solution somewhere else by now…

Adi:
I am not sure if you’ve downloaded the right file. You need the CLI version, and here is the direct download link for it.

wicknwild:
Hmm… I guess Sabish changed up his files or something. My suggestion would be to just ignore it. Replace the files you can, and just carry on from there. It’s possible that he rewrote the mod after I made this guide, and maybe there’s no need to change those files any more. I really don’t know. I’d just give it a shot I think.

David:
No, I guess not. I haven’t really thought about that. I guess you’ll have to place the Jukebox folder (and index) somewhere on your internal drive.
The easiest way, I think, might be to just run the command as I do, and then – when the script is finished, just copy the index.html and the Jukebox folder to your desired location on your drive.
If you don’t want to do that you’ll need to pick a location for the Jukebox files, and figure out the path. Perhaps this link will help you with that.

  David wrote @ February 1st, 2010 at 16:32

Thanks for all the help n5k.
And all the work on the tutorial.
It’s very much appreciated!

  Barry wrote @ April 2nd, 2010 at 09:40

Sorry for the late reaply, just started with this myself. But to get the YAMJ output in the right folder on my PCH, i use the following terminal commands:

cd /Applications/MovieJukeBox
bash Moviejukebox.sh libraries.xml -c -o /Volumes/share/Jukebox

Took me a while to get it done properly since i am new to Mac :) On my PC i figured out the network paths easier.

Your comment

HTML-Tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>