mikes;393511 Wrote: 
> Pippin,
> I have been using iPeng for a few weeks now.  Love what you have done
> with this app.  I am also interested in figuring out the IRBlaster
> volume up issue.  Felix is the author of the plugin.  It works fine for
> me from both the SBC and the web interface, but not from iPeng.
> 
> Thanks.

I wrote a plugin to deal with the volume changes that SC reports and
then has my Amp respond accordingly.  It works fine with iPeng although
I had to discard many of the messages that iPeng was sending.  I put a
delay on the volume messages for 1/2 second and only process the last
message that comes after the 1/2 second delay.

                # kill any volume changes that may be going on within the timer
                Slim::Utils::Timers::killTimers( $client, \&handleVolChanges);
                # delay the volume changes by .5 second to give the AVP time to 
catch
up
                Slim::Utils::Timers::setTimer( $client, (Time::HiRes::time() + 
.5),
\&handleVolChanges);

This works great if you don't mind the slight pause.


-- 
Aesculus

Chris
------------------------------------------------------------------------
Aesculus's Profile: http://forums.slimdevices.com/member.php?userid=14876
View this thread: http://forums.slimdevices.com/showthread.php?t=55514

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to