I got the same result at first. But after trying to play from my iPod touch, it worked.
I guess running the server and iTunes client on the same machine caused the problem.
My config: MBP on 10.6.7
And thank you for your dns-sd patch on https://github.com/albertz/shairport/
Re:Apple AirTunes private key extracted
by askedrelic on Monday April 11, 2011 @01:03PM
(#2433259)
Sweet, thanks for your port! I just got everything working on my iMac. It shows up as an AirSpeaker from my iPhone on the same network and I can stream music from the iPhone to my iMac!
Re:Apple AirTunes private key extracted
by albertzeyer on Monday April 11, 2011 @02:14PM
(#2433589)
With 0.03 and some further fixes, it also works on localhost now.
Re:Apple AirTunes private key extracted
by snotrockets on Monday April 11, 2011 @07:58AM
(#2432243)
Author states this is broken on a Mac.
Re:Apple AirTunes private key extracted
by albertzeyer on Monday April 11, 2011 @08:07AM
(#2432261)
That is why I have patched it. For example, it uses `dns-sd` instead of `avahi-publish-service`. Registering seems to work, at least iTunes shows it. But there is no single connection attempt, so everything else (all the C-code etc.) is anyway unrelated because it doesn't even get there.
Maybe it refuses to connect because it is the same (localhost) machine? I don't have another machine at hand to try out right now.
Re:Apple AirTunes private key extracted
by chopsueyar on Monday April 11, 2011 @08:31AM
(#2432311)
Is your firewall blocking the port?
Re:Apple AirTunes private key extracted
by cultureulterior on Monday April 11, 2011 @11:31AM
(#2432865)
If you disable the IPv6 address on the linux server it works.
Re:Apple AirTunes private key extracted
by cultureulterior on Monday April 11, 2011 @11:36AM
(#2432885)
Which you can do via, for example
sudo /sbin/ip addr del <ipv6address>/<prefixlength> dev ethX
I tried it and iTunes lists it as a device but I cannot activate it in iTunes (if I select it, it immediately unselects itself). From the console output, I see that iTunes even does not try to connect to it (to TCP Port 5000).
I am currently on a Mac so I needed to do some porting (https://github.com/albertz/shairport/) but I think this shouldn't have an impact on the behavior I am getting.