Linux Airplay from iTunes is not working
#1
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
Reply
#2
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
Reply
#3
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.
Reply
#4
airplay soesn't announce on 8080 - must be something else conflicting then. Beside that - another broken ppa repository Sad
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Airplay from iTunes is not working00
This forum uses Lukasz Tkacz MyBB addons.