mirror of https://github.com/icedream/ts3bot.git
According to the WebChimera documentation this is not zero-based...
parent
cc783d0bc0
commit
ab18c3cd8f
2
app.iced
2
app.iced
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue