6 ms·
Has someone tried it and was able to play something? I tried it and iTunes lists it as a device but I cannot activate it in iTunes (if I select it, it immediat
by albertzeyer 16y ago
Has someone tried it and was able to play something?
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/ https://github.com/albertz/shairport/) but I think this shouldn't have an impact on the behavior I am getting.
- snotrockets 16y agoAuthor states this is broken on a Mac.
- albertzeyer 16y agoThat 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.
- chopsueyar 16y agoIs your firewall blocking the port?
- deleted 16y ago[deleted]
- rjyo 16y agoI 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/ https://github.com/albertz/shairport/
- cultureulterior 16y agoIf you disable the IPv6 address on the linux server it works.
- cultureulterior 16y agoWhich you can do via, for example sudo /sbin/ip addr del <ipv6address>/<prefixlength> dev ethX
- askedrelic 16y agoSweet, 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!
- albertzeyer 16y agoWith 0.03 and some further fixes, it also works on localhost now.
- rafd 16y agoWorks great! Many thanks for the port.