Airplay Sound to XBMC

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
drmikey Offline
Junior Member
Posts: 1
Joined: Aug 2013
Reputation: 0
Post: #1
Hey Folks,

I'm trying to stream Spotify to my XBMC device from OSX Mountain Lion but hitting lots of walls. I can stream audio from iTunes and all my iOS devices, but not directly from my Mac. I can see XBMC as an option in audio outputs, but when I select it, the sound stops on the mac for a few seconds (presumably while it tries to connect) before it comes back on the mac (after failing to connect).

How can I make it work?

I'm running Frodo (12.0) on a windows device.

I've scoured the forums and found one similar post that offered a solution of downgrading to Lion but thats not an option for me (new laptop).

Thanks!
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 10,913
Joined: Feb 2011
Reputation: 113
Location: germany
Post: #2
enable airtunes debugging like stated here:

http://wiki.xbmc.org/?title=advancedsett...ebuglog.3E

then post a

debug log ...

Also try a nightly build or the latest alpha build if possible to see if it is fixed there already...

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
(This post was last modified: 2013-08-26 09:58 by Memphiz.)
find quote
mattybe Offline
Junior Member
Posts: 6
Joined: Feb 2012
Reputation: 0
Post: #3
Same problem, though I'm not on the latest build

xbmc.log: http://paste.ubuntu.com/6040495/
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 10,913
Joined: Feb 2011
Reputation: 113
Location: germany
Post: #4
Both of you are using outdated versions (mattybe - 11.0 <- there won't be any fixes for 11.0 anymore anyways).

Also this is the macosx forum - one of you is running xbmc on windows and the other one on linux.

I want to know if this is already fixed in current nightlies - if possible As we have replaced the airtunes library (at least for linux) on that version...

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
mattybe Offline
Junior Member
Posts: 6
Joined: Feb 2012
Reputation: 0
Post: #5
Still happening in nightly. With nightly I do now see a desktop mirroring option, but both that and audio streaming crash.
http://paste.ubuntu.com/6052427/

In this log though, I successfully streamed from iTunes
http://paste.ubuntu.com/6052433/
find quote
mattybe Offline
Junior Member
Posts: 6
Joined: Feb 2012
Reputation: 0
Post: #6
@Memphiz - don't want to nag, but does this seem like a legitimate bug? Should I repost under Linux support, or do you need any more info?

It seems like iTunes still uses AirTunes which works, but desktop streaming or full audio output streaming uses AirPlay, which crashes.
(This post was last modified: 2013-09-05 18:09 by mattybe.)
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 10,913
Joined: Feb 2011
Reputation: 113
Location: germany
Post: #7
On vacation...

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
mattybe Offline
Junior Member
Posts: 6
Joined: Feb 2012
Reputation: 0
Post: #8
Enjoy! Thanks for your help so far.
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 10,913
Joined: Feb 2011
Reputation: 113
Location: germany
Post: #9
Based on the Last log this will Never work. The AirTunes Client (spotify) wants to init a FairPlay encrypted Connection to xbmc. Xbmc doesn't Support this Kind of encryption and also announces this (the fact that the Client tries to init a fp connection anyways points to a crappy client imo).

Beside that - Music is always streamed via AirTunes Protocol and Never via AirPlay (which only does pictures and Video urls - no Real streaming Data)

Sry - not a bug - but something we can't Support because that fp stuff is not cracked...

For the Initial Poster - try to disable ipv6 on the Mac...

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
mattybe Offline
Junior Member
Posts: 6
Joined: Feb 2012
Reputation: 0
Post: #10
Just saw this. Thanks for your reply. Annoyingly, it seems that apple implemented their system-wide audio-only streaming through FairPlay
find quote