User avatar
truehl
Posts: 642
Joined: Sun Mar 04, 2012 6:47 pm
Contact: Website

Shairport with iOS 6

Fri Sep 21, 2012 4:26 am

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
truehl
http://www.squeezeplug.de


grahamed
Posts: 267
Joined: Mon Jan 30, 2012 7:01 pm

Re: Shairport with iOS 6

Fri Sep 21, 2012 2:53 pm

I wish I understood how to apply the suggested cures

User avatar
truehl
Posts: 642
Joined: Sun Mar 04, 2012 6:47 pm
Contact: Website

Re: Shairport with iOS 6

Fri Sep 21, 2012 5:19 pm

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
truehl
http://www.squeezeplug.de

dontod
Posts: 5
Joined: Wed Apr 25, 2012 11:51 am

Re: Shairport with iOS 6

Fri Sep 21, 2012 7:23 pm

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.

simonmullan
Posts: 2
Joined: Fri Sep 14, 2012 6:18 pm

Re: Shairport with iOS 6

Fri Sep 21, 2012 7:41 pm

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.

simonmullan
Posts: 2
Joined: Fri Sep 14, 2012 6:18 pm

Re: Shairport with iOS 6

Fri Sep 21, 2012 7:54 pm

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!!

User avatar
truehl
Posts: 642
Joined: Sun Mar 04, 2012 6:47 pm
Contact: Website

Re: Shairport with iOS 6

Sat Sep 22, 2012 6:18 pm

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?
truehl
http://www.squeezeplug.de

crg
Posts: 1
Joined: Sun Sep 23, 2012 12:44 pm

Re: Shairport with iOS 6

Sun Sep 23, 2012 12:50 pm

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

untg
Posts: 5
Joined: Mon Sep 24, 2012 12:11 pm

Re: Shairport with iOS 6

Mon Sep 24, 2012 12:14 pm

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.

User avatar
diegocaro
Posts: 4
Joined: Wed Sep 19, 2012 9:19 pm
Location: Concepción, Chile
Contact: Website

Re: Shairport with iOS 6

Sun Sep 30, 2012 4:54 am

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!

prio
Posts: 1
Joined: Fri Jul 27, 2012 9:25 pm

Re: Shairport with iOS 6

Sun Sep 30, 2012 11:52 am

Much appreciated diegocaro!

User avatar
truehl
Posts: 642
Joined: Sun Mar 04, 2012 6:47 pm
Contact: Website

Re: Shairport with iOS 6

Sun Sep 30, 2012 2:04 pm

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
truehl
http://www.squeezeplug.de

User avatar
diegocaro
Posts: 4
Joined: Wed Sep 19, 2012 9:19 pm
Location: Concepción, Chile
Contact: Website

Re: Shairport with iOS 6

Mon Oct 01, 2012 12:38 am

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!

MikeG
Posts: 3
Joined: Fri Jul 13, 2012 8:56 am

Re: Shairport with iOS 6

Thu May 23, 2013 3:59 pm

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.

thepimonster
Posts: 7
Joined: Fri May 03, 2013 6:48 pm
Contact: Website

Re: Shairport with iOS 6

Wed Jun 12, 2013 4:13 pm

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

Return to “Media centres”

Who is online

Users browsing this forum: No registered users and 6 guests