Page 1 of 1

Shairport with iOS 6

Posted: Fri Sep 21, 2012 4:26 am
by truehl
Hi,
I was running Shairport perfectly on RPi with iOS devices running iOS 5. I've upgraded my iPad to iOS 6 and it don't work anymore. iOS 6 bricks Shairport. When i restart Shairport I can use it from iTunes on my PC and from my iPod using iOS 5. I'm running Shairport on Raspbian!

Did you see the same using iOS 6? Any suggestions?

Thomas

Re: Shairport with iOS 6

Posted: Fri Sep 21, 2012 1:13 pm
by dontod

Re: Shairport with iOS 6

Posted: Fri Sep 21, 2012 2:53 pm
by grahamed
I wish I understood how to apply the suggested cures

Re: Shairport with iOS 6

Posted: Fri Sep 21, 2012 5:19 pm
by truehl
Same here, I did try this this morning, without success. I think that because I don't understand what to do exactly. Could someone who's able to understand tell us exactly what to do?

Thanks a lot,
Thomas

Re: Shairport with iOS 6

Posted: Fri Sep 21, 2012 7:23 pm
by dontod
I tried and failed as well trying to to fix this.

Got stuck on the cpan install Net::SDP part of the fix.

My guess with all the iOS devices moving to ios6 in the next few days this will become an issue for lots of people.

Don.

Re: Shairport with iOS 6

Posted: Fri Sep 21, 2012 7:41 pm
by simonmullan
Hi
I installed the iOS6 version when I first got it, I wasn't able to install net::SDP either.

I'm sure I managed to solve the issue by upgrading cpan. I think I got to this by googling the error I got... But I can recall what that was, so try that?

I'll go through my history to see if I can find it.

Re: Shairport with iOS 6

Posted: Fri Sep 21, 2012 7:54 pm
by simonmullan
I had this problem, I think I resolved it by updating cpan:

# install CPAN
# reload cpan

I did it a while ago, so if that doesn't work, say so and I'll dig back through my web browsing history!!

Re: Shairport with iOS 6

Posted: Sat Sep 22, 2012 6:18 pm
by truehl
simonmullan wrote:I had this problem, I think I resolved it by updating cpan:

# install CPAN
# reload cpan

I did it a while ago, so if that doesn't work, say so and I'll dig back through my web browsing history!!
Sorry, but we need some clearer instructions! I can't get it working, did someone else succeed?

Re: Shairport with iOS 6

Posted: Sun Sep 23, 2012 12:50 pm
by crg
Here's how I updated to the hendrikw82 version of shairport, which seems to work with iOS6. It assumes you followed the process at http://trouch.com/2012/08/03/airpi-airp ... -raspberry (and check out the comments about iOS6 on that page - maybe soon the regular version of shairport will by updated too.)

sudo su
cd /etc/init.d
./shairport stop
cd
mv shairport shairport_old
aptitude install libmodule-build-perl
git clone https://github.com/njh/perl-net-sdp.git perl-net-sdp
cd perl-net-sdp
perl Build.PL
./Build
./Build test
./Build install
cd
git clone https://github.com/hendrikw82/shairport.git shairport
# and the rest is repeating the install instructions from the trouch.com post
cd shairport
./shairport.pl -a AirPi
# check it works then Ctrl-C
make install
cp shairport.init.sample /etc/init.d/shairport
cd /etc/init.d
chmod a+x shairport
update-rc.d shairport defaults
nano shairport
# edit DAEMON_ARGS line: eg DAEMON_ARGS=”-w $PIDFILE -a AirPi”
./shairport start

Re: Shairport with iOS 6

Posted: Mon Sep 24, 2012 12:14 pm
by untg
Thanks, this worked for me and fixed the issue I was having with shairport crashing when trying to play music from ios6 on the iphone5.

Re: Shairport with iOS 6

Posted: Sun Sep 30, 2012 4:54 am
by diegocaro
Hi everyone, I've created the deb version of the perl Net::sdp library and also I compiled shairport into a deb package.

The shairport package includes a daemon that start it at boot.

Code: Select all

wget http://www.inf.udec.cl/~diegocaro/rpi/libnet-sdp-perl_0.07-1_all.deb
wget http://www.inf.udec.cl/~diegocaro/rpi/shairport_0.05-1_armhf.deb
sudo dpkg -i libnet-sdp-perl_0.07-1_all.deb
sudo dpkg -i shairport_0.05-1_armhf.deb
At this point, dpkg may says that need more dependencies, to solve you should run:

Code: Select all

sudo apt-get -f install
Enjoy it!

Re: Shairport with iOS 6

Posted: Sun Sep 30, 2012 11:52 am
by prio
Much appreciated diegocaro!

Re: Shairport with iOS 6

Posted: Sun Sep 30, 2012 2:04 pm
by truehl
diegocaro wrote:Hi everyone, I've created the deb version of the perl Net::sdp library and also I compiled shairport into a deb package.

The shairport package includes a daemon that start it at boot.

Code: Select all

wget http://www.inf.udec.cl/~diegocaro/rpi/libnet-sdp-perl_0.07-1_all.deb
wget http://www.inf.udec.cl/~diegocaro/rpi/shairport_0.05-1_armhf.deb
sudo dpkg -i libnet-sdp-perl_0.07-1_all.deb
sudo dpkg -i shairport_0.05-1_armhf.deb
At this point, dpkg may says that need more dependencies, to solve you should run:

Code: Select all

sudo apt-get -f install
Enjoy it!
Great work, works like a charm! Thanks a lot for it! If you don't mind, I would like to use your .deb files in my SqueesePlug project! And one other question: Is it possible to build these .deb files also for Debian Soft Float? That would be great, because the other device I'm supporting with SqueezePlug are not Debian Hf!

Thanks a lot Thomas

Re: Shairport with iOS 6

Posted: Mon Oct 01, 2012 12:38 am
by diegocaro
truehl wrote: Great work, works like a charm! Thanks a lot for it! If you don't mind, I would like to use your .deb files in my SqueesePlug project! And one other question: Is it possible to build these .deb files also for Debian Soft Float? That would be great, because the other device I'm supporting with SqueezePlug are not Debian Hf!

Thanks a lot Thomas
First, you are free to use the .deb files wherever you want, that's the idea!

I think that is possible to build deb files for soft float, but for now I will not provide the sources (I'm trying to learn more about the Debian packaging system to provide a high quality deb sources).

Greetings from Chile!

Re: Shairport with iOS 6

Posted: Thu May 23, 2013 3:59 pm
by MikeG
Hi,

I have been running the previous version of Shairport for some time with iOS5, and have recently upgraded to the iOS6 version. In both cases I have been getting a problem I would describe as "drop-out". I am streaming radio to the Pi though iTunes, and occasionally the stream will halt. By going to iTunes and disconnecting the Pi, streaming to the local PC for a few seconds, and then reconnecting the Pi it comes back to life. Has anyone else had a similar problem?

I am running wireless through an Edimax EW7811, and initially thought it was a signal drop-out, but I have a putty terminal connected at the same time, and this continues to work after the Pi has stopped responding to the Airplay stream. It seems as if something drops and it is unable to recover. Any ideas?

Added note: On running dmesg I see that Alsa is closing with:
snd_bcm2835_playback_close:167 Also close
Reconnecting with iTunes opens Alsa again, but it will play for 10 minutes and then close itself.

Re: Shairport with iOS 6

Posted: Wed Jun 12, 2013 4:13 pm
by thepimonster
I had the same problem and reinstalled shairport using this tutorial http://jtech4you.com/how-to-setup-a-ras ... -receiver/ and now it works fine :)