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)
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 libshairpackage has same version on all devices. Has to be investigated in next year
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 libshairpackage has same version on all devices. Has to be investigated in next year
(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)
Good news 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
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.
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
(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.
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?
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).