Roland0 wrote: 
> You'd have to introduce a global variable to be used for locking (e.g.
> $Plugins::LMSannounce::Plugin::globalProcessingLock). Check and set in
> handleJSONP(), unset in playlistStoppedCallback() and anywhere the
> plugin may stop processing due to error conditions (probably all
> announce* subs)

I tried that but I was still able to leave the SBs hanging at high
volume and/or without restarting their playlist. It seems handleJSONP()
still gets called on every http GET and interrupts
playlistStoppedCallback() before it can reset the SBs to their previous
state. I think I'd have to somehow un-dispatch the LMSannounce URL
temporarily? Is that even a thing?


------------------------------------------------------------------------
KVerb's Profile: http://forums.slimdevices.com/member.php?userid=72032
View this thread: http://forums.slimdevices.com/showthread.php?t=109096

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

Reply via email to