Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Airplay not working
Thank you for your donation

Pages (2): 1 2 Next »
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Airplay not working
28th Dec, 2016, 10:49 PM
Post: #1
Lupurus Offline
Registered
Posts: 19
Joined: Mar 2013
Reputation: 0
Airplay not working
I just installed Xbian (XBian_2016.12.23_rpi) on a Raspberry PI 1. I'm also running macOS 10.12.1 and a iPhone with iOS 10.2.
In Kodi I activated Zeroconf and AirPlay, but in the AirPlay settings I deactivated "Enable Airplay videos and pictures support". But xbian doesn't show up in my AirPlay devices. AirPlay works fine in the newest versions of OSMC and OpenELEC. Any ideas? (By the way, nothing to read in the kodi.log)
Find all posts by this user
Quote this message in a reply
29th Dec, 2016, 03:34 AM
Post: #2
rab Offline
Newcomer
Posts: 3
Joined: Dec 2016
Reputation: 0
RE: Airplay not working
I have the same issue. On RPI3 Airplay doesnt work, avahi-daemon is running, but myMac and other devices are not able to find Airplay device.
Find all posts by this user
Quote this message in a reply
29th Dec, 2016, 03:47 AM
Post: #3
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Airplay not working
I'll investigate this issue. Unfortunately I do not have any Apple hardware, so I have to install iTunes for Windows first.
Find all posts by this user
Quote this message in a reply
1st Jan, 2017, 05:10 AM
Post: #4
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Airplay not working
So, iTunes for Windows version 12.5.4.42 installed in my Wndows 7/32bit virtual machine and tested.

Here are my results:
  • RPi1, Kodi 16.1, WLAN connection:
    Does not work, absolutely nothing in the logfiles (neither Kodi log nor system log)
  • RPi1, Kodi 17.0 rc1, WLAN connection:
    Does not work, CZeroconfAvahi message in Kodi log, but library libshairplay.so.0 is not loaded
  • RPi2, Kodi 17.0 rc1, LAN connection:
    Working
  • RPi2, Kodi 16.1, LAN connection:
    Working
  • RPi3, Kodi 17.0 rc1, WLAN connection:
    Working
  • i.MX6(Hummingboard), Kodi 16.1, WLAN connection:
    Working
  • RPi3, Kodi 17.0 rc1, WLAN connection, binary (kodi.bin) built for RPi1:
    Does not work

Conclusion:
It seems Kodi builds for RPi1 does not work, no idea why Huh libshairpackage has same version on all devices. Has to be investigated in next year

@rab
It should work, see my test results



Find all posts by this user
Quote this message in a reply
2nd Jan, 2017, 02:45 AM
Post: #5
rab Offline
Newcomer
Posts: 3
Joined: Dec 2016
Reputation: 0
RE: Airplay not working
I have Rpi3 and latest stable version. Rpi3 connected via LAN (wlan is disabled). iPhone and macbook cannot find Rpi device...

Is different to use WLAN or LAN?

(1st Jan, 2017 05:10 AM)Nachteule Wrote:  So, iTunes for Windows version 12.5.4.42 installed in my Wndows 7/32bit virtual machine and tested.

Here are my results:
  • RPi1, Kodi 16.1, WLAN connection:
    Does not work, absolutely nothing in the logfiles (neither Kodi log nor system log)
  • RPi1, Kodi 17.0 rc1, WLAN connection:
    Does not work, CZeroconfAvahi message in Kodi log, but library libshairplay.so.0 is not loaded
  • RPi2, Kodi 17.0 rc1, LAN connection:
    Working
  • RPi2, Kodi 16.1, LAN connection:
    Working
  • RPi3, Kodi 17.0 rc1, WLAN connection:
    Working
  • i.MX6(Hummingboard), Kodi 16.1, WLAN connection:
    Working
  • RPi3, Kodi 17.0 rc1, WLAN connection, binary (kodi.bin) built for RPi1:
    Does not work

Conclusion:
It seems Kodi builds for RPi1 does not work, no idea why Huh libshairpackage has same version on all devices. Has to be investigated in next year

@rab
It should work, see my test results



Find all posts by this user
Quote this message in a reply
2nd Jan, 2017, 02:52 AM
Post: #6
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Airplay not working
(2nd Jan, 2017 02:45 AM)rab Wrote:  I have Rpi3 and latest stable version. Rpi3 connected via LAN (wlan is disabled). iPhone and macbook cannot find Rpi device...

Is different to use WLAN or LAN?

No, don't think so. If you read my results, I tested it with WLAN and LAN, both works (RPi2 I used LAN, RPi3 I used onboard WLAN and my VM running iTunes is connected via WLAN)
Find all posts by this user
Quote this message in a reply
2nd Jan, 2017, 02:59 AM (This post was last modified: 2nd Jan, 2017 06:47 AM by Nachteule.)
Post: #7
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Airplay not working
@rab

You should enable debug log and start kodi again.

Then you should see two messages in log like this:

Code:
Jan  1 17:39:40 kmxbibr 344 853588.125000 T:3021475840   DEBUG: SECTION:LoadDLL(libshairplay.so.0)
Jan  1 17:39:40 kmxbibr 363 853588.125000 T:3021475840   DEBUG: Loading: libshairplay.so.0

or check ports opened by Kodi

Terminal

sudo netstat -anp | grep 366
tcp 0 0 0.0.0.0:36666 0.0.0.0:* LISTEN 11607/kodi.bin
tcp6 0 0 :::36666 :::* LISTEN 11607/kodi.bin

Kodi should listen on port 36666
Find all posts by this user
Quote this message in a reply
2nd Jan, 2017, 11:32 PM
Post: #8
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Airplay not working
Good news Smile The RPi1 issue has been fixed, Airplay is working again with RPi1 (both version 16.1 and 17.0 rc tested sucessfully), new packages have been built and are ready for update
Find all posts by this user
Quote this message in a reply
3rd Jan, 2017, 06:56 PM
Post: #9
rab Offline
Newcomer
Posts: 3
Joined: Dec 2016
Reputation: 0
RE: Airplay not working
Airplay is working from Windows iTunes - tested on my desktop PC - with RPI3 and 17 RC2 (and latest version 16).

But still doesn`t work for iOS 10 and macOS Sierra. I have log files from TCPDump and error are in SRV records - from my point of view. iTunes windows is checking a lot of SRV records and waiting for reply. iOS 10 send only one query.
Find all posts by this user
Quote this message in a reply
4th Jan, 2017, 05:55 AM
Post: #10
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Airplay not working
Hmmm, absolutely not good information Sad So I can not help anymore

Found this thread, maybe it helps
Find all posts by this user
Quote this message in a reply
9th Jan, 2017, 04:16 AM
Post: #11
noshky Offline
Newcomer
Posts: 1
Joined: Jan 2017
Reputation: 0
RE: Airplay not working
On my RPi3 with Kodi 16.1, Airplay doesn't work neither over Wifi nor over Ethernet with my iPhone 6S, iOS 10.2.
What can we do to have this working again? I was putting quite some hope into using Airplay.

Running the suggested tests gives me:
Terminal

$ sudo netstat -anp | grep 366
tcp 0 0 0.0.0.0:36666 0.0.0.0:* LISTEN 1547/kodi.bin
tcp 0 0 0.0.0.0:36667 0.0.0.0:* LISTEN 1547/kodi.bin
netstat: /proc/net/tcp6: No such file or directory
netstat: /proc/net/udp6: No such file or directory
netstat: /proc/net/raw6: No such file or directory

Terminal

$ cat ~/.kodi/temp/kodi.log | grep airplay
19:10:03 19.886923 T:1953181696 DEBUG: SECTION:LoadDLL(libshairplay.so.0)
19:10:03 19.888994 T:1953181696 DEBUG: Loading: libshairplay.so.0
19:10:03 19.933195 T:1516319664 DEBUG: CZeroconfAvahi::doPublishService identifier: servers.airplay type: _airplay._tcp name:XBian port:36667
19:10:03 19.933334 T:1516319664 DEBUG: CZeroconfAvahi::addService() named: XBian type: _airplay._tcp port:36667
Find all posts by this user
Quote this message in a reply
4th Feb, 2017, 08:10 AM
Post: #12
kholbrook1303 Offline
Newcomer
Posts: 1
Joined: Feb 2017
Reputation: 0
RE: Airplay not working
(3rd Jan, 2017 06:56 PM)rab Wrote:  Airplay is working from Windows iTunes - tested on my desktop PC - with RPI3 and 17 RC2 (and latest version 16).

But still doesn`t work for iOS 10 and macOS Sierra. I have log files from TCPDump and error are in SRV records - from my point of view. iTunes windows is checking a lot of SRV records and waiting for reply. iOS 10 send only one query.

Further to this statement as I am trying to solve the same thing.... I have found that enabling the airplay option in the GUI... then shortly thereafter disabling it, it will show up in my audio device list (In control center) and does stream to the pi. It works until either rebooted or switched back on for whatever reason.
Find all posts by this user
Quote this message in a reply
31st Jul, 2017, 03:09 AM
Post: #13
dom__dom Offline
Newcomer
Posts: 2
Joined: Jul 2017
Reputation: 0
RE: Airplay not working
Hello everybody,

I'm also experiencing Airplay problems with xbian - Kodi 17.3 (Git2017-05-26-1521bf9) and OS X 10.11.6 or iOS 10.3.3 (14G60). No device can be found in airplay. Trying a clean runeaudio image, streaming works like a charm.

Both services (avahi-daemon & dbus) are up and listening to the ports mentioned above:

Code:
tcp        0      0 0.0.0.0:36666           0.0.0.0:*               LISTEN      2114/kodi.bin
tcp        0      0 0.0.0.0:36667           0.0.0.0:*               LISTEN      2114/kodi.bin
netstat: /proc/net/udp6: No such file or directory
netstat: /proc/net/raw6: No such file or directory
unix  3      [ ]         STREAM     CONNECTED      13666 686/dbus-daemon     /var/run/dbus/system_bus_socket

However I cannot find the so often mentioned zeroconf options unter the menu "Service settings" > "General" (switching to expert mode). There I can only change the device name option.
Airplay has been enabled.

Are you guys experiencing the same issues as I do or do you have any idea what can be done?

Thanks for all your help in advance!

Cheers
Find all posts by this user
Quote this message in a reply
31st Jul, 2017, 04:56 AM
Post: #14
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Airplay not working
I suppose Airplay is not working anymore with recent versions of OSX and iOS
Find all posts by this user
Quote this message in a reply
11th Aug, 2017, 02:19 AM
Post: #15
dom__dom Offline
Newcomer
Posts: 2
Joined: Jul 2017
Reputation: 0
RE: Airplay not working
Interestingly, I got it working for a short time with a clean install of xbian. However, that stopped somehow shortly after.

By manually installing the package "shairport-sync", I got to manage a perpament working connection to airplay.

Terminal
sudo apt-get install shairport-sync

Maybe installing this package may be helpful to someone else, too in order to get airplay running with xbian (worked out for me of the box with hifiberry digi+ and alsa output).
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [PROBLEM] Airplay is not working on XBIAN 1.0RC2 // XBMC 13.1 sir106 27 85,959 16th Dec, 2014 03:05 PM
Last Post: mk01
  Airplay not working Elemental 25 84,161 1st Apr, 2014 03:01 AM
Last Post: mehlvogel

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 9th May, 2025, 04:01 AM Powered By MyBB, © 2002-2025 MyBB Group.