Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


chevrolux

4962 posts

Uber Geek
Inactive user


#112685 17-Dec-2012 14:43
Send private message

Hi all,
I am just having a bit of a play with MPD trying to set up an internet radio type thing.

I have debian "squeeze" running on a test box with a local hard drive with a bit of music on it (for simplicity). MPD is running and plays music out the stereo jack.

Next step was set up an http stream. So I set that up an it seemed to be all going well. Using mpdroid on my phone I can connect to the stream, play, pause, next etc. But there is no audio - yet i know the server is playing it because it is coming out of the stereo jack.

From what I have read I think it is the network configuration on the box that is causing issues. It is just getting an address by DHCP so in /etc/hosts I simply have:


127.0.0.1         radiohost.localdomain     radiohost


In /etc/mpd.conf there is the 'bind_to_address" variable. I have that as the following:


bind_to_address    "192.168.1.25"


The address is statically mapped on the router so I know it will always be the same. When i set bind_to_address as 127.0.0.1 mpdroid can't connect to it.

Oh and the http stream config in mpd.conf is like this:


audio_output {
type "httpd"
name "My HTTP Stream"
# encoder "vorbis" # optional, vorbis or lame
port "8081"
quality "5.0"
# bitrate "128"
format "44100:16:1"
}


I just don't understand Linux enough to figure out what is going on. The log in mpd doesn't tell much in terms of what is going on. You can see all the commands that come from mpdroid so it is obviously communicating fine. Just the audio isn't getting through.

I would like to eventually migrate this to my freenas box and then use a Raspberry Pi as a client so I can pump audio straight in to the home audio system. At the moment I have to do it via xbmc which is just a bit annoying.

Any help much appreciated.

Filter this topic showing only the reply marked as answer Create new topic
muppet
2389 posts

Uber Geek

Trusted

  #733628 17-Dec-2012 14:47
Send private message

How are you testing this?

What client are you connecting to port 8081? VLC or something?

Also - have you checked the volume is set properly?  If you have mpc installed, issue a "mpc volume 100"

Tim

Edit: If it's easier, join #geekzone and I'll try and help in "realtime"

Edit2: Just realised that MPDroid itself is the streaming client - sorry.  I use a different MPD client on my phone and it doesn't do this :)

Anyway, looks like you might be hitting this bug - the fix is to use mp3 not ogg.

 
 
 

Trade NZ and US shares and funds with Sharesies (affiliate link).
chevrolux

4962 posts

Uber Geek
Inactive user


  #733648 17-Dec-2012 15:05
Send private message

I just put a streamer on to Chrome (Radio Player Live). Put in the URL and out comes some sound!

I thought it was the server because I had also tried Winamp and no audio came out. What client do you use on your phone?

muppet
2389 posts

Uber Geek

Trusted

  #733653 17-Dec-2012 15:14
Send private message

chevrolux: I just put a streamer on to Chrome (Radio Player Live). Put in the URL and out comes some sound!

I thought it was the server because I had also tried Winamp and no audio came out. What client do you use on your phone?


I don't use MPD like you do :)

I use "Droid MPD Client" but I only use it to control the stereo.  i.e. my server is plugged into the home stereo and it plays the music.  I don't stream from my MPD directly to my phone.

Anyway as I posted in my edit - it appears to be a bug with ogg streaming on the phone.

Filter this topic showing only the reply marked as answer Create new topic





News and reviews »

New Air Traffic Management Platform and Resilient Buildings a Milestone for Airways
Posted 6-Dec-2023 05:00


Logitech G Launches New Flagship Console Wireless Gaming Headset Astro A50 X
Posted 5-Dec-2023 21:00


NordVPN Helps Users Protect Themselves From Vulnerable Apps
Posted 5-Dec-2023 14:27


First-of-its-Kind Flight Trials Integrate Uncrewed Aircraft Into Controlled Airspace
Posted 5-Dec-2023 13:59


Prodigi Technology Services Announces Strategic Acquisition of Conex
Posted 4-Dec-2023 09:33


Samsung Announces Galaxy AI
Posted 28-Nov-2023 14:48


Epson Launches EH-LS650 Ultra Short Throw Smart Streaming Laser Projector
Posted 28-Nov-2023 14:38


Fitbit Charge 6 Review 
Posted 27-Nov-2023 16:21


Cisco Launches New Research Highlighting Gap in Preparedness for AI
Posted 23-Nov-2023 15:50


Seagate Takes Block Storage System to New Heights Reaching 2.5 PB
Posted 23-Nov-2023 15:45


Seagate Nytro 4350 NVMe SSD Delivers Consistent Application Performance and High QoS to Data Centers
Posted 23-Nov-2023 15:38


Amazon Fire TV Stick 4k Max (2nd Generation) Review
Posted 14-Nov-2023 16:17


Over half of New Zealand adults surveyed concerned about AI shopping scams
Posted 3-Nov-2023 10:42


Super Mario Bros. Wonder Launches on Nintendo Switch
Posted 24-Oct-2023 10:56


Google Releases Nest WiFi Pro in New Zealand
Posted 24-Oct-2023 10:18









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.