Hello All!
I have a question regarding mpd and ncmppcpp[cppcpppppcppppppp] that I hope someone might be able to help with. I'm new to setting up both.
Here's the situation: in trying to repurpose rather than junk a number of old gadgets I have lying around, I'm working creating a simple household digital music server. The idea is to use an old netbook with an external drive as the server, and then stream music from there to every other device in the house, including a few old phones that'll become players/remotes.
So, I did a headless Debian install on the old netbook, which is connected to an external HD containing many gigs of music. I'm using mpd as the server, controlled locally via ncmpcpp. That part works great.
On the android phones/tablets, I'm using MPDroid, which works beautifully: each of those devices both works as a remote for the main system *and* can pipe the audio directly to the device. So, for example, an old phone hooked up to a radio/portable speaker in the kitchen can stream music from the server to the kitchen radio.
What I'm having trouble with, a little ironically, is doing the same things (both controlling the server AND streaming the audio *to* the remote computer) to my other linux boxes (a laptop and a desktop) that run Linux using ncmpcpp!
I've been able to get it to work in a way that seems awfully kludgy to me:
The "server" is configured to stream on port 8000; the main port specified in mpd.conf is 6601`
1. Run mpc on the client to connect it to the httpd stream coming from the server:
Code:
mpc add http://10.0.0.205:8000
2. Then run one instance of ncmpcpp that just pipes in the audio from that stream.
3. Then run *another* instance of ncmpcpp on the client, pointing it to port 6601, which allows one to control and select music on the server from the client:
Code:
ncmpcpp --host 10.0.0.205 --port 6601
This *does* work, but it seems like a really awkward solution to me, and I fear I'm missing something stupidly obvious. Would anyone have any suggestions?
Thanks!
Mark in St. Paul MN