[Slim-Checkins] r12777 - /trunk/server/Slim/Control/Queries.pm
adrian at svn.slimdevices.com
adrian at svn.slimdevices.com
Wed Aug 29 07:41:17 PDT 2007
Author: adrian
Date: Wed Aug 29 07:41:16 2007
New Revision: 12777
URL: http://svn.slimdevices.com?rev=12777&view=rev
Log:
Bug: N/A
Description: don't send frequent status updates during volume changes
(it increases volume display jitter on jive)
Modified:
trunk/server/Slim/Control/Queries.pm
Modified: trunk/server/Slim/Control/Queries.pm
URL: http://svn.slimdevices.com/trunk/server/Slim/Control/Queries.pm?rev=12777&r1=12776&r2=12777&view=diff
==============================================================================
--- trunk/server/Slim/Control/Queries.pm (original)
+++ trunk/server/Slim/Control/Queries.pm Wed Aug 29 07:41:16 2007
@@ -2446,7 +2446,7 @@
return 0 if $clientid ne $self->clientid();
# commands we ignore
- return 0 if $request->isCommand([['ir', 'button', 'debug', 'pref', 'display']]);
+ return 0 if $request->isCommand([['ir', 'button', 'debug', 'pref', 'display', 'prefset']]);
return 0 if $request->isCommand([['playlist'], ['open', 'jump']]);
# special case: the client is gone!
@@ -2469,10 +2469,16 @@
}
}
- # don't delay for newsong or playerpref (name change)
- if ($request->isCommand([['playlist'], ['newsong'], ['playerpref']])) {
+ # don't delay for newsong
+ if ($request->isCommand([['playlist'], ['newsong']])) {
return 1;
+ }
+
+ # suppress frequent updates during volume changes
+ if ($request->isCommand([['mixer'], ['volume']])) {
+
+ return 3;
}
# send everyother notif with a small delay to accomodate
More information about the checkins
mailing list