Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

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)
Poll: Was the installation succesful?
This poll is closed.
Yup, everything is working fine. 57.45% 27 57.45%
No, but I fixed it. 4.26% 2 4.26%
No, it's broken :-( 14.89% 7 14.89%
I don't know how to install MPD. 23.40% 11 23.40%
Total 47 votes 100%
* You voted for this item. [Show Results]

Post Reply 
Music Player Daemon (MPD) 2010-04-04 v0.15.9
01-01-2011, 06:47 PM
Post: #211
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
(12-19-2010 11:24 PM)BSartist Wrote:  Hello,

I am trying to install this for the first time on my A-110. I am following the instructions on the first post. I am running CSI 2.7.0 on Windows XP.

The installation fails with the following:

cannot open /share/Apps//appinfo.json: no such file


I have been googling around and searching the forums but can't find a solution. It looks to me like the appname is missing or something.

This is the foll log:

Found hardware type: Syabas A/B type
Found hardware type: Syabas A/B type


Application Initializer version 1.12
---------------------------------------
Checking for new version: up to date
Checking Application Initializer profile: Valid
Installing application from file /share/mpd.tar: /opt/sybhttpd/localhost.drives/HARD_DISK/Apps/AppInit/appinit.cgi: line 1: cannot open /share/Apps//appinfo.json: no such file
Failed


Any info is appreciated!

Bill

I got the same error (when trying with the manual package install v15.9) and it seems it was caused by an extra "," in the appinfo.json file. To fix it it should be enough to change make the following change in the appinfo.json file inside the zip/tar file:
Code:
{
    appinfo_format="1",
    name="mpd",
    version="20100405-0.15.9",
    enabled="1",
    daemon_script="daemon.sh",  <-- this comma should be removed
}
to
Code:
{
    appinfo_format="1",
    name="mpd",
    version="20100405-0.15.9",
    enabled="1",
    daemon_script="daemon.sh"
}

The same goes for the mpdAudioPlugin.

Cheers
/iix
Find all posts by this user
Add Thank You Quote this message in a reply
01-14-2011, 11:23 AM (This post was last modified: 01-14-2011 12:00 PM by opfeifer.)
Post: #212
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
Yo, MPD 0.16 (stable) is out! Exclamation

Anybody willing to compile it for NMT? Can't wait ...


... because it supports lastfm with proper 'now playing' info (which is important if you use scobbler).

Best, Olaf
EDIT: ups, I'm sorry, I should have noticed that you guys are already on that case! (a few posts up)
Find all posts by this user
Add Thank You Quote this message in a reply
01-23-2011, 09:51 AM
Post: #213
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
I've installed the 0.16 and the plugin (mpd-smp86xx_plugin-0.16-dev-Apr042010) on my A110 and I get the following exception (http://pch:9999/mpd/log.txt):

Quote:Jan 23 09:28 : GLib: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Unsupported channel count 0

Anyone any idea?

Regards,
BW

PCH A-110 2TB HDD 3.5"
Find all posts by this user
Add Thank You Quote this message in a reply
01-23-2011, 01:46 PM
Post: #214
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
Hello,

Thanks for this super application. I only got one problem. My popcorn A-100 is connected to the amplifier via audio output. This works fine! I can control my music with my laptop and the minion plugin for firefox. But when I go upstairs I want to hear my music with the streaming client also available in MPD. I don't get this to work.

my mpd.conf:

music_directory "/share/Music"
playlist_directory "/share/Apps/mpd/playlists/"
db_file "/share/Apps/mpd/database2"
log_file "/share/Apps/mpd/var/log/mpd"
state_file "/share/Apps/mpd/var/run/state"
bind_to_address "any"
port "6600"
log_level "default"

input {
plugin "curl"
}

audio_output {
type "smp86xx"
load "plugins/smp86xx_plugin.so"
name "My Sigma Chip"
engine "0" # optional
decoder "1" # optional
ramdac "1" # optional
line_count "2048" # optional
fifo_us "500000" # optional
hdmi "sii9134"
mixer_type "software"
# mixer_type "hardware"
}

# Simply for testing:
audio_output {
type "httpd"
name "My HTTP Stream"
encoder "vorbis" # optional, vorbis or lame
port "9999"
# quality "5.0" # do not define if bitrate is defined
bitrate "128" # do not define if quality is defined
format "44100:16:1"
}




I expect to hear music with VLC with adresss http://IPMYPOPCORN:9999
But I get a error message

The mpd\log tells me: Failed to open "My HTTP Stream" [httpd]: Address already in use

If a try to change port 9999 in another number, Minion fails to connect

Can please anyone explain me how to get the stream to work?

All comments are welcome!

Greetings

Richard
Find all posts by this user
Add Thank You Quote this message in a reply
01-27-2011, 08:25 PM
Post: #215
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
Yes, you should use a different port. But the A100's CPU probably isn't powerful enough to encode the output stream in realtime. My guess is that it's just too busy trying, with no time left to respond to Minion's requests.
(I've had streaming working from the C200 once, which has a more powerful CPU, but not from the A100. Don't remember exactly how it failed, though.)
Find all posts by this user
Add Thank You Quote this message in a reply
01-29-2011, 05:51 PM
Post: #216
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
New MPD user here. I have a PCH-A110 with the latest firmware (01-17-101217-15-POP-403). I've got MPD installed and can successfully connect to it via clients (Firefox minion for example). The database looks ok, as I can see the songs that are on the hard disk. However, I cannot play anything. When I try to play a song, nothing happens.

Any advice would be greatly appreciated. Thanks
Find all posts by this user
Add Thank You Quote this message in a reply
01-29-2011, 10:54 PM
Post: #217
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
(01-29-2011 05:51 PM)Foamy Wrote:  New MPD user here. I have a PCH-A110 with the latest firmware (01-17-101217-15-POP-403). I've got MPD installed and can successfully connect to it via clients (Firefox minion for example). The database looks ok, as I can see the songs that are on the hard disk. However, I cannot play anything. When I try to play a song, nothing happens.

Any advice would be greatly appreciated. Thanks

Have you installed both mpd & mpdAudioPlugin and started those?
Find all posts by this user
Add Thank You Quote this message in a reply
01-30-2011, 03:09 AM
Post: #218
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
(01-29-2011 10:54 PM)Angelkiller Wrote:  Have you installed both mpd & mpdAudioPlugin and started those?

Yes, I installed both mpd and mpdAudioPlugin with CSI as described in the installation instructions. I see mpd running via ps. Should I also see mpdAudioPlugin?

/opt/sybhttpd/localhost.drives/HARD_DISK # ps aux | grep mpd
1447 root 0:00 /share/Apps/mpd/bin/mpc-ird
1473 root 0:00 /share/Apps/mpd/bin/mpd /share/Apps/mpd/etc/mpd.conf
1474 root 0:00 /share/Apps/mpd/bin/mpd /share/Apps/mpd/etc/mpd.conf
1475 root 0:00 /share/Apps/mpd/bin/mpd /share/Apps/mpd/etc/mpd.conf
1476 root 0:00 /share/Apps/mpd/bin/mpd /share/Apps/mpd/etc/mpd.conf
Find all posts by this user
Add Thank You Quote this message in a reply
01-30-2011, 09:07 AM
Post: #219
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
It was a bit tricky for me to at first sometimes i have to turn off and on my HDX-1000 to get it work.
Power button on the remote control and start the PHC again it might work... sometimes i have to restart the Gnome Music Player Client too...
Find all posts by this user
Add Thank You Quote this message in a reply
01-30-2011, 04:32 PM
Post: #220
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
(01-29-2011 05:51 PM)Foamy Wrote:  New MPD user here. I have a PCH-A110 with the latest firmware (01-17-101217-15-POP-403). I've got MPD installed and can successfully connect to it via clients (Firefox minion for example). The database looks ok, as I can see the songs that are on the hard disk. However, I cannot play anything. When I try to play a song, nothing happens.

Any advice would be greatly appreciated. Thanks

Is anyone successfully using MPD on a PCH-A110 with the latest firmware release? I'm wondering if that may have something to do with the problem.

I sometimes see the following message in the mpd log, but it doesn't really seem to correspond to my attempts to play a song:

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5cf670]moov atom not found
Find all posts by this user
Add Thank You Quote this message in a reply
01-30-2011, 05:37 PM (This post was last modified: 01-30-2011 05:43 PM by Foamy.)
Post: #221
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
(01-30-2011 04:32 PM)Foamy Wrote:  Is anyone successfully using MPD on a PCH-A110 with the latest firmware release? I'm wondering if that may have something to do with the problem.

I sometimes see the following message in the mpd log, but it doesn't really seem to correspond to my attempts to play a song.

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5cf670]moov atom not found

Sorry everyone but the problem was operator error. I had a basic misunderstanding of how the MPD clients work; I thought I could directly select and play a file, rather than adding it to a playlist and playing from there. Duh. It's working now!
Find all posts by this user
Add Thank You Quote this message in a reply
02-08-2011, 10:18 PM
Post: #222
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
(01-27-2011 08:25 PM)geerten Wrote:  Yes, you should use a different port. But the A100's CPU probably isn't powerful enough to encode the output stream in realtime. My guess is that it's just too busy trying, with no time left to respond to Minion's requests.
(I've had streaming working from the C200 once, which has a more powerful CPU, but not from the A100. Don't remember exactly how it failed, though.)

Thanks Geerten for your answer!

I have the stream now on port 8000. I don't get error's anymore.
But....... you are probably right. When I try to fetch the stream with f.i. mplayer it takes about two minutes to fill the buffer. I only do not understand why the A100 can play video's but cannot stream mp3's?!

Greetings,

Richard
Find all posts by this user
Add Thank You Quote this message in a reply
03-20-2011, 05:08 PM
Post: #223
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
I searched the forum again on finding some feedback on the issue of HDD keeps spinning when MPD daemon is active. It seems that nobody solved this issue yet.
Is it understood why MPD causes the HDD not to go to sleep when no music is played ?
Furthermore I'm wondering if MPD priority can be raised, when downloading AND playing music, downloading seems to get higher priority. eg music starts to stutter.

I appriciate any feedback. MPD is just THE way to play music with PCH. seemless playback, controle via client ( android phone in my case) just great.

Geert
Find all posts by this user
Add Thank You Quote this message in a reply
03-23-2011, 11:21 AM
Post: #224
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
I am just trying to get ALAC files to play on my NMT (they are in M4a containers) because the Popcorn Hour will not play them. The M4a files are stored on a networked hard drive.

I read that this format is supported by MPD so I haveinstalled the two packages as described in the very first step.

Nothing shows up on my PCH Apps menu, but they show as installed on the NMT CSI, what do I do next?

Thanks
Find all posts by this user
Add Thank You Quote this message in a reply
03-23-2011, 02:32 PM
Post: #225
RE: Music Player Daemon (MPD) 2010-04-04 v0.15.9
Okay, I got it working for some files stored locally on the PCH hard Drive, but I store all my music on a network share. What do I change to make MPD look at a different location for the music?
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Music player minion connection problems webkocken 6 4,894 09-24-2013 12:18 AM
Last Post: glorifyday
Rainbow Music Player Daemon (MPD) - v0.16.2 shadowcode 124 53,592 09-23-2013 01:11 AM
Last Post: glorifyday
  Music Browser for NMT - Updated August, 2nd, 2011 gkreidl 14 11,023 01-19-2013 04:07 PM
Last Post: winfried_laane
  Is it possible to code a HULU player for the A-110? mulderfox 0 1,130 01-05-2013 11:11 AM
Last Post: mulderfox
  Any music jukebox that syncs with itunes? superflysocal 0 1,400 07-04-2012 02:57 PM
Last Post: superflysocal
  Stream music to the popcornhour snakeboots 1 3,143 08-30-2011 02:56 PM
Last Post: minio
  Disable amule daemon drunkendonkey 0 1,835 02-04-2011 12:33 AM
Last Post: drunkendonkey
  music player daemon MPD & PCH Remote control beatnut88 19 11,994 12-22-2010 12:31 AM
Last Post: dooly
  Music Player Daemon (MPD) 2009-10-01 Re-Release alanh 290 139,091 04-24-2010 07:20 AM
Last Post: avanegmond
  monoLite - Alternative NMT Player for TS files wizziwig 72 27,980 04-15-2010 11:08 AM
Last Post: gtdaqua

Forum Jump: