Implement "prev"/"previous" commands.

These commands allow going to the previous entry in the playlist.
develop
Icedream 2015-10-27 22:59:17 +01:00
parent 8ab524467b
commit 824b4b94bd
1 changed files with 2 additions and 0 deletions

View File

@ -207,6 +207,8 @@ ts3clientService.on "started", (ts3proc) =>
vlc.play info.url vlc.play info.url
when "next" when "next"
vlc.playlist.next() vlc.playlist.next()
when "prev", "previous"
vlc.playlist.prev()
when "enqueue", "add", "append" when "enqueue", "add", "append"
inputBB = paramline.trim() inputBB = paramline.trim()
input = (removeBB paramline).trim() input = (removeBB paramline).trim()