Replies: 2 comments 1 reply
-
Hi @FGP-Radio, server.register(
namespace=source.id(s),
description="Flush the queue and skip the current track",
"flush_and_skip",
fun (_) ->
try
s.set_queue([])
s.skip()
"Done."
catch err do
"Error while flushing and skipping source: #{err}"
end
) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hmm @vitoyucepi, I may be (probably am) implementing it wrong but I am getting a syntax error on the lines "s.set_queue([])", "s.skip()", and "Done.". Here is the way that I tried to implement it:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here's a request I've got for the Telnet interface, which I don't think would be too hard to implement. At this time, if I want to ignore/disable all the tracks in the queue, I have to go one by one and name each RID number in this fashion "queue.ignore ". It would be great to have a command like "queue.ignore all" that would ignore all the upcoming tracks in one shot rather than going one by one.
Beta Was this translation helpful? Give feedback.
All reactions