LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 04-14-2013, 02:14 PM   #1
thund3rstruck
Member
 
Registered: Nov 2005
Location: East Coast, USA
Distribution: Fedora 18, Slackware64 13.37, Windows 7/8
Posts: 346

Rep: Reputation: 38
MPD - Does this Actually Work or What?


I heard about mpd and it sounds awesome but it just doesn't seem to work. The goal is to play back music stored on our headless server (ubuntu 12.04 LTS) on our mobile devices and tablets.

The mpd server is up and running and the database is built out. When clients connect and pick a song to play it looks like its playing but there is no sound.

After some standard troubleshooting I realized that since the server has no desktop it didn't have pulseaudio so I installed that.

I followed this guide and still no luck
http://mpd.wikia.com/wiki/PulseAudio

There is no sound on any of the network clients. I don't know if it works locally because its a headless server and doesn't have a desktop environment (or speakers for that matter).
 
Old 04-14-2013, 02:52 PM   #2
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,576

Rep: Reputation: 806Reputation: 806Reputation: 806Reputation: 806Reputation: 806Reputation: 806Reputation: 806
MPD doesn't, by default, stream music to clients -- the clients are used to control music which plays on the server machine. If you look in the config file though you will see that there are sections for output and I believe you can set it to output as http so clients can connect.
 
Old 04-14-2013, 03:06 PM   #3
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,576

Rep: Reputation: 806Reputation: 806Reputation: 806Reputation: 806Reputation: 806Reputation: 806Reputation: 806
I just looked in mpd.conf and found this link:
http://mpd.wikia.com/wiki/Configuration#Audio_Outputs
 
1 members found this post helpful.
Old 04-14-2013, 07:07 PM   #4
thund3rstruck
Member
 
Registered: Nov 2005
Location: East Coast, USA
Distribution: Fedora 18, Slackware64 13.37, Windows 7/8
Posts: 346

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by 273 View Post
MPD doesn't, by default, stream music to clients -- the clients are used to control music which plays on the server machine.
Wow, well I feel like a fool. I enabled verbose pulse logging and scouring the pulse, syslog, and mpd logs everything looked like it was functioning correctly. Then I read your reply and plugged an old pair of speakers into the server and yup... it's playing on the server. I completely mis-understood what this product was for!
 
Old 04-14-2013, 08:12 PM   #5
thund3rstruck
Member
 
Registered: Nov 2005
Location: East Coast, USA
Distribution: Fedora 18, Slackware64 13.37, Windows 7/8
Posts: 346

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by 273 View Post
I just looked in mpd.conf and found this link:
http://mpd.wikia.com/wiki/Configuration#Audio_Outputs
If I could vote you up again I would because this is almost exactly what I was trying to do. Thank you.
 
Old 04-15-2013, 04:42 AM   #6
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,576

Rep: Reputation: 806Reputation: 806Reputation: 806Reputation: 806Reputation: 806Reputation: 806Reputation: 806
Glad I could help. I didn't know exactly what mpd did until fairly recently -- the whole client/server aspect does make it seem like a streaming server until you read up a bit more.
 
  


Reply

Tags
headless, mpd, pulseaudio, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to autostart mpd? george-lappies Slackware 8 06-08-2011 02:47 PM
Ampache or MPD hosler Debian 1 09-30-2009 12:07 AM
about mpd Chocolate Linux - Networking 0 12-11-2006 03:31 AM
mpd questions. doralsoral Linux - Software 1 06-16-2005 04:57 PM
mpd dependencies doralsoral Linux - Software 3 06-16-2005 05:28 AM


All times are GMT -5. The time now is 11:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration