Page 1 of 1

Streaming audio to airplay/DLNA sound system

Posted: Fri Jun 26, 2015 8:09 pm
by cricrithezar
Hello!

I'm trying to setup my audio system back home so I can play music from any phone/computer/tablet connected to the wifi and/or from a hard drive connected to the raspberry pi (which would probably be an old rpi model b). Google music would also be nice but otherwise if I can stream from my phone that should be enough.
I also want to run other programs in the background (samba fileserver, deluge, pyload for my downloads...) so I would prefer something that uses raspbian. I'm thinking of using two of these (or only one if I can't stream to two of them. playing it on both simultaneously would be nice, but otherwise I can also just get one if switching from one to another is a hassle):
http://www.amazon.com/dp/B00L26YDA4/ref ... X9PGDE1YNE
Where should I start?

Re: Streaming audio to airplay/DLNA sound system

Posted: Fri Jun 26, 2015 9:57 pm
by default_user8
You can start here:
http://www.linuxjournal.com/content/ras ... ome-server
Or you could run VLC on your raspi, and use any of the vlc remote control apps on your phones to control playback on the raspi. You can also setup vlc to allow remote control connections via web page so that you can control playback from any computer on the network. Hope this helps.

Re: Streaming audio to airplay/DLNA sound system

Posted: Fri Jun 26, 2015 11:59 pm
by cricrithezar
Thanks ! I'll look into it when I get home.

Re: Streaming audio to airplay/DLNA sound system

Posted: Sat Jun 27, 2015 11:20 am
by tpylkko
Pimusicbox runs on Raspbian. It has samba out-of-the-box so you can share music over your home network. It also can receive streams from any DLNA-UPnP device, so in Android 4 stock music application you just press a button and switch to Pimusicbox and the music is played to there. I assume tihs works with other smarphones and tablets, but I am not a mobile-deivce kind of person so I have little experience.. Actually, you could easily make a stereo airplay receiver with a pi and some old speakers also...

But you would have learned all this had you used the search engine...

Re: Streaming audio to airplay/DLNA sound system

Posted: Sun Jul 05, 2015 4:55 pm
by cricrithezar
Sorry for taking so long to reply. I'm actually trying to stream the audio TO the airplay/dlna reciever from the raspberry pi. A nice webinterface would be nice, but I also wouldn't mind if I could stream to the raspberry-pi which would then forward it to the two recievers.

Re: Streaming audio to airplay/DLNA sound system

Posted: Sun Jul 05, 2015 6:18 pm
by tpylkko
The way I have done this is with pulseaudio and a script called pulseaudio-dlna. you can then select a program in pulseaudio to direct to the dlna-speaker (in other words, it doesn't matter what software you use to play the music on the pi)

Re: Streaming audio to airplay/DLNA sound system

Posted: Sun Jul 05, 2015 6:20 pm
by cricrithezar
I'd been looking into pulseaudio. Can't try it out because I'm not home but I'm excited to see if it works.

Re: Streaming audio to airplay/DLNA sound system

Posted: Sun Jul 05, 2015 7:32 pm
by Douglas6
MiniDLNA is a DLNA server that runs on the Pi. For Android devices, I recommend BubbleUPnP, which will let you stream from the device directly to a renderer (receiver) without need for the Pi. You can also use it as a controller to stream from your Pi to the receiver.

Re: Streaming audio to airplay/DLNA sound system

Posted: Mon Jul 06, 2015 4:28 am
by tpylkko
The solution offered by Douglas is a good one that I second. I have used BubleUPnP and it was actaully quite good. You could choose the source and rendered separately, so you could then essentially play music from any DLNA device (pi or phone) to any renderer, such as you speakers or the phone itself. I'm my own setup I have not used miniDLNA for other reasons.

Re: Streaming audio to airplay/DLNA sound system

Posted: Mon Jul 06, 2015 7:24 am
by guussie
You can try this one:

https://github.com/PeteManchester/MediaPlayer/wiki

Here you can find detailed instructions on how to put it together:

https://github.com/guussie/PiDS

Some info on a Pi based NAS:

https://github.com/guussie/PiNAS/wiki

Re: Streaming audio to airplay/DLNA sound system

Posted: Sun Jul 12, 2015 3:40 pm
by cricrithezar
Thanks, I'll try it out when i get home in august!

EDIT: More than one solution I see. I'd really like to be able to stream to more than one reciever at a time. Can an app do that? I think airplay can so I guess that would be one solution (since the reciever does also support airplay).

Re: Streaming audio to airplay/DLNA sound system

Posted: Mon Dec 14, 2015 6:36 pm
by jazzcat007
Have you tried Volumio? I believe it does everything you're looking for. I use it with Jriver to stream to multiple setups at once.