[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-17-2009, 05:54 PM (This post was last modified: 11-17-2009 05:58 PM by avanegmond.)
Post: #104
RE: Music Player Daemon (MPD) 2009-10-01 Re-Release
(11-17-2009 04:24 PM)primetimeguy Wrote:  Thank you very much.

(/share is a link to /opt/sybhttpd/localhost.drives/HARD_DISK)

was piece that helped me make sense of it all. I should be able to make it work now. Thanks.
When I get to the

sh install.sh

step, I get 'Generic daemon launcher already found, skipping....'

Any ideas?
Well, did a reboot and then tried again, same issue. But tried the start and things appear to work. I added one song to the folder, launched minion and it sees the song. I'll have to wait until I get home to see if it actually works. Thanks for all the help.

I hope it works for you, but if not ... just give a call Wink

For me this is the most used application of the PCH. I use the PCH 95% of the time for playing audio using mpd and the other 5% is for viewing some video now and then.

So for me this is a great application. To control playback I use Mpod and iPodMp (for its folder navigation, which is sometimes easier than tags) from an iPod Touch.

Database maintenance I do with the mpc command line from my PC.
I have written a small DOS script for transforming a DOS-path into a Linux path and feeding this Linux-path automatically to the mpc-client to have it updated in the mpd-database. I run this DOS-script from a right-button click on the folder where the updated music is stored. Quite convenient.

Code:
@echo off
TITLE MPC - update database
d:
cd "D:\mpc"
CLS
@ECHO ON
mpc --host=192.168.1.35 version
mpc --host=192.168.1.35 stats
@ECHO OFF
REM -- Prepare the Command Processor --
SETLOCAL ENABLEEXTENSIONS
SETLOCAL DISABLEDELAYEDEXPANSION
set windir=%1%
set windir=%windir:W:\=%
set linuxdir=%windir:\=/%
@ECHO ON
mpc --host=192.168.1.35 update %linuxdir%
@sleep for 15
mpc --host=192.168.1.35 ls %linuxdir%
mpc --host=192.168.1.35 stats

Explanation:
"D:\mpc" is where my commandline mpc is stored
first it displays the version of my mpd-daemon
second it displays the statistics of my mpd-database
third it removes W:\ from the windows-path. W:\ is the drive-path to my NAS where my CD's are stored. It points to the same level / location as the mpd music_directory setting in mpd.conf
fourth it changes the backslash \ to the forward slash /
fifth it feeds the now linux-path to the mpc-client to have it updated by mpd
192.168.1.35 is the ip-address of my PCH where the mpd runs.

I then let it sleep for 15 seconds (for 1 or 2 albums this is sufficient)
and for reviewing the result have it show the listing of the linuxdir from within the mpd-database and view my new statistics.

All this is run from a right button menu-option from within Windows Explorer.

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


Messages In This Thread
RE: Music Player Daemon (MPD) 2009-10-01 Re-Release - avanegmond - 11-17-2009 05:54 PM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Rainbow Music Player Daemon (MPD) - v0.16.2 shadowcode 120 36,018 05-10-2013 08:42 AM
Last Post: Djiest
  Music Browser for NMT - Updated August, 2nd, 2011 gkreidl 14 8,066 01-19-2013 04:07 PM
Last Post: winfried_laane
  Is it possible to code a HULU player for the A-110? mulderfox 0 375 01-05-2013 11:11 AM
Last Post: mulderfox
Music MPD installation howto (updated 4 May 2009) gwillem 494 286,176 07-20-2012 09:43 PM
Last Post: krimpenrik
  Any music jukebox that syncs with itunes? superflysocal 0 869 07-04-2012 02:57 PM
Last Post: superflysocal
  Music Player Daemon (MPD) 2010-04-04 v0.15.9 shadowcode 245 85,058 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,278 10-12-2011 01:04 AM
Last Post: spud
  Stream music to the popcornhour snakeboots 1 2,345 08-30-2011 02:56 PM
Last Post: minio
  Music player minion connection problems webkocken 5 3,679 07-04-2011 09:08 AM
Last Post: shadowcode
  Disable amule daemon drunkendonkey 0 1,450 02-04-2011 12:33 AM
Last Post: drunkendonkey

Forum Jump: