mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-25 06:35:57 -05:00
view persistence fixes for iTunes 5
This commit is contained in:
parent
ff84e06334
commit
ee0c1e361f
2
CREDITS
2
CREDITS
@ -92,4 +92,6 @@ Mark Woehrer
|
|||||||
Stefan Bruns
|
Stefan Bruns
|
||||||
* Speedups for javascript in playlist page, konq fixes, css fixes
|
* Speedups for javascript in playlist page, konq fixes, css fixes
|
||||||
|
|
||||||
|
blech (from the forums)
|
||||||
|
* Fixes for iTunes 5 view persistence
|
||||||
|
|
||||||
|
@ -156,8 +156,8 @@ void rend_callback(void) {
|
|||||||
NULL, /* domain */
|
NULL, /* domain */
|
||||||
NULL, /* host */
|
NULL, /* host */
|
||||||
msg.port,
|
msg.port,
|
||||||
"\034Database ID=beddab1edeadbea7", /* text record */
|
"\011txtvers=1\034Database ID=beddab1edeadbea7", /* text record */
|
||||||
29, /* text record length */
|
39, /* text record length */
|
||||||
rend_howl_reply,
|
rend_howl_reply,
|
||||||
NULL,
|
NULL,
|
||||||
&rend_oid)) != SW_OKAY) {
|
&rend_oid)) != SW_OKAY) {
|
||||||
|
@ -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);
|
DPRINTF(E_DBG,L_REND,"Registering %s.%s (%d)\n",msg.type,msg.name,msg.port);
|
||||||
usPort=msg.port;
|
usPort=msg.port;
|
||||||
dns_ref=DNSServiceRegistrationCreate(msg.name,msg.type,"",usPort,
|
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)) {
|
if(rend_addtorunloop(dns_ref)) {
|
||||||
DPRINTF(E_WARN,L_REND,"Add to runloop failed\n");
|
DPRINTF(E_WARN,L_REND,"Add to runloop failed\n");
|
||||||
rend_send_response(-1);
|
rend_send_response(-1);
|
||||||
|
@ -89,6 +89,9 @@
|
|||||||
Change History (most recent first):
|
Change History (most recent first):
|
||||||
|
|
||||||
$Log$
|
$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
|
Revision 1.25 2005/08/16 02:26:32 rpedde
|
||||||
Add interface directive to config file -- fix stderr logging on rendezvous child
|
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:
|
case REND_MSG_TYPE_REGISTER:
|
||||||
id=rend_get_interface_id(msg.interface);
|
id=rend_get_interface_id(msg.interface);
|
||||||
DPRINTF(E_DBG,L_REND,"Registering %s.%s (%d)\n",msg.name,msg.type,msg.port);
|
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);
|
msg.port,id);
|
||||||
rend_send_response(0); /* success */
|
rend_send_response(0); /* success */
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user