Is there a recommended way to check that my plugin still "owns" the
client?

Keep track of the URL playing. If it has changed when your timer triggers, then don't do anything.

Alternative approach could be a registration to be called on
stop/pause/switch-away then I could killtimers - but I have not found a
registration like that.

subscribe takes commands as arguments. You might want to listen to "playlist play/stop/pause" etc.

--

Michael
_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to