cricrithezar
Posts: 41
Joined: Sun Jun 02, 2013 8:38 am

Streaming audio to airplay/DLNA sound system

Fri Jun 26, 2015 8:09 pm

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?

User avatar
default_user8
Posts: 680
Joined: Mon Nov 18, 2013 3:11 am

Re: Streaming audio to airplay/DLNA sound system

Fri Jun 26, 2015 9:57 pm

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.
Two heads are better than one, unless one's a goat head.

cricrithezar
Posts: 41
Joined: Sun Jun 02, 2013 8:38 am

Re: Streaming audio to airplay/DLNA sound system

Fri Jun 26, 2015 11:59 pm

Thanks ! I'll look into it when I get home.

tpylkko
Posts: 409
Joined: Tue Oct 14, 2014 5:21 pm

Re: Streaming audio to airplay/DLNA sound system

Sat Jun 27, 2015 11:20 am

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...
Last edited by tpylkko on Sun Jul 05, 2015 6:14 pm, edited 1 time in total.

cricrithezar
Posts: 41
Joined: Sun Jun 02, 2013 8:38 am

Re: Streaming audio to airplay/DLNA sound system

Sun Jul 05, 2015 4:55 pm

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.

tpylkko
Posts: 409
Joined: Tue Oct 14, 2014 5:21 pm

Re: Streaming audio to airplay/DLNA sound system

Sun Jul 05, 2015 6:18 pm

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)

cricrithezar
Posts: 41
Joined: Sun Jun 02, 2013 8:38 am

Re: Streaming audio to airplay/DLNA sound system

Sun Jul 05, 2015 6:20 pm

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.

User avatar
Douglas6
Posts: 4860
Joined: Sat Mar 16, 2013 5:34 am
Location: Chicago, IL

Re: Streaming audio to airplay/DLNA sound system

Sun Jul 05, 2015 7:32 pm

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.

tpylkko
Posts: 409
Joined: Tue Oct 14, 2014 5:21 pm

Re: Streaming audio to airplay/DLNA sound system

Mon Jul 06, 2015 4:28 am

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.

guussie
Posts: 12
Joined: Tue Oct 02, 2012 7:10 pm

Re: Streaming audio to airplay/DLNA sound system

Mon Jul 06, 2015 7:24 am

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

cricrithezar
Posts: 41
Joined: Sun Jun 02, 2013 8:38 am

Re: Streaming audio to airplay/DLNA sound system

Sun Jul 12, 2015 3:40 pm

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).

jazzcat007
Posts: 1
Joined: Mon Dec 14, 2015 6:35 pm

Re: Streaming audio to airplay/DLNA sound system

Mon Dec 14, 2015 6:36 pm

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.

Return to “Graphics, sound and multimedia”