#538 Improved fix for DAAP

v0.69x
closed
Volker
5
2012-10-28
2009-03-24
Alexey Sannikov
No

Hi, Volker!
I'm sorry, but previous fix for DAAP sevice was not fully good.

In Apple Discussions (http://discussions.apple.com/message.jspa?messageID=9199472#9199472) I found new post about this, user CSTROUBLE write:

"A little more info with a correction. According to the RFC (http://files.dns-sd.org/draft-cheshire-dnsext-dns-sd.txt): 'The format of each constituent string within the DNS TXT record is a single length byte, followed by 0-255 bytes of text data.'

So, the TXT record format I provided is not technically correct, and quotes are not necessary (just an artifact of tcpdump formatting). In mDNSResponder on FreeNAS, as audio_n_video points out, there should be multiple lines. This will create the correct TXT record with length bytes. The more correct mdnsresponder.conf entry is

freenas
_daap._tcp. local.
3689
txtvers=1
iTSh Version=131073
Version=196610

(Also note that there's a space between iTSh and Version, which somehow was removed earlier.) While I haven't needed additional key value pairs, iTunes does send out information for Password, Database ID, Machine Name, Machine ID, OSsi (not sure what this is), and Media Kinds Shared (35 from iTunes 8.1)."

I think, need to correct previos patch.
Thanks!

Discussion