dunners3
Posts: 3
Joined: Thu Dec 29, 2011 12:43 pm

Re: iOS Airplay

Sat Jan 14, 2012 8:08 pm

Hey All,

First off Im really exciting about Raspberry Pi, and been reasearching things that i could possibily do with it. Recently i came across a program called "Shairport4w".

This awesome little program enables your Windows PC to become a Airplay hotspot for streaming from iPod/iPad/iPhone. Its simply great.

Idea! - If one day, the developer makes a Linux port of his program, You'd have a Raspberry Pi Airplay device sitting around your home connect to a pair of speakers. Beautiful!

Any Suggestions/Idea's/ Problems?

Thanks,

roelfrenkema
Posts: 105
Joined: Sat Jan 07, 2012 5:17 pm

Re: iOS Airplay

Sat Jan 14, 2012 8:23 pm

I think the reason there is no port is because this is native to Linux?

Prometheus
Posts: 308
Joined: Tue Dec 13, 2011 11:09 pm

Re: iOS Airplay

Sat Jan 14, 2012 9:06 pm

I can see one small issue: The developer wouldn't just have to make a Linux port - that's not quite enough, as "Linux port" usually assumes x86 Linux. They'd have to make a version that can be compiled for ARM processors.

dunners3
Posts: 3
Joined: Thu Dec 29, 2011 12:43 pm

Re: iOS Airplay

Sat Jan 14, 2012 9:31 pm

Taken all your points into consideration.  Compile it for ARM and then would you have this program?. The technology and software is there. Would it work?


dunners3
Posts: 3
Joined: Thu Dec 29, 2011 12:43 pm

Re: iOS Airplay

Sat Jan 14, 2012 9:39 pm

You Sir, are a good man.

User avatar
psergiu
Posts: 223
Joined: Mon Nov 07, 2011 8:36 am
Location: TX, U.S.A. (was: RO, E.U.)
Contact: Website

Re: iOS Airplay

Sat Jan 14, 2012 9:50 pm

https://github.com/albertz/shairport

It's written in perl. So it will run OK on a RPi with any Linux distro.

One more use for a RPi.

AiRPIlay

DaanKortenbach
Posts: 3
Joined: Sat Jan 14, 2012 9:36 pm
Contact: Website

Re: iOS Airplay

Sun Jan 15, 2012 9:16 am

ShairPort only streams music though.

dave3641
Posts: 9
Joined: Sat Dec 24, 2011 6:55 pm

Re: iOS Airplay

Sun Jan 15, 2012 10:44 am

AirPlay is already in XBMC, tried it last night on the windows version with video.
http://wiki.xbmc.org/index.php.....le=AirPlay

MarkStephenson1981
Posts: 2
Joined: Mon May 14, 2012 3:25 pm

Re: iOS Airplay

Mon May 14, 2012 3:27 pm

Hi,

Ive got XBMC installed (in addition to the avahi daemon - which was the only way i could get my devices to see the XBMC AirPlay name).

I can stream videos (with sound) and pictures no problem at all, however I cant seem to get ANY audio file to stream to XBMC. Any ideas??

Thanks,


Mark

Jancis
Posts: 25
Joined: Thu Jan 26, 2012 3:54 pm

Re: iOS Airplay

Mon May 14, 2012 6:51 pm

this reminds me of shairport - http://mafipulation.org/blagoblig/2011/04/08#shairport
no video tho.
edit: nevermind, just noticed it was mentioned few posts back. i guess i was too busy digging my bookmarks for it.
Last edited by Jancis on Mon May 14, 2012 7:00 pm, edited 1 time in total.

Jancis
Posts: 25
Joined: Thu Jan 26, 2012 3:54 pm

Re: iOS Airplay

Mon May 14, 2012 6:53 pm

found compiling instructions for debian (so it should work for ubuntu too)
http://dev.shyd.de/2011/11/shairport-de ... es-server/

DELo
Posts: 2
Joined: Sun May 20, 2012 4:52 pm

Re: iOS Airplay

Sun May 20, 2012 4:58 pm

I have shairport running on my Raspberry Pi. Very easy to get working! And it works like a charm. I've coupled it with a few simple scripts to run it as a service, and restart it if it exits unexpectedly.

Sound drivers are the weak link at the moment, obviously, and the analogue sound quality is far from Hi-Fi.

My ultimate aim is to use it with a Hi-Fi quality DAC, like the Cambridge Audio DacMagic 100, via USB.

Corgan
Posts: 3
Joined: Tue May 22, 2012 11:18 pm

Re: iOS Airplay

Tue May 22, 2012 11:22 pm

DELo wrote:I have shairport running on my Raspberry Pi. Very easy to get working! And it works like a charm. I've coupled it with a few simple scripts to run it as a service, and restart it if it exits unexpectedly.

Sound drivers are the weak link at the moment, obviously, and the analogue sound quality is far from Hi-Fi.

My ultimate aim is to use it with a Hi-Fi quality DAC, like the Cambridge Audio DacMagic 100, via USB.

Any chance you could go through the steps you went through to get it working? I've been trying but I can't get any sound to come out of the headphone port.

DELo
Posts: 2
Joined: Sun May 20, 2012 4:52 pm

Re: iOS Airplay

Sat May 26, 2012 7:38 pm

Basically I followed the instructions here : https://github.com/albertz/shairport/bl ... INSTALL.md.

Don't forget that audio will come out of either the 3.5mm jack OR though the HDMI, not both. By default the Pi will try to automatically determine which to use. If you have it connected to a TV via HDMI at boot, it will use that.

You can change this by using the "amixer" command.

It's not installed by default so do:

Code: Select all

$ sudo apt-get install alsa-utils
Then:

Code: Select all

$ amixer cset numid=3 1
to force the audio out of the headphone jack. I think thats right, this thread http://www.raspberrypi.org/phpBB3/viewt ... 0&start=80 has more information.

Let me know if you're still having problems and I'll try to help further.

Corgan
Posts: 3
Joined: Tue May 22, 2012 11:18 pm

Re: iOS Airplay

Mon May 28, 2012 8:17 pm

Still not able to get any audio to come out of the headphone port. I know that the port is working though, I've tried it with aplay and audio comes out fine. Followed all the steps to get shairport set up properly, and I'm able to connect my iphone and laptop connected and streaming to it, just no audio.

Return to “General discussion”