xbmc/xbmc — pull request #968 by Memphiz (2012-05-15 18:43:27+00:00)
Title: Airtunes support for windows

This adds AirTunes support for the Windows platform. It uses the shairplay lib which will be the replacement for libshairport on all platforms in the future (basically when we move to the airplay addon).

I guess this is a good try to see how good the lib behaves. It passed my tests very well and this lib has a upstream dev *hooorrayyyy*. Its coded in a way that it doesn't need any dependency libs - therefore its holy shit platform compatible ;o). (posix at its best).

This windows support is complete in that way that it already has metadata support (so far metadata is sent by iTunes and iDevices with iOS <= 4.3), which i'll add to the other platforms on my other PR, right after merging this one.

WiSo - please build the libshairplay dependency from my branch

https://github.com/Memphiz/shairplay/tree/win32

Its the upstream master with an added visual studio buildsys. The lib has to go into xbmc/system/airplay/libshairplay-1.dll

The header raop.h has to go into builddeps/include/shairplay

Thats it.

I've tested it under WinXP32 and Windows7 32. WiSo if you could give it a try? I have issues when running it on Windows7 - the lib opens a ipv6 socket there and iOS don't seem to connect via ipv6 - but it could be something with my vm setup here.

Before this gets merged i might update my win32 branch with any fixes the upstream dev would come up until then.

I want this to be merged in the june merge window. Though i had to extend our network API for this - so i need some review for at least that commit.