[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
Music Jukebox - Network Share issue? Can't play music!
09-30-2009, 09:58 AM
Post: #1
Music Jukebox - Network Share issue? Can't play music!
Hi All,

I had my PCH-A110 all set up nicely with Music Jukebox 6.5 and everything worked correctly - including shuffle, playlists etc etc. I was a happy bunny.

I then had a hardware issue with my PCH which was fixed under warranty, and the motherboard was replaced. When I got it back it had different firmware and naturally I had lost all the settings. I had written them all down before sending off my PCH for repair, but alas, I now have a problem with playing music via the Music Jukebox menus, presumably a network share issue?

All the HTML/XML/NFO files produced by the Music Jukebox (which used to work) remained intact on my internal HDD, and the music was all stored on my computer in any case, so all I needed to do in theory was set up my network share again on the PCH and everything should work as it did before.

* I have set up a network share called "DOM-PC-MUSIC" on the PCH
* the URL is (something like) "smb:\\DOM-PC\Music"
* the music on the PC is accessible and playable by browsing to this location from the PCH
* the Music Jukebox HTML pages (located on the PCH internal HDD) can be displayed along with the folder art (which is stored along with the music on my computer at the URL above) so the URL to the folder art in the HTML menu pages must be ok
* The playlists created using Music Jukebox work, so the path names to the music files must be ok in the jsp files

BUT WHEN I PRESS "PLAY" on the HTML menu page for any music file, I just get an error. This seems to imply that the path to the music file is incorrect. I assume the path comes from the XML file for the album. If I compare the file path in the XML file to that in the playlist jsp files, the path is the same (of course they are because it all worked in the past!).

So does anyone have any suggestions what else I can check? The thing that confuses me is that the playlists from the Music Jukebox work fine, yet trying to play a file from an album HTML page doesn't work - even though the paths are the same in both the jsp and the xml files.

Help Sad
Find all posts by this user
09-30-2009, 02:55 PM
Post: #2
RE: Music Jukebox - Network Share issue? Can't play music!
(09-30-2009 09:58 AM)dom_donald Wrote:  Hi All,

I had my PCH-A110 all set up nicely with Music Jukebox 6.5 and everything worked correctly - including shuffle, playlists etc etc. I was a happy bunny.

I then had a hardware issue with my PCH which was fixed under warranty, and the motherboard was replaced. When I got it back it had different firmware and naturally I had lost all the settings. I had written them all down before sending off my PCH for repair, but alas, I now have a problem with playing music via the Music Jukebox menus, presumably a network share issue?

All the HTML/XML/NFO files produced by the Music Jukebox (which used to work) remained intact on my internal HDD, and the music was all stored on my computer in any case, so all I needed to do in theory was set up my network share again on the PCH and everything should work as it did before.

* I have set up a network share called "DOM-PC-MUSIC" on the PCH
* the URL is (something like) "smb:\\DOM-PC\Music"
* the music on the PC is accessible and playable by browsing to this location from the PCH
* the Music Jukebox HTML pages (located on the PCH internal HDD) can be displayed along with the folder art (which is stored along with the music on my computer at the URL above) so the URL to the folder art in the HTML menu pages must be ok
* The playlists created using Music Jukebox work, so the path names to the music files must be ok in the jsp files

BUT WHEN I PRESS "PLAY" on the HTML menu page for any music file, I just get an error. This seems to imply that the path to the music file is incorrect. I assume the path comes from the XML file for the album. If I compare the file path in the XML file to that in the playlist jsp files, the path is the same (of course they are because it all worked in the past!).

So does anyone have any suggestions what else I can check? The thing that confuses me is that the playlists from the Music Jukebox work fine, yet trying to play a file from an album HTML page doesn't work - even though the paths are the same in both the jsp and the xml files.

Help Sad

First, triple-check the network share name that appears on the Sources screen of the Popcorn Hour. Be 150% sure it says 'DOM-PC-MUSIC' (exact case). Compare this to what comes after the 'NETWORK_SHARE/' in one of the XML files. They have to match EXACTLY, the Popcorn Hour is very picky about case.

Can you post one of the song lines from an XML file? I would like to see what we have. Also post the same line in the corresponding HTML file...
Find all posts by this user
09-30-2009, 04:03 PM (This post was last modified: 09-30-2009 04:06 PM by dom_donald.)
Post: #3
RE: Music Jukebox - Network Share issue? Can't play music!
(09-30-2009 02:55 PM)wandidj Wrote:  First, triple-check the network share name that appears on the Sources screen of the Popcorn Hour. Be 150% sure it says 'DOM-PC-MUSIC' (exact case). Compare this to what comes after the 'NETWORK_SHARE/' in one of the XML files. They have to match EXACTLY, the Popcorn Hour is very picky about case.

Can you post one of the song lines from an XML file? I would like to see what we have. Also post the same line in the corresponding HTML file...

Hi, yes, when I get home (in about 1 hour Smile) I will triple check the name i typed in. Yesterday I had put it in lower case but this morning I changed it to upper, as it should be.. but yes I will check again.

Line from XML:

file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/DOM-PC-MUSIC/Albums/3%20Doors%20Down%20-%20Away%20from%20the%20Sun/3%20Doors%20Down%20-%20Away%20From%20The%20Sun%20-%2009%20-%20Changes.mp3

corresponding line from HTML (I am guessing this is the one you want - there is no line in the HTML which has the path to the music file itself):

<a href="http://localhost.drives:8883/HARD_DISK/MusicJukeBox/mpc_wrapper.cgi?action=addtail%26item=%26referrer=3_Doors_Down__Away_from_the_Su​n.htm%26name=10t" name="10t" TVID="10">
<img src="pictures/playbutton.png" border="0" onfocussrc="pictures/playbutton_sel.png" onmouseover="this.src='pictures/playbutton_sel.png';" onmouseout="this.src='pictures/playbutton.png';" alt="10" width="20" height="20" />
</a>

from the XML file for the folder art, which is displayed ok:

<albumart>file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/DOM-PC-MUSIC/Albums/3%20Doors%20Down%20-%20Away%20from%20the%20Sun/Folder.jpg</albumart>

As I said, the main surprise for me is that my own playlists work fine (created using the Jukebox), whereas the "play all" for a given album doesn't play, even though that is a playlist too, albeit an automatically generated one. Given that the path names are the same in each, one would expect them to either both work or not at all!

Also, given that the album art displays ok, the network path must works - and the music is in the same location as the album art.

This is all very odd, because nothing changed on the PCH HDD or on my computer, except for the re-setting of the PCH Network path name..
Find all posts by this user
09-30-2009, 05:47 PM
Post: #4
RE: Music Jukebox - Network Share issue? Can't play music!
(09-30-2009 04:03 PM)dom_donald Wrote:  Hi, yes, when I get home (in about 1 hour Smile) I will triple check the name i typed in. Yesterday I had put it in lower case but this morning I changed it to upper, as it should be.. but yes I will check again.

Line from XML:

file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/DOM-PC-MUSIC/Albums/3%20Doors%20Down%20-%20Away%20from%20the%20Sun/3%20Doors%20Down%20-%20Away%20From%20The%20Sun%20-%2009%20-%20Changes.mp3

corresponding line from HTML (I am guessing this is the one you want - there is no line in the HTML which has the path to the music file itself):

<a href="http://localhost.drives:8883/HARD_DISK/MusicJukeBox/mpc_wrapper.cgi?action=addtail%26item=%26referrer=3_Doors_Down__Away_from_the_Su​n.htm%26name=10t" name="10t" TVID="10">
<img src="pictures/playbutton.png" border="0" onfocussrc="pictures/playbutton_sel.png" onmouseover="this.src='pictures/playbutton_sel.png';" onmouseout="this.src='pictures/playbutton.png';" alt="10" width="20" height="20" />
</a>

from the XML file for the folder art, which is displayed ok:

<albumart>file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/DOM-PC-MUSIC/Albums/3%20Doors%20Down%20-%20Away%20from%20the%20Sun/Folder.jpg</albumart>

As I said, the main surprise for me is that my own playlists work fine (created using the Jukebox), whereas the "play all" for a given album doesn't play, even though that is a playlist too, albeit an automatically generated one. Given that the path names are the same in each, one would expect them to either both work or not at all!

Also, given that the album art displays ok, the network path must works - and the music is in the same location as the album art.

This is all very odd, because nothing changed on the PCH HDD or on my computer, except for the re-setting of the PCH Network path name..
Your HTML has MPD paths instead of Music Jukebox paths. Do you have MPD installed on the new Popcorn Hour?
Find all posts by this user
09-30-2009, 05:51 PM (This post was last modified: 09-30-2009 06:45 PM by dom_donald.)
Post: #5
RE: Music Jukebox - Network Share issue? Can't play music!
(09-30-2009 05:47 PM)wandidj Wrote:  Your HTML has MPD paths instead of Music Jukebox paths. Do you have MPD installed on the new Popcorn Hour?

I wish I knew what an MPD path is Smile

I guess that means I don't. I did re-generate the HTML last night in an attempt to cure the problem and although I didn't (knowingly) change the settings, something may have gone awry!

Edit: oh, I do have a file called "mpc_now_playing.cgi" in the MusicJukeBox folder on the PCH (where all the HTML is) but no mpc_wrapper.cgi, which is referenced in the HTML. I guess that could be a problem!? The "mpc_now_playing.cgi" file came from a skin (mpdmod-meow)..

by the way, I am now regenerating HTML using v7.4...with Skin set to <none>
By the way, I am now regenerating the HTML using the latest v7.4 with <None> skin.
and as I am writing this I am beginning to see what's going on Big Grin
Should I generate the HTML with a default skin and try it?
Find all posts by this user
09-30-2009, 06:32 PM
Post: #6
RE: Music Jukebox - Network Share issue? Can't play music!
Set your skin to Default, click on Delete All HTML and then regenerate. You should be good. You had Music Player Daemon installed on your old unit, which is a replacement for the built-in music player.
Find all posts by this user
[+] 1 user says Thank You to wandidj for this post
09-30-2009, 06:52 PM (This post was last modified: 09-30-2009 07:02 PM by dom_donald.)
Post: #7
RE: Music Jukebox - Network Share issue? Can't play music!
(09-30-2009 06:32 PM)wandidj Wrote:  Set your skin to Default, click on Delete All HTML and then regenerate. You should be good. You had Music Player Daemon installed on your old unit, which is a replacement for the built-in music player.

yes.. that brings back solme dim and distant memory!! It's like walking through treacle this - and I try to write stuff down but sometimes I forget to. It's hard to believe I was a software developer for 10 years (not this kind of stuff tho!).

Anyway, I set my skin to "<None>" and am regenerating.. I hope this works and that I don't have to re-run with "default" instead. Smile
(09-30-2009 06:52 PM)dom_donald Wrote:  yes.. that brings back solme dim and distant memory!! It's like walking through treacle this - and I try to write stuff down but sometimes I forget to. It's hard to believe I was a software developer for 10 years (not this kind of stuff tho!).

Anyway, I set my skin to "<None>" and am regenerating.. I hope this works and that I don't have to re-run with "default" instead. Smile

Yes, it's all good now thanks! Smile
Find all posts by this user
09-30-2009, 07:08 PM
Post: #8
RE: Music Jukebox - Network Share issue? Can't play music!
(09-30-2009 06:52 PM)dom_donald Wrote:  yes.. that brings back solme dim and distant memory!! It's like walking through treacle this - and I try to write stuff down but sometimes I forget to. It's hard to believe I was a software developer for 10 years (not this kind of stuff tho!).

Anyway, I set my skin to "<None>" and am regenerating.. I hope this works and that I don't have to re-run with "default" instead. Smile
You will want to recreate your MJData\skins\Default folder somehow (Release 8 removes skin NONE support). I am assuming the MPD installation modified some of the Default skin files. If you like, PM me an e-mail address and I can send you a zip file with the Default folder so you don't have to re-install. If you do re-install, copy your MusicJukebox.xml file somewhere else before.
Find all posts by this user
10-01-2009, 08:20 AM
Post: #9
RE: Music Jukebox - Network Share issue? Can't play music!
(09-30-2009 07:08 PM)wandidj Wrote:  You will want to recreate your MJData\skins\Default folder somehow (Release 8 removes skin NONE support). I am assuming the MPD installation modified some of the Default skin files. If you like, PM me an e-mail address and I can send you a zip file with the Default folder so you don't have to re-install. If you do re-install, copy your MusicJukebox.xml file somewhere else before.

Hi there. I am not too bothered about re-installing it. When I put it on the first place I was just playing around really and didn't get any obvious benefits. I am happy now that everything is working as it was and can enjoy my music again (the only other problem I had was distorted mp3 music, which was resolved by turning down the PCH volume - took me ages that one!).

Thanks for your help, always on hand!
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Information [MUSIC] Music Jukebox Release 8 Download and Installation wandidj 1,484 515,273 03-30-2013 01:36 AM
Last Post: kcstueber
Music [MUSIC] MPD JukeBox (MPDJB) joblo10 378 198,566 01-18-2013 02:57 PM
Last Post: Penfold
  music jukebox with ipad remote wesley2004 0 582 12-26-2012 12:31 AM
Last Post: wesley2004
  What is wrong? music jukebox config help jplinux3 15 2,970 07-23-2012 07:55 AM
Last Post: jluc2808
  Kroozbox- Personal Video Database - PVD (or any DB) and Music Jukebox to Popcorn Hour Nono 383 156,888 07-03-2012 01:52 PM
Last Post: Paul_T
  Any new flash based music jukebox? grey 1 1,340 06-18-2012 12:44 AM
Last Post: accident
  [PHOTO] uPNP client Photo Jukebox spud 0 1,169 05-02-2012 02:43 PM
Last Post: spud
  Possible to use C-200 as a player through network? kiwidude 5 1,276 03-11-2012 11:20 AM
Last Post: kiwidude
  JUKEBOX w/movie series grouping+VIDEO_TS/ISO TV series episode parsing+music vid+shuf heinza 6 3,712 01-03-2012 02:58 AM
Last Post: gondom
  Movie Flow for All Jukebox 03-21-2013 Updated michael1t 210 63,121 12-31-2011 03:11 PM
Last Post: michael1t

Forum Jump: