Anyway, since it only affects the -post-scan refresh- I'll try a
workaround and add a dedicated post-scan function that calls the refresh
function unless it's been done in the last 30 seconds or so.

What I sometimes do in such situations is to Slim::Utils::Timers::setTimer(), and first thing the handler would do _before_ setting the timer, is to kill any current timer for the respective function. That would make sure we only run once in the given delay.
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to