Join GitHub today
Finds shairport-sync source from iTunes on OS X, but not from iOS9 #197
I've recently setup a Raspberry Pi running shairport-sync.
When I use iTunes on OS X I reliably see the raspberry pi as a Airplay option.
Running shairport-sync I see:
At this point, the Pi ("Kitchen") is not visible on any iOS9 device.
If I then disconnect the iTunes, and connect via the iOS9 device I see
Any ideas what is going on or how I can do some further analysis or debugging?
Turns out this is not a shairport-sync issue or a avahi/zero-conf issue but an issue with the wifi dongle. Documenting here in case others have the same issue in the future.
The problem was with the Wifi dongle (an Edimax EW-7811Un) on the Pi going into a low power mode. I found the solution on https://www.raspberrypi.org/forums/viewtopic.php?t=61665. The solution to this is:
In the directory /etc/modprobe.d/ make a file called 8192cu.conf
Once I'd implemented this solution and rebooted the issue went away, and also some other issues I'd noticed with the Pi not responding on the network also disappeared.
Still not sure why iTunes was able to connect to the Pi when the iPhone wasn't - possibly iTunes/OS X keeps details of previous Airplay services it has seen on the network rather than just looking at what is available at the current time? Wild speculation at this point!