According to the WebChimera documentation this is not zero-based...

develop
Icedream 2015-10-27 23:12:47 +01:00
parent cc783d0bc0
commit ab18c3cd8f
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ ts3clientService.on "started", (ts3proc) =>
ts3query.sendtextmessage args.targetmode, invoker.id, "Cleared the playlist." ts3query.sendtextmessage args.targetmode, invoker.id, "Cleared the playlist."
when "list", "playlist" when "list", "playlist"
message = "Currently these tracks are in the playlist:\n" message = "Currently these tracks are in the playlist:\n"
for i in [ 0 .. vlc.playlist.items.count ] for i in [ 1 .. vlc.playlist.items.count ]
if vlc.playlist.currentItem == i if vlc.playlist.currentItem == i
message += "[COLOR=green][B]" message += "[COLOR=green][B]"
info = vlcMediaInfo[vlc.playlist.items[i].mrl] info = vlcMediaInfo[vlc.playlist.items[i].mrl]