mirror of https://github.com/icedream/ts3bot.git
Implement "stop-after" command.
This command allows stopping the playlist after the current playlist item is finished.develop
parent
d82721128f
commit
18b7d82964
3
app.iced
3
app.iced
|
@ -205,6 +205,9 @@ ts3clientService.on "started", (ts3proc) =>
|
||||||
|
|
||||||
# play it in VLC
|
# play it in VLC
|
||||||
vlc.play info.url
|
vlc.play info.url
|
||||||
|
when "stop-after"
|
||||||
|
vlc.playlist.mode = vlc.playlist.Single
|
||||||
|
ts3query.sendtextmessage args.targetmode, invoker.id, "Playback will stop after the current playlist item."
|
||||||
when "loop"
|
when "loop"
|
||||||
inputBB = paramline
|
inputBB = paramline
|
||||||
input = null
|
input = null
|
||||||
|
|
Loading…
Reference in New Issue