Kodi Community Forum
Linux Airplay from iTunes is not working - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Linux Airplay from iTunes is not working (/showthread.php?tid=136165)



Airplay from iTunes is not working - jameh - 2012-07-15

Hey, I've done some sniffing around the forums for troubleshooting this problem without much luck.

I've checked to make sure avahi-daemon is running on the xbmc 11.0 computer (ubuntustudio).

What I have noticed on the remote computer (mac OS X 10.6.8 with iTunes 10.6.3) is that the iTunes airplay icon appears only when xbmc is started - indicating that it can see a device on bonjour corresponding with xbmc's startup. But my problem is that the airplay list is empty (or does not include the xbmc instance of airplay).


Adding "<enableairtunesdebuglog>1</enableairtunesdebuglog>" to "advancedsettings.xml", a snippet of the xbmc log file indicated an error with libshairport.so.1:

Code:
11:40:51 T:139718176737152    INFO: AIRPLAY Server: Successfully initialized
11:40:51 T:139718176737152   DEBUG: SECTION:LoadDLL(libshairport.so.1)
11:40:51 T:139718176737152   DEBUG: Loading: libshairport.so.1
11:40:51 T:139718176737152   ERROR: Unable to load libshairport.so.1, reason: libshairport.so.1: cannot open shared object file: No such file or directory

any pointers in the right direction would be awesome. Huh


RE: Airplay from iTunes is not working - jameh - 2012-07-15

Solved!

/usr/lib/ was empty

Installed libshairport0 from ppa:nathan-renniewaldock-xbmc-build-deps/precise

and still got error (libshairport.so.1 did not exist)

found that it indeed did not exist, but /usr/lib/libshairport.so.0 was created from the install

created a symlink from libshairport.so.1 to libshairport.so.0
(sudo ln -s /usr/lib/libshairport.so.0 to /usr/lib/libshairport.so.1)

and now it's streaming from iTunes!!

AC/DC Shoot to Thrill


RE: Airplay from iTunes is not working - jameh - 2012-07-15

Also, the port I was using for http, 8080, was conflicting with the airplay service (airplay was working, http not)
Changing http port to 8767 fixed it.


RE: Airplay from iTunes is not working - Memphiz - 2012-07-15

airplay soesn't announce on 8080 - must be something else conflicting then. Beside that - another broken ppa repository Sad