Shairport with iOS 6


16 posts
by truehl » 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
User avatar
Posts: 608
Joined: Sun Mar 04, 2012 6:47 pm
by dontod » Fri Sep 21, 2012 1:13 pm
Posts: 5
Joined: Wed Apr 25, 2012 11:51 am
by grahamed » Fri Sep 21, 2012 2:53 pm
I wish I understood how to apply the suggested cures
Posts: 123
Joined: Mon Jan 30, 2012 7:01 pm
by truehl » 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
User avatar
Posts: 608
Joined: Sun Mar 04, 2012 6:47 pm
by dontod » 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.
Posts: 5
Joined: Wed Apr 25, 2012 11:51 am
by simonmullan » 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.
Posts: 2
Joined: Fri Sep 14, 2012 6:18 pm
by simonmullan » 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!!
Posts: 2
Joined: Fri Sep 14, 2012 6:18 pm
by truehl » 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
User avatar
Posts: 608
Joined: Sun Mar 04, 2012 6:47 pm
by crg » 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
Posts: 1
Joined: Sun Sep 23, 2012 12:44 pm
by untg » 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.
Posts: 2
Joined: Mon Sep 24, 2012 12:11 pm
by diegocaro » 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!
User avatar
Posts: 4
Joined: Wed Sep 19, 2012 9:19 pm
Location: Concepción, Chile
by prio » Sun Sep 30, 2012 11:52 am
Much appreciated diegocaro!
Posts: 1
Joined: Fri Jul 27, 2012 9:25 pm
by truehl » 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
Posts: 608
Joined: Sun Mar 04, 2012 6:47 pm
by diegocaro » 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!
User avatar
Posts: 4
Joined: Wed Sep 19, 2012 9:19 pm
Location: Concepción, Chile
by MikeG » 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.
Posts: 3
Joined: Fri Jul 13, 2012 8:56 am
by thepimonster » 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-raspberry-pi-airplay-receiver/ and now it works fine :)
Posts: 5
Joined: Fri May 03, 2013 6:48 pm