view persistence fixes for iTunes 5

This commit is contained in:
Ron Pedde 2005-09-23 07:03:19 +00:00
parent ff84e06334
commit ee0c1e361f
4 changed files with 9 additions and 4 deletions

View File

@ -92,4 +92,6 @@ Mark Woehrer
Stefan Bruns
* Speedups for javascript in playlist page, konq fixes, css fixes
blech (from the forums)
* Fixes for iTunes 5 view persistence

View File

@ -156,8 +156,8 @@ void rend_callback(void) {
NULL, /* domain */
NULL, /* host */
msg.port,
"\034Database ID=beddab1edeadbea7", /* text record */
29, /* text record length */
"\011txtvers=1\034Database ID=beddab1edeadbea7", /* text record */
39, /* text record length */
rend_howl_reply,
NULL,
&rend_oid)) != SW_OKAY) {

View File

@ -172,7 +172,7 @@ void rend_callback(void *info) {
DPRINTF(E_DBG,L_REND,"Registering %s.%s (%d)\n",msg.type,msg.name,msg.port);
usPort=msg.port;
dns_ref=DNSServiceRegistrationCreate(msg.name,msg.type,"",usPort,
"Database ID=bedabb1edeadbea7",rend_reply,nil);
"txtvers=1\001Database ID=bedabb1edeadbea7",rend_reply,nil);
if(rend_addtorunloop(dns_ref)) {
DPRINTF(E_WARN,L_REND,"Add to runloop failed\n");
rend_send_response(-1);

View File

@ -89,6 +89,9 @@
Change History (most recent first):
$Log$
Revision 1.26 2005/09/23 07:03:19 rpedde
view persistence fixes for iTunes 5
Revision 1.25 2005/08/16 02:26:32 rpedde
Add interface directive to config file -- fix stderr logging on rendezvous child
@ -464,7 +467,7 @@ void rend_callback(void) {
case REND_MSG_TYPE_REGISTER:
id=rend_get_interface_id(msg.interface);
DPRINTF(E_DBG,L_REND,"Registering %s.%s (%d)\n",msg.name,msg.type,msg.port);
RegisterOneService(msg.name,msg.type,"local.","\034Database ID=beddab1edeadbea7",29,
RegisterOneService(msg.name,msg.type,"local.","\011txtvers=1\034Database ID=beddab1edeadbea7",39,
msg.port,id);
rend_send_response(0); /* success */
break;