Hi,
Congratulations for your scripts. However there was a simpler
solution. For dropping the currently playing song, skipping is the
only way. When I said that, I thought it was clear that for other
requests in the queue, there are other ways. They will make for
simpler scripts are cleaner streams.
With a queue you can skip a queued request. This won't make it
disappear but it'll be ignored when time comes to be played. So you
could (1) get the list of all queued RID using "<queue>.queue" (2)
ignore them all ("<queue>.ignore" server command) (3) skip the first
one, after which everything will be gone.
With an editable queue (request.equeue) you actually have a remove command.
I apologize in advance for the annoyance of using this mix of script
and server commands. Initially it was all server commands, now the
scripts have taken over. It'll get better in the future when
everything is integrated nicely as scripts.
Cheers,
--
David
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users