[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 Player Daemon (MPD) 2009-10-01 Re-Release
11-26-2009, 03:18 AM
Post: #121
RE: Music Player Daemon (MPD) 2009-10-01 Re-Release
Question, I have a DAC that accepts USB, Coax and Toslink. I have installed the file that allow me to output the music via Toslink, if I want to try the USB output do I have to remove the mpdaudioplugin or is there a easier way to allow the USB output of the nmt to work?

Thanks,
Ed
Find all posts by this user
11-26-2009, 06:50 AM (This post was last modified: 11-26-2009 07:20 AM by avanegmond.)
Post: #122
RE: Music Player Daemon (MPD) 2009-10-01 Re-Release
(11-25-2009 10:49 PM)sprogger Wrote:  Aleg
Thanks .. I have not altered the mpd.conf file at all ... those fields for audio output are preceeded by the # character .

The ones that are not commented are the default httpd fields ... do I comment these out with '#' and delete the '#' from the smp86xx set?

Also .. I note that there is no smp86xx_plugin.so in my Apps/mpd/plugins directory (just a READ.ME file)

Cheers
Sprogger

Don't change the mpd.conf by hand.

Your last remark: "I note that there is no smp86xx_plugin.so in my Apps/mpd/plugins directory (just a READ.ME file)" confirms that the required audioplugin has not been installed. This comes from the second tar-file "MPDAudioPlugin" this also contains the properly configured mpd.conf.

I would suggest you untar this second tar-file by hand if you are comfortable in doing so and put all the files in the proper place by hand using a terminal connection. You could check where they have to go by their folder name used in the install.sh script.

If you're not comfortable doing it by hand I would suggest you wait till Shadowcode has figured out where his install script fails.

-
aleg

(11-26-2009 03:18 AM)ebag4 Wrote:  Question, I have a DAC that accepts USB, Coax and Toslink. I have installed the file that allow me to output the music via Toslink, if I want to try the USB output do I have to remove the mpdaudioplugin or is there a easier way to allow the USB output of the nmt to work?

Thanks,
Ed

Ed

Where have you read there is a USB-Audio output available?

From A-110 Technical Specifications:
Quote:Audio/Video outputs
HDMI v1.3a (up to 1080p)
Component Video (up to 1080p)
S-Video
Composite Video
Stereo Analog Audio
S/PDIF Optical Digital Audio


-aleg

--------------------------------------------------------------------------------
PCH A100 (Stable firmware), 250GB 2.5"" WD Caviar-PATA,
Connected to Pioneer KRL32V at HDMI 1080p60/50/24,
Ubuntu Server NAS,
Naim DAC + XPS-2,
mpd + iPod with mPod
Find all posts by this user
11-26-2009, 11:11 AM
Post: #123
RE: Music Player Daemon (MPD) 2009-10-01 Re-Release
Hey Guys,

somehow I'm experiencing some difficulties here.
1st of all I get the following error: /bin/sh: cd: can't cd to share/Apps/mdp/

2nd after installing and running mpd with communityinstaller I can't connect with Minion

3rd when mpd running and mpdjb installed it takes 30 seconds and more to generate a page, to navigate from one song to another...

any idea what's wrong here?

btw. I'm using a HDX1000
Find all posts by this user
11-26-2009, 11:28 AM
Post: #124
RE: Music Player Daemon (MPD) 2009-10-01 Re-Release
(11-26-2009 11:11 AM)SensorXL Wrote:  Hey Guys,

somehow I'm experiencing some difficulties here.
1st of all I get the following error: /bin/sh: cd: can't cd to share/Apps/mdp/
When do you get that error? Did you have MPD installed before? If so, how did you install that version of MPD?

(11-26-2009 11:11 AM)SensorXL Wrote:  2nd after installing and running mpd with communityinstaller I can't connect with Minion
Could you try this again and upload all the files that start with a '.' in the MPD folder? .daemonresult and .setupresult, mainly.

(11-26-2009 11:11 AM)SensorXL Wrote:  3rd when mpd running and mpdjb installed it takes 30 seconds and more to generate a page, to navigate from one song to another...
Probably because MPD is busy updating the database. I recommend just waiting out until you're absolutely sure that the database is up to date. Alternatively, just for testing, you could rename your music folder and just leave one audio file.

(11-26-2009 11:11 AM)SensorXL Wrote:  any idea what's wrong here?
btw. I'm using a HDX1000
I have a PCHA101, there might be some things that are different on the HDX1000 (I'd expect them to be, paths?), but I'm not aware of any of them.
Find all posts by this user
11-26-2009, 07:17 PM
Post: #125
RE: Music Player Daemon (MPD) 2009-10-01 Re-Release
(11-26-2009 11:11 AM)SensorXL Wrote:  Hey Guys,

somehow I'm experiencing some difficulties here.
1st of all I get the following error: /bin/sh: cd: can't cd to share/Apps/mdp/

2nd after installing and running mpd with communityinstaller I can't connect with Minion

3rd when mpd running and mpdjb installed it takes 30 seconds and more to generate a page, to navigate from one song to another...

any idea what's wrong here?

btw. I'm using a HDX1000

when i unpacked the stuff it didnt go to /share/apps/mpd it did a new directory so the directory structure was /share/share/apps/mpd might be the problem you have?
I mean if you didnt got the package installed properly.
Find all posts by this user
11-26-2009, 07:25 PM
Post: #126
RE: Music Player Daemon (MPD) 2009-10-01 Re-Release
(11-26-2009 07:17 PM)Angelkiller Wrote:  when i unpacked the stuff it didnt go to /share/apps/mpd it did a new directory so the directory structure was /share/share/apps/mpd might be the problem you have?
I mean if you didnt got the package installed properly.

If it went to /share/share/apps/mpd after unpacking the tar's, then you probably didn't do a cd / before the unpacking I think?!

-
aleg

--------------------------------------------------------------------------------
PCH A100 (Stable firmware), 250GB 2.5"" WD Caviar-PATA,
Connected to Pioneer KRL32V at HDMI 1080p60/50/24,
Ubuntu Server NAS,
Naim DAC + XPS-2,
mpd + iPod with mPod
Find all posts by this user
11-26-2009, 11:52 PM
Post: #127
RE: Music Player Daemon (MPD) 2009-10-01 Re-Release
aleg, Shadowcode
OK .. so we figure that the second process of unzipping the mpdaudioplugin didnt work ..

I manually unzipped the files and then copied them to my HDX hard drive overwriting any files that were there originally ..

I rebooted the HDX .. now when I do a "ps" there is no mpd tasks active ..

If I run sh daemon.sh start from telnet I get

daemon.sh: Line 9: syntax error "}" unexpected

Cheers
Sprogger
Find all posts by this user
11-27-2009, 12:16 AM (This post was last modified: 11-27-2009 12:17 AM by ebag4.)
Post: #128
RE: Music Player Daemon (MPD) 2009-10-01 Re-Release
(Yesterday 09:18 PM)ebag4 Wrote:
Question, I have a DAC that accepts USB, Coax and Toslink. I have installed the file that allow me to output the music via Toslink, if I want to try the USB output do I have to remove the mpdaudioplugin or is there a easier way to allow the USB output of the nmt to work?

Thanks,
Ed

Ed

Where have you read there is a USB-Audio output available?

--------------------------------------------------------------------------------------------------------------------------------------------------------------

Hi Aleg,
I am running an Egreat M34a, it has two USB connection that can be an audio output. AanH had to write code for the MPD to utilize the SPDIF output, prior to that the USB was the only connection that MPD could use.

Best,
Ed
Find all posts by this user
11-27-2009, 12:48 AM
Post: #129
RE: Music Player Daemon (MPD) 2009-10-01 Re-Release
Hi, I used the CSI install and MPD is running. I telnet in with putty and ran the test from post #25 and it showed all the correct lines.

Problem is I cannot get Minion in firefox to play. I have all my music on a NAS that is is a network hshare on the pch a-100. I have nagivated to the share, it works fine. it is mounted on the pch ui.

in the MPD conf file under in both the mpd "etc" older and the mpdaudioplugin "etc" folder, i manually edited the conf files using notepad ++. For music directory, I changed the path to:

music_directory "file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/hipserv/MyMusic/All_MP3/"

where "hipserv" is the name of my network share on the pch, and MyMusic/All_MP3 is the folder where my songs are stored.

in the minion settings in entered
MPD host: http://192.168.11.84
mpd port: 6600
password: left blank

anyone know why minion won't work?

thanks in advance
Find all posts by this user
11-27-2009, 01:29 AM
Post: #130
RE: Music Player Daemon (MPD) 2009-10-01 Re-Release
aleg, shadowcode
Got It!!!!

There is a daemon.sh in the mpdaudioplugin.tar and another one in the mpd.tar .. the one in the mpdAudioPlugin.tar is not working .. I unpacked mpd.tar manually and used the daemon.sh from this package ... (so we have to use the mpd.conf from mpdAudioPlugin.tar but the daemon.sh from mpd.tar)

Bingo .. minion fires up and I get sound from my hdmi connected system (after first playing music with standard music player to initialise the hdmi connection)

Gapless playback proves that it is mpd now playing my music

Fabulous .... (now just hanging on the hdmi fix for mpd)

Many thanks for your help

Cheers
Sprogger
Find all posts by this user
11-27-2009, 07:48 AM (This post was last modified: 11-27-2009 07:56 AM by shadowcode.)
Post: #131
RE: Music Player Daemon (MPD) 2009-10-01 Re-Release
Sprogger, I'm glad that you got it working, but i'm not sure if that's actually it; the mpdAudioplugin daemon.sh is supposed to be empty in this version; all work is done during installation, it just copies a few files and that's it.
By copying the mpd daemon.sh you just cause MPD to be started twice, I suppose.
(11-27-2009 12:48 AM)wickchucker Wrote:  Hi, I used the CSI install and MPD is running. I telnet in with putty and ran the test from post #25 and it showed all the correct lines.
Could you try to get the default install working first? Then at least you know if your installation isn't broken. Other than that I'm not sure if MPD supports the file:// specification (or did you read this from the MPD docs?). Try /opt/rest/of/the/path
Find all posts by this user
11-27-2009, 11:41 PM (This post was last modified: 11-27-2009 11:41 PM by wickchucker.)
Post: #132
RE: Music Player Daemon (MPD) 2009-10-01 Re-Release
(11-27-2009 07:48 AM)shadowcode Wrote:  Could you try to get the default install working first? Then at least you know if your installation isn't broken. Other than that I'm not sure if MPD supports the file:// specification (or did you read this from the MPD docs?). Try /opt/rest/of/the/path


I changed the path now, removed the "file" part, so it reads:
/opt/sybhttpd/localhost.drives/NETWORK_SHARE/hipserv/MyMusic/All_MP3/
but that still did not work

should I temporarily try to store some mp3 files in a different directory that mpd and minion can find easier, just to see if it will work?

I know MPD is working because when i listen to music on the PCH UI it now has gapless playback and album art.

so it appears to be a Minion issue. That is the client I want to use. In the end, I would like
-Minion on laptop controlling songs and play lists (including random play, shuffle, m3u playlists)
-PCH on, sending audio via coax to AVR
-all songs stored on a NAS

Anyone else have a similar set up to offer some pointers on how to get it up and running?
Find all posts by this user
11-30-2009, 05:06 PM
Post: #133
RE: Music Player Daemon (MPD) 2009-10-01 Re-Release
So, after giving it a second shot I was able to install mpd properly.
But, I even got connectet with minion.
But now two new issues came up.
1st: The Harddisk didn't stop anymore. It spun for 4 days. I had to delete mdp and reboot to stop it again,
2nd: My screen was flickering so there was no way you could watch anything on the HDX.

Any ideas whats wrong?
Find all posts by this user
11-30-2009, 06:12 PM
Post: #134
RE: Music Player Daemon (MPD) 2009-10-01 Re-Release
(11-30-2009 05:06 PM)SensorXL Wrote:  So, after giving it a second shot I was able to install mpd properly.
But, I even got connectet with minion.
But now two new issues came up.
1st: The Harddisk didn't stop anymore. It spun for 4 days. I had to delete mdp and reboot to stop it again,
2nd: My screen was flickering so there was no way you could watch anything on the HDX.

Any ideas whats wrong?

I don't have an HDX, but a PCH A-100 and I don't share your experience with a continuous spinning harddisk.

For the second problem you might try this: I don't your settings in the mpd.conf, but you might try changing the ramdac variable in the audio_output section to "1". This will move the mpd to a different part of memory.

-
aleg

--------------------------------------------------------------------------------
PCH A100 (Stable firmware), 250GB 2.5"" WD Caviar-PATA,
Connected to Pioneer KRL32V at HDMI 1080p60/50/24,
Ubuntu Server NAS,
Naim DAC + XPS-2,
mpd + iPod with mPod
Find all posts by this user
12-01-2009, 12:04 PM
Post: #135
RE: Music Player Daemon (MPD) 2009-10-01 Re-Release
I installed it last week using the instructions and it works like a charm! There are three small problems I experience:

1. As soon as I add a song to Minion's playlist, the connection is lost to my PCH. I can just reconnect but it takes a lot of time if you make a nice playlist Smile

2. My harddisk also keeps spinning constantly (PCH-A110), which it didn't do before.

3. The SD theme is to big for my TV
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Rainbow Music Player Daemon (MPD) - v0.16.2 shadowcode 120 35,747 05-10-2013 08:42 AM
Last Post: Djiest
  Music Browser for NMT - Updated August, 2nd, 2011 gkreidl 14 8,035 01-19-2013 04:07 PM
Last Post: winfried_laane
  Is it possible to code a HULU player for the A-110? mulderfox 0 371 01-05-2013 11:11 AM
Last Post: mulderfox
Music MPD installation howto (updated 4 May 2009) gwillem 494 285,184 07-20-2012 09:43 PM
Last Post: krimpenrik
  Any music jukebox that syncs with itunes? superflysocal 0 863 07-04-2012 02:57 PM
Last Post: superflysocal
  Music Player Daemon (MPD) 2010-04-04 v0.15.9 shadowcode 245 84,559 03-10-2012 01:05 AM
Last Post: ianny
Music fuppes 0.629 for NMT - dlna, upnp media server [UPDATED: 31-May-2009] Mr Segfault 53 45,226 10-12-2011 01:04 AM
Last Post: spud
  Stream music to the popcornhour snakeboots 1 2,337 08-30-2011 02:56 PM
Last Post: minio
  Music player minion connection problems webkocken 5 3,676 07-04-2011 09:08 AM
Last Post: shadowcode
  Disable amule daemon drunkendonkey 0 1,444 02-04-2011 12:33 AM
Last Post: drunkendonkey

Forum Jump: