jasonmc / forked-daapd

A re-write of the firefly media server (mt-daapd). It's released under GPLv2+. Please note that this git repository is a mirror of the official one at git://git.debian.org/~jblache/forked-daapd.git
http://blog.technologeek.org/2009/06/12/217
GNU General Public License v2.0
326 stars 45 forks source link

_raop._tcp resolving to linklocal address #8

Open ghost opened 14 years ago

ghost commented 14 years ago

Hi All,

I am trying a snapshot of forked-daapd (jul 20th time frame, avahi version is 0.6.27) with an airtunes device and iPod Touch remote. The iPod touch remote does not list the speakers connected to the air tunes device. On furthur debugging i find that the forked-daapd is failing to build the list of speakers connected on the network. During initialization when the _raop._tcp service is being resolved the airTunes device is returning two ip addresses(169.254.236.174, configured ip address). Since avahi returns only one of the addresses, it is the returning the link local address (169.254.236.174). The browse_resolve_callback() ignores this address and does not invoke the call back which builds the list of remote speakers.

How is forked-daapd expected to behave in this scenario (when multiple IP address are returned during resolution) . Do we need to add additional code to browse all the records in the mDNS response ?

Thanks in advance Samba

ghost commented 14 years ago

Hi,

Can someone tell me with which version of Airport Express firmware is forked-daapd working. I am hitting the above issue (even withe the latest checked out code from the master branch). The Airport Express firmware version that i am using is 7.4.2