From 9417e337087c360b9a32243960d98cbc8d3d6283 Mon Sep 17 00:00:00 2001 From: icedream Date: Wed, 28 Oct 2015 00:14:44 +0100 Subject: [PATCH] Small fix for "prev" not giving an error when in empty playlist. --- app.iced | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.iced b/app.iced index 834b5f2..cf5006f 100644 --- a/app.iced +++ b/app.iced @@ -232,7 +232,7 @@ ts3clientService.on "started", (ts3proc) => return vlc.playlist.next() when "prev", "previous" - if vlc.playlist.mode != vlc.playlist.Loop and vlc.playlist.currentItem == 0 + if vlc.playlist.mode != vlc.playlist.Loop and vlc.playlist.currentItem <= 0 ts3query.sendtextmessage args.targetmode, invoker.id, "Can't jump to previous playlist item, this is the first one!" return vlc.playlist.prev()