Implement "stop-after" command.

This command allows stopping the playlist after the current playlist item is finished.
develop
Icedream 2015-10-27 23:54:36 +01:00
parent d82721128f
commit 18b7d82964
1 changed files with 3 additions and 0 deletions

View File

@ -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