CC-3852: Liquidsoap source.skip just skip current item in the queue instead of all the items in the queue
-replace queue.ignore with queue.remove
This commit is contained in:
parent
c336ac4575
commit
dc789b808d
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ def add_skip_command(s)
|
||||||
# get playing (active) queue and flush it
|
# get playing (active) queue and flush it
|
||||||
l = list.hd(server.execute("queue.secondary_queue"))
|
l = list.hd(server.execute("queue.secondary_queue"))
|
||||||
l = string.split(separator=" ",l)
|
l = string.split(separator=" ",l)
|
||||||
list.iter(fun (rid) -> ignore(server.execute("queue.ignore #{rid}")), l)
|
list.iter(fun (rid) -> ignore(server.execute("queue.remove #{rid}")), l)
|
||||||
|
|
||||||
l = list.hd(server.execute("queue.primary_queue"))
|
l = list.hd(server.execute("queue.primary_queue"))
|
||||||
l = string.split(separator=" ", l)
|
l = string.split(separator=" ", l)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue