From d61d85e020cfaab777ad7aef978b204df776485f Mon Sep 17 00:00:00 2001 From: icedream Date: Tue, 27 Oct 2015 23:18:13 +0100 Subject: [PATCH] Got the right CoffeeScript syntax for this loop now. --- app.iced | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.iced b/app.iced index da79b65..ac0a8b1 100644 --- a/app.iced +++ b/app.iced @@ -214,7 +214,7 @@ ts3clientService.on "started", (ts3proc) => ts3query.sendtextmessage args.targetmode, invoker.id, "Cleared the playlist." when "list", "playlist" message = "Currently these tracks are in the playlist:\n" - for i in [ 1 .. vlc.playlist.items.count ] + for i in [ 0 ... vlc.playlist.items.count ] if vlc.playlist.currentItem == i message += "[COLOR=green][B]" info = vlcMediaInfo[vlc.playlist.items[i].mrl]