Kodi Community Forum

Full Version: Kodi airplay, vlan and avahi won't work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there - i have been running gotham for a while and till airplay was broken generally due to ios issues - it worked.
I have updatet to kodi and my mobile devices won't find kodi no more.
Generally - i have two vlan's inplace one for the mobile devices , one for the kodi - devices and a gateway in between where i run avahi-daemon.
One of the devices is still on xbmc Gotha,-Version and is discovered well - the new ones with kodi are not - what can i do to track the issue or to investigate further?
Question ?

Have you played around with Kodi settings

Kodi > System > Settings > Services > Airplay > iOS 8 compatibility mode

Hard to provide help when you neglect to tell us what iOS version these mobiles use ?
debug log (wiki) of kodi
log enabled, grep on airplay gives:

Code:
root@amenophis:/home/user/.kodi/temp# grep -i airplay kodi.log
05:46:08 T:140618106640320    INFO: AIRPLAY: Cleaning up photoassetcache
05:46:08 T:140618106640320    INFO: AIRPLAY Server: Successfully initialized
05:46:08 T:140616281351936   DEBUG: CZeroconfAvahi::doPublishService identifier: servers.airplay type: _airplay._tcp name:Kodi2 port:36667
05:46:08 T:140616289744640  NOTICE: Thread AirPlayServer start, auto delete: false
05:46:08 T:140616281351936   DEBUG: CZeroconfAvahi::addService() named: Kodi2 type: _airplay._tcp port:36667
17:25:47 T:140618106640320    INFO: AIRPLAY: Cleaning up photoassetcache
17:25:47 T:140616289744640   DEBUG: Thread AirPlayServer 140616289744640 terminating
17:25:47 T:140618106640320   DEBUG: CZeroconfAvahi::doRemoveService named: servers.airplay
17:25:48 T:140618106640320    INFO: AIRPLAY: Cleaning up photoassetcache
17:25:48 T:140618106640320    INFO: AIRPLAY Server: Successfully initialized
17:25:48 T:140617355093760   DEBUG: CZeroconfAvahi::doPublishService identifier: servers.airplay type: _airplay._tcp name:Kodi2 port:36667
17:25:48 T:140617355093760   DEBUG: CZeroconfAvahi::addService() named: Kodi2 type: _airplay._tcp port:36667
17:25:48 T:140616289744640  NOTICE: Thread AirPlayServer start, auto delete: false

switching iOs' compatibility-mode does not change anything

Discovering the kodi-devices from the mobile device for xbmc-remote works fine for all the devices - and discovering a printer via airprint also works well over the vlan's

i also checked an xbmc on the same machine like kodi which discovers fine. Log for xbmc says:
Code:
user@amenophis:~/.xbmc/temp$ grep -i airplay xbmc.log
19:16:08 T:139665882101696    INFO: AIRPLAY Server: Successfully initialized
19:16:08 T:139665032591104   DEBUG: CZeroconfAvahi::doPublishService identifier: servers.airplay type: _airplay._tcp name:XBMC2 port:36667
19:16:08 T:139664654456576  NOTICE: Thread AirPlayServer start, auto delete: false
19:16:08 T:139665032591104   DEBUG: CZeroconfAvahi::addService() named: XBMC2 type: _airplay._tcp port:36667
19:17:04 T:139664654456576   DEBUG: Thread AirPlayServer 139664654456576 terminating
19:17:04 T:139665882101696   DEBUG: CZeroconfAvahi::doRemoveService named: servers.airplay
19:17:13 T:139665882101696    INFO: AIRPLAY Server: Successfully initialized
19:17:13 T:139665049376512   DEBUG: CZeroconfAvahi::doPublishService identifier: servers.airplay type: _airplay._tcp name:XBMC2 port:36667
19:17:13 T:139664669267712  NOTICE: Thread AirPlayServer start, auto delete: false
19:17:13 T:139665049376512   DEBUG: CZeroconfAvahi::addService() named: XBMC2 type: _airplay._tcp port:36667
19:17:31 T:139665882101696   DEBUG: CZeroconfAvahi::doRemoveService named: servers.airplay
19:17:32 T:139664669267712   DEBUG: Thread AirPlayServer 139664669267712 terminating

i don't see that much difference in the logs
1. please grep for raop and airtunes aswell
2. Just prove the full log via pastebin.com and link it here...