Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the 'Reach local iTunes library over the net' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Reach local iTunes library over the net
Authored by: incanus on Tue, May 26 2009 at 9:49PM PDT

I too saw this problem with Meerkat and iTunes 8.1, but I discovered a fix for it. I'm not sure how it translates to the dns-sd tool, but this is the Cocoa code that I use:

NSDictionary *txt = [NSDictionary dictionaryWithObjectsAndKeys:
    [@"1" dataUsingEncoding:NSUTF8StringEncoding], @"txtvers",
    [@"131073" dataUsingEncoding:NSUTF8StringEncoding], @"iTSh Version",
    [@"196610" dataUsingEncoding:NSUTF8StringEncoding], @"Version",
    nil];

NSData *txtData = [NSNetService dataFromTXTRecordDictionary:txt];

[bonjourServer setTXTRecordData:txtData];

It adds some protocol-specific options that have always been there, but that iTunes just started requiring. The above equate to an advertised iTunes version 6.0.4, which is the oldest one I could see in use on most networks.



[ Reply to This | # ]