Quoting waldy <[EMAIL PROTECTED]>:

>
> Hi,
>
> I'm converting my Test Match Special plugin to use with Slimserver 6 from 5
> & ran into a little prob.  The squeezebox screen doesnt update.  The Plugin
> parses the match score from the web at given intervals & should update the
> sb display.
>
> I use the following in my sub lines{
>
> Slim::Hardware::IR::setLastIRTime($client,Time::HiRes::time() +
> (Slim::Utils::Prefs::get("screensavertimeout") * 5),);
>
> then a
>
> if (!$last_check || (time() - $last_check) > $interval )  ...  update the
> score
>
> This worked well with slimserver 5,  works on slim 6 but the interval is far
> too long between screen updates.  Any ideas on what has changed?

a whole lot has changed since 5.x.  Triode has almost completely reworked all of
the animation routines to scale down the hit to the cpu.  What you likely need
to add is a single line in your setMode():

$client->param('modeUpdateInterval', 1);

the second param is the number of seconds between updates.  If you can get away
with a longer time, you can use that.

-kdf

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

Reply via email to