Ah. That was a bit optimistic wasn't it?
If you're happy editing the code try adding the 2nd line:
$params->{refresh} = ($players{$macaddress}->remaining - $elapsed + 5);
$params->{refresh} = $lastfm_timeout if ($params->{refresh} <= 0);
James
--------------------------------------------------------
NOTICE: If received in error, please destroy and notify sender. Sender does
not waive confidentiality or privilege, and use is prohibited.
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins