Networked Media Tank
Music Player Daemon (MPD) 2009-10-01 Re-Release - Printable Version

+- Networked Media Tank (http://www.networkedmediatank.com)
+-- Forum: Community Jukebox, Themes, & UserApps Section (/forumdisplay.php?fid=106)
+--- Forum: 200/300/400 Series - Development and User Apps (/forumdisplay.php?fid=121)
+---- Forum: 100 Series - Development and User Apps (/forumdisplay.php?fid=33)
+---- Thread: Music Player Daemon (MPD) 2009-10-01 Re-Release (/showthread.php?tid=28854)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20


RE: Music Player Daemon (MPD) 2009-10-01 Re-Release - skouthon - 10-22-2009 06:43 AM

Hello I'm stuck with the installation of this new mpd version i.e. : when i try to strat I obtain following message :


/opt/sybhttpd/localhost.drives/HARD_DISK/Apps/mpd # MPD_HOST and/or MPD_PORT environment variables are not set
error: problems connecting to "localhost" on port 6600: Connection refused
listen: binding to any address
listen: binding to socket address 0.0.0.0:6600
path: path_set_fs_charset: fs charset is: UTF-8
Failed to load database: Failed to open database file "/share/Apps/mpd/etc/database": No such file or directory
output: line 153: No such audio output plugin: smp86xx

Can somebody please help me !

Thks!!!


RE: Music Player Daemon (MPD) 2009-10-01 Re-Release - hxall - 10-23-2009 01:32 PM

(10-22-2009 06:43 AM)skouthon Wrote:  Hello I'm stuck with the installation of this new mpd version i.e. : when i try to strat I obtain following message :


/opt/sybhttpd/localhost.drives/HARD_DISK/Apps/mpd # MPD_HOST and/or MPD_PORT environment variables are not set
error: problems connecting to "localhost" on port 6600: Connection refused
listen: binding to any address
listen: binding to socket address 0.0.0.0:6600
path: path_set_fs_charset: fs charset is: UTF-8
Failed to load database: Failed to open database file "/share/Apps/mpd/etc/database": No such file or directory
output: line 153: No such audio output plugin: smp86xx

Can somebody please help me !

Thks!!!

make sure myihome server is enabled in your PCH, and reboot the PCH, it should work...


RE: Music Player Daemon (MPD) 2009-10-01 Re-Release - shadowcode - 10-24-2009 12:53 PM

(10-22-2009 06:43 AM)skouthon Wrote:  Hello I'm stuck with the installation of this new mpd version i.e. : when i try to strat I obtain following message :


/opt/sybhttpd/localhost.drives/HARD_DISK/Apps/mpd # MPD_HOST and/or MPD_PORT environment variables are not set
error: problems connecting to "localhost" on port 6600: Connection refused
listen: binding to any address
listen: binding to socket address 0.0.0.0:6600
path: path_set_fs_charset: fs charset is: UTF-8
Failed to load database: Failed to open database file "/share/Apps/mpd/etc/database": No such file or directory
output: line 153: No such audio output plugin: smp86xx

Can somebody please help me !

Thks!!!

Which installation instructions did you follow?


RE: Music Player Daemon (MPD) 2009-10-01 Re-Release - skouthon - 10-24-2009 01:02 PM

(10-24-2009 12:53 PM)shadowcode Wrote:  Which installation instructions did you follow?

These ones :

cd /
wget http://www.daedalusdevelopment.net/stuff/mpdroot.tar.gz -qO - | tar xvz
wget http://www.alanlee.org/mpd-nmt/mpd-20091001.tgz -qO - | tar xvz
wget http://www.alanlee.org/mpd-nmt/mpd-smp86xx_plugin-20091001.tgz -qO - | tar xvz
cd /share/Apps/mpd
sh install.sh
sh daemon.sh start


They now work but I had to define a new path for pid file, and set the user value to nmt (in the mpd.conf file)


RE: Music Player Daemon (MPD) 2009-10-01 Re-Release - skouthon - 10-25-2009 12:22 PM

(10-24-2009 01:02 PM)skouthon Wrote:  These ones :

cd /
wget http://www.daedalusdevelopment.net/stuff/mpdroot.tar.gz -qO - | tar xvz
wget http://www.alanlee.org/mpd-nmt/mpd-20091001.tgz -qO - | tar xvz
wget http://www.alanlee.org/mpd-nmt/mpd-smp86xx_plugin-20091001.tgz -qO - | tar xvz
cd /share/Apps/mpd
sh install.sh
sh daemon.sh start


They now work but I had to define a new path for pid file, and set the user value to nmt (in the mpd.conf file)


Can somebody please tell me what is going on ?

Code:
Oct 25 12:18 : client: command_process_list: command returned 0
Oct 25 12:18 : client: [9] process command list returned 0
Oct 25 12:18 : decoder: audio_format=44100:24:2, seekable=true
Oct 25 12:18 : client: [9] process command "currentsong"
Oct 25 12:18 : client: [9] command returned 0
Oct 25 12:18 : client: [9] process command "currentsong"
Oct 25 12:18 : client: [9] command returned 0
direct/llad.c: Unable to open /dev/mum0
rua/rua.c: Unable to open llad 0
Oct 25 12:18 : client: [9] process command "plchanges 2"
Oct 25 12:18 : client: [9] command returned 0
Oct 25 12:18 : output: Failed to open "My Sigma Chip" [smp86xx]: Unable to open RUA handle - RM_ERROR
Oct 25 12:18 : player_thread: problems opening audio device while playing "Tracy Chapman/Telling Stories/01 Telling Stories.mp3"


I'm unable to play any song !

Could it be because my A-110 config redirect all output to digital (RAW) ?!?


RE: Music Player Daemon (MPD) 2009-10-01 Re-Release - shadowcode - 10-25-2009 07:04 PM

Is your PCH running the latest firmware?


RE: Music Player Daemon (MPD) 2009-10-01 Re-Release - skouthon - 10-25-2009 07:30 PM

Well the update feature in the config page tend to prove so.
How can I check that ?


RE: Music Player Daemon (MPD) 2009-10-01 Re-Release - dooly - 10-25-2009 10:44 PM

(10-22-2009 06:43 AM)skouthon Wrote:  Hello I'm stuck with the installation of this new mpd version i.e. : when i try to strat I obtain following message :


/opt/sybhttpd/localhost.drives/HARD_DISK/Apps/mpd # MPD_HOST and/or MPD_PORT environment variables are not set
error: problems connecting to "localhost" on port 6600: Connection refused
listen: binding to any address
listen: binding to socket address 0.0.0.0:6600
path: path_set_fs_charset: fs charset is: UTF-8
Failed to load database: Failed to open database file "/share/Apps/mpd/etc/database": No such file or directory
output: line 153: No such audio output plugin: smp86xx

Can somebody please help me !

Thks!!!

Can you check what's in the "audio_output" section of your /share/Apps/mpd/etc/mpd.conf file?
It should be something like:
Code:
audio_output {                                                                
        type        "smp86xx"                                                  
        load        "/share/Apps/mpd/plugins/smp86xx_plugin.so"                
        name        "My Sigma Chip"                                            
        engine      "0"          # optional                                    
        decoder     "1"          # optional                                    
        ramdac      "0"          # optional
        line_count  "2048"       # optional                                    
        fifo_us     "500000"     # optional                                    
        hdmi        "sii9134"                                                  
        mixer_type  "software"                                                
#       mixer_type  "hardware"                                                
}



RE: Music Player Daemon (MPD) 2009-10-01 Re-Release - alanh - 10-26-2009 01:34 AM

(10-25-2009 12:22 PM)skouthon Wrote:  Can somebody please tell me what is going on ?

Code:
direct/llad.c: Unable to open /dev/mum0
rua/rua.c: Unable to open llad 0
Oct 25 12:18 : output: Failed to open "My Sigma Chip" [smp86xx]: Unable to open RUA handle - RM_ERROR

Not running mpd as root perhaps? That's the only cause of the above really.


RE: Music Player Daemon (MPD) 2009-10-01 Re-Release - Cadish - 10-28-2009 12:46 PM

(10-12-2009 03:32 AM)alanh Wrote:  Just an update. I haven't abandoned this. I've just been out of town for the past couple weekends. And will probably have to play work catchup next weekend. Ger has gotten me everything I need to put together a CSI packages. I also have everything I need to port the driver to C-200. But will likely be a week+ on both.

Why are vacations so stressful?
Any update on the CSI packages? Cool


RE: Music Player Daemon (MPD) 2009-10-01 Re-Release - alanh - 10-28-2009 01:05 PM

(10-28-2009 12:46 PM)Cadish Wrote:  Any update on the CSI packages? Cool
No ETA whatsoever. Between a 3 hour weekday commute 10-12 hour days due to another round of work layoffs, I barely have time for myself on weekends. My C-200 is still sitting on my office desk only touched once with packing materials still laying on top of it Sad


RE: Music Player Daemon (MPD) 2009-10-01 Re-Release - shadowcode - 10-28-2009 01:06 PM

(10-28-2009 01:05 PM)alanh Wrote:  No ETA whatsoever. Between a 3 hour weekday commute 10-12 hour days due to another round of work layoffs, I barely have time for myself on weekends. My C-200 is still sitting on my office desk only touched once with packing materials still laying on top of it Sad

Take care man.


RE: Music Player Daemon (MPD) 2009-10-01 Re-Release - jjnh - 10-28-2009 04:17 PM

Hi Everyone,

It's great to have MPD (again) on the PCH.
I know it's not finished yet, but I'm running into a problem that I have not seen mentioned in this forum.

I have a PCH A-110 with a power module installed. So shut-down = really off. This is controlled by Harmony One to make it "Wife proof".

When I'm playing music everything works great. When shutting down the PCH the music stops (of course). When restarting playback resumes automatically.

Great feature for some, but in my case I would rather do without. Now I'll have te clear the playlist before shutting down the PCH otherwise ...

Is there any sollution for this "problem"? Perhaps it is possible to clear the playlist automatically when booting the PCH?

Kind regards,
JJNH

P.S. Alanh and Shadowcode: KEEP UP THE GOOD WORK!!!


RE: Music Player Daemon (MPD) 2009-10-01 Re-Release - adelias - 10-28-2009 05:01 PM

(10-28-2009 04:17 PM)jjnh Wrote:  Hi Everyone,

It's great to have MPD (again) on the PCH.
I know it's not finished yet, but I'm running into a problem that I have not seen mentioned in this forum.

I have a PCH A-110 with a power module installed. So shut-down = really off. This is controlled by Harmony One to make it "Wife proof".

When I'm playing music everything works great. When shutting down the PCH the music stops (of course). When restarting playback resumes automatically.

Great feature for some, but in my case I would rather do without. Now I'll have te clear the playlist before shutting down the PCH otherwise ...

Is there any sollution for this "problem"? Perhaps it is possible to clear the playlist automatically when booting the PCH?

Kind regards,
JJNH

P.S. Alanh and Shadowcode: KEEP UP THE GOOD WORK!!!

Comment out the state_file option in mpd.conf
#state_file


RE: Music Player Daemon (MPD) 2009-10-01 Re-Release - pierrot2k - 10-29-2009 08:54 AM

Hi, I just want to disable the htmi sound output (as I disabled the hdmi sound in the NMT Setup).
If I comment the line in the mpd conf
Code:
hdmi        "sii9134"
may I still have the sound via the analog stereo output ?