provegard / airpnp

AirPlay to UPnP bridge written in Python
http://airpnp.finkod.se
BSD 3-Clause "New" or "Revised" License
42 stars 4 forks source link

AirPNP devices not appearing for use #6

Open Jonty opened 11 years ago

Jonty commented 11 years ago

I'm unsure if airpnp should still be functioning with current devices, but just in case:

Starting airpnp works fine, and it locates and creates _airplay services for all my local UPNP devices, but none of the airplay-capable applications on my mac present the newly created devices as an option.

If this is still supposed to work, what can I do to help debug it? Using a bonjour browser on the mac show the services are present.

provegard commented 11 years ago

I haven't tested the current code for a while, but if services are created I suppose they should be visible to AirPlay clients. I can only test on iPhone and iPad since I don't own a Mac.

I gave up on the Python code a while back. It seems as if some UPnP devices won't play arbitrary URLs but only content on a proper UPnP media server. Thus, AirPnp has to be a media server as well, and I couldn't find any good, up-to-date, programmable media servers in Python. I've attempted at integrating with PS3MediaServer instead, but of course that won't help if the Airplay services don't show up.

If you could compare mDNS data between a service published by AirPnp and a service that is visible in your AirPlay applications, that would be great!

md12 commented 11 years ago

I am having the same problem. None of my apple devices are discovering the services. If i look at mdns of other airplay devices, i can see that they also register an _raop._tcp. service in addition to the _airplay._tcp. service. (shairport does not even create an _airplay.tcp. service, only the raop._tcp one)

Manualy creating an _raop._tcp. service with avahi will make the services visible, but after that everything i send to the service will result in an Unknown Airplay request.

On an older IOS device with IOS5, the service does show up, but i still cannot get it to work.

provegard commented 11 years ago

Note that RAOP is Remote Audio Output Protocol, and AirPnp doesn't support that. So exposing a service for it is rather pointless.

Which applications are you testing with?

md12 commented 11 years ago

itunes on a mac and the music app on iOS devices. Both do not see the airplay services

provegard commented 11 years ago

Then that's pretty much expected until AirPnp supports RAOP.

provegard commented 11 years ago

Which, by the way, would be very useful. It's just that I have to get AirPlay working properly with more devices first, and that requires a rewrite ATM.