From 18b7d8296447e6dbfd8dfa82e7810e602294e40d Mon Sep 17 00:00:00 2001 From: icedream Date: Tue, 27 Oct 2015 23:54:36 +0100 Subject: [PATCH] Implement "stop-after" command. This command allows stopping the playlist after the current playlist item is finished. --- app.iced | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app.iced b/app.iced index e009421..b8e8fb1 100644 --- a/app.iced +++ b/app.iced @@ -205,6 +205,9 @@ ts3clientService.on "started", (ts3proc) => # play it in VLC 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" inputBB = paramline input = null