[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-24-2009, 07:16 AM
Post: #113
RE: Music Player Daemon (MPD) 2009-10-01 Re-Release
Post # 25 has some instructions to test if the daemon is running:
Quote:Now check if it installed succesfully:

Code:

ps aux | grep -i mpd

should return:
root 0:00 /share/Apps/mpd/bin/mpc-ird
root 0:00 /share/Apps/mpd/bin/mpd /share/Apps/mpd/etc/mpd.conf
root 0:00 /share/Apps/mpd/bin/mpd /share/Apps/mpd/etc/mpd.conf
root 0:00 /share/Apps/mpd/bin/mpd /share/Apps/mpd/etc/mpd.conf
root 0:01 /share/Apps/mpd/bin/mpd /share/Apps/mpd/etc/mpd.conf
root 0:00 /share/Apps/mpd/bin/mpd /share/Apps/mpd/etc/mpd.conf
root 0:00 grep -i mpd
To test;
A) Install https://addons.mozilla.org/en-US/firefox/addon/6324 for Firefox (assuming you use Firefox.. any MPD client will do really).
B) Any client will ask you to point it to your MPD server... just enter your PCH's IP Address and the default port (6600)
C) There should be a possibility to 'update' the library.. For example, Minion has an 'Update' button.
D) Play something


Please note mpd is a daemon so has no inbuilt gui. There are 3rd party gui's available like Minion or mPod. (google for mpd clients).
It uses a config file to determine where it should read the music files from, and it requires to build its database first. So after installing the first time you will need to run:
Code:
/usr/bin/mpd --create-db

The following is from the mpd community wikipedia (here) about the initial setup. Very usefull wiki to read sometime.

Quote:Initial Configuration After installation, MPD won't work until you tell it where the media files are. You do that by changing the ~/.mpdconf file (for individual users) or /etc/mpd.conf for system-wide MPD. You may want to start with this:

port "6600"
music_directory "~/music"
playlist_directory "~/.mpd/playlists"
db_file "~/.mpd/mpd.db"
log_file "~/.mpd/mpd.log"
you will need to create the directories if they do not already exist. eg:

mkdir -p ~/.mpd/playlists
For those using linux, if you have a samba server with all your music, say that its share name is ALBUMS, and you mount it locally as /mnt/albums. Then have your db_file option to point at such place, i.e. /mnt/albums. This way, when you don't have the ALBUMS share mounted on your computer you will have your mpddb file with LOCAL files (note that the mount destination should be ~music as well), whereas when you have it mounted you will have your mpddb file with all your music. Note that this will not require creating mpddb files each and every time (just need to run /etc/init.d/mpd restart)

--------------------------------------------------------------------------------
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
Thread Closed 


Messages In This Thread
RE: Music Player Daemon (MPD) 2009-10-01 Re-Release - avanegmond - 11-24-2009 07:16 AM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Rainbow Music Player Daemon (MPD) - v0.16.2 shadowcode 120 35,714 05-10-2013 08:42 AM
Last Post: Djiest
  Music Browser for NMT - Updated August, 2nd, 2011 gkreidl 14 8,026 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 284,859 07-20-2012 09:43 PM
Last Post: krimpenrik
  Any music jukebox that syncs with itunes? superflysocal 0 859 07-04-2012 02:57 PM
Last Post: superflysocal
  Music Player Daemon (MPD) 2010-04-04 v0.15.9 shadowcode 245 84,367 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,212 10-12-2011 01:04 AM
Last Post: spud
  Stream music to the popcornhour snakeboots 1 2,330 08-30-2011 02:56 PM
Last Post: minio
  Music player minion connection problems webkocken 5 3,667 07-04-2011 09:08 AM
Last Post: shadowcode
  Disable amule daemon drunkendonkey 0 1,443 02-04-2011 12:33 AM
Last Post: drunkendonkey

Forum Jump: