You are not logged in.
HI,
From the popularity of mpd, I decided to give it a try.
I have a laptop and a desktop. My stereo is connected to the desktop. I installed mpd on the desktop and a client on the laptop. But instead of playing the music library on the desktop, I got mpd to play the music on the server in the laptop speakers. I wanted the exact opposite: to simply control remotely what plays on the stereo. Is/how is it possible with mpd?
Last edited by lmello (2013-07-19 12:46:38)
Fundamental Axiom of the Universe (aka Murphy's Law): Whatever can go wrong, will go wrong.
First Digital Deduction: Nothing obeys Murphy's Law so well as computers.
Second Digital Deduction: Everything go wrong at least once.
Third Digital Deduction: Things go wrong even when there's absolutely no possibility of anything go wrong.
Offline
Please choose a thread title that describes the issue: the current one is a candidate for TGN:
https://wiki.archlinux.org/index.php/Fo … ow_to_Post
Offline
Run mpd on your media center box. Now control it with an android or iPhone app. You get it now I trust?
Offline
Specific steps depend on the client you're using, but basically you run mpd on the server, and configure your client to connect to the server (specifying an IP or hostname). If you understand this, then I don't understand your question.
It would be nice to know what your client is. Or yet better, look at your client's documentation on how to connect to a remote server.
Last edited by veox (2013-07-20 07:10:26)
Offline
mpd is just a server. You need a client to play the music in the server's db. The server can play music on clients located on the localhost or on a remote host, but the music will always play on the clients machine. I think what you want to do is install a client on the server's machine (something like mpc or ncmpcpp) and use ssh to control the client remotely. Or use MPDroid or iPhone equivalent to turn your phone into an mpd remote.
Offline
but the music will always play on the clients machine.
Thanks, so that's it...
Fundamental Axiom of the Universe (aka Murphy's Law): Whatever can go wrong, will go wrong.
First Digital Deduction: Nothing obeys Murphy's Law so well as computers.
Second Digital Deduction: Everything go wrong at least once.
Third Digital Deduction: Things go wrong even when there's absolutely no possibility of anything go wrong.
Offline
cris9288 wrote:but the music will always play on the clients machine.
Thanks, so that's it...
wtf. thats plain wrong. music is always played on the server machine...
to the original poster: your question is somewhat hard to follow. but let me guess what you want to do: you have a machine with mpd installed. and you have a 2nd machine (the client) that controls mpd.
Now you want the machine with the client to output sound, right?
If so: use pulseaudio:
https://wiki.archlinux.org/index.php/Pu … er_network
Last edited by Rasi (2013-07-19 18:06:15)
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
mpd is just a server. You need a client to play the music in the server's db. The server can play music on clients located on the localhost or on a remote host, but the music will always play on the clients machine. I think what you want to do is install a client on the server's machine (something like mpc or ncmpcpp) and use ssh to control the client remotely. Or use MPDroid or iPhone equivalent to turn your phone into an mpd remote.
That my friend is _so_ wrong, I re-logged in after 2 years to comment on this.
THE DEFAULT AND ORIGINAL DESIGN OF MPD IS: A server that plays music! and can be controlled remotely. It was _NOT_ designed to stream music to clients.
ref: http://mpd.wikia.com/wiki/What_MPD_Is_and_Is_Not
Last edited by qball (2013-07-19 18:08:14)
Offline
ok, well my apologies - that was definitely wrong. I guess it would be more accurate to say that mpd plays music, but you still you need a client to interface with mpd and have it play music through the outputs configured in mpd.conf.
The op should check out his mpd.conf and make sure he has the right outputs configured (one for the desktop, another for the laptop, etc.). Then he can run his client and use it to turn the right outputs on/off.
Offline