[LINUX] AirPlay / AirTunes Metadata Streaming

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
justinlarsen Offline
Junior Member
Posts: 18
Joined: Dec 2011
Reputation: 0
Question  [LINUX] AirPlay / AirTunes Metadata Streaming
Post: #1
I'm not sure if this is even an option at the moment, but i know that when I use an ATV2 default OS it pushes the cover artwork and artist/song information to the device.

Right now when I stream music to my XBMC i just get a generic STREAMING copy and no cover artwork.

Is there some sort of magic to get the data, something in the works, or just wishful thinking.
find quote
Tijntje Offline
Junior Member
Posts: 49
Joined: Jan 2010
Reputation: 0
Post: #2
Indeed it would be very nice if this info is transferred to xbmc!

I can't get airplay to work at all.
My xbmc doesn't show up on my mac / iphone.
What steps have you done to get it to work?
find quote
justinlarsen Offline
Junior Member
Posts: 18
Joined: Dec 2011
Reputation: 0
Post: #3
I got it working very easily. It wasn't turned on by default in the build I used so I did the following.

Step 1: Go to System -> Network Settings -> Services

Step 2: Activate AirPlay: Scroll down to the very bottom, you wont see it listed right away, since this is one of the few settings pages that have more options then fit on a page.

Step 3: In iTunes go to your preference's and click on the device tab, and check the box that says Allow iTunes audio control from remote speakers. (dunno if this matters or not, but I did it anyways)

I have got it working on my iPhone, iPad, Laptop(mac), and Desktop(mac)

A little box with a arrow should show up and allow you to select your device. Hopefully that helps.
find quote
justinlarsen Offline
Junior Member
Posts: 18
Joined: Dec 2011
Reputation: 0
Post: #4
Oh also try AirFoil is all else fails, thats what I did at first.

http://www.rogueamoeba.com/airfoil/
find quote
Tijntje Offline
Junior Member
Posts: 49
Joined: Jan 2010
Reputation: 0
Post: #5
thx for the info but I've already done that.

It's working now: apparently you have to install the avahi-daemon to announce the services on the network...
find quote
Govnah Offline
Member
Posts: 85
Joined: Nov 2010
Reputation: 0
Post: #6
Any idea why the youtube app works just fine and the music app does not even though XBMC is listed a a source?

Thanks
find quote
justinlarsen Offline
Junior Member
Posts: 18
Joined: Dec 2011
Reputation: 0
Post: #7
Govnah, what OS are you using? I had a problem with ipv6 enabled in Lion and once disabled it worked fine. Youtube i believe is being pushed through a separate protocol if i read correctly.
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 10,142
Joined: Feb 2011
Reputation: 109
Location: germany
Post: #8
So i've digged last days in airtunes metadata. Its not possible atm. XBMC isn't getting any metadata from the streaming client. Only authenticated servers (like appletv2 or third party amps) get those data. We can't authenticate because the fairplay handshake is not hacked yet. So until this happens - XBMC just won't receive any metadata from the client.

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
justinlarsen Offline
Junior Member
Posts: 18
Joined: Dec 2011
Reputation: 0
Post: #9
Thanks for the update Memphiz, still amazing being able to just stream audio. I am sure once there is a solution it will be integrated.
find quote
firstain Offline
Junior Member
Posts: 1
Joined: Jan 2012
Reputation: 0
Post: #10
i found something awesome here

http://www.firstain.com/index.php/2011/0...-as-1-2-3/
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 10,142
Joined: Feb 2011
Reputation: 109
Location: germany
Post: #11
Or you just install xbmc for linux and use its airplay function. The article only mentions video - so i think XBMC beats it with AirTunes support Wink

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
justinlarsen Offline
Junior Member
Posts: 18
Joined: Dec 2011
Reputation: 0
Post: #12
Memphiz,

This might be a longshot, but I was able to find this.

http://nto.github.com/AirPlay.html#audio-metadata
http://git.zx2c4.com/Airtunes2/about/#set-daap-metadata

I know DAAP was hacked a longtime ago, but using it in combination with the shariport script might be messy. From my limited knowledge it looks like the issue is with the RSA handshake to receive the information.

I'm running OSX 10.7 so I might just make an applescript that runs in the background that pushes the data, via the JSON-RPC api. I know its a bit of a hack, but this feature is the only thing I feel is missing from a complete XBMC experience.

--Edit--

Looks like Myth was able to get the metadata already via iTunes only but not via an iOS device: http://www.gossamer-threads.com/lists/my...ose/515724
(This post was last modified: 2012-05-06 16:52 by justinlarsen.)
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 10,142
Joined: Feb 2011
Reputation: 109
Location: germany
Post: #13
as its written on that links and already stated - we don't get any metadata. What did i miss with your posts?

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
justinlarsen Offline
Junior Member
Posts: 18
Joined: Dec 2011
Reputation: 0
Post: #14
According to this they are getting Metadata, correct me if im wrong. Its only able to get it from iTunes and not iOS devices.

http://code.mythtv.org/cgit/mythtv/commi...134eaff710

-edit-
if im wrong i'll just shut up about it till its well publicized and fairplay is cracked properly.
(This post was last modified: 2012-05-07 05:17 by justinlarsen.)
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 10,142
Joined: Feb 2011
Reputation: 109
Location: germany
Post: #15
Ahh i missed that. Damn i had already changes for shairport for fetching metadata, but since i've never received some (only tried ios devices at that point) i deleted the changes *grr*. Hopefully i find it in my reflog somewhere.

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
Post Reply