mirror of https://github.com/icedream/ts3bot.git
This indenting stuff still sometimes doesn't really want to work out I guess...
parent
7966bfb056
commit
b238a655b9
13
app.iced
13
app.iced
|
@ -233,19 +233,6 @@ ts3clientService.on "started", (ts3proc) =>
|
||||||
when "empty", "clear"
|
when "empty", "clear"
|
||||||
vlc.playlist.clear()
|
vlc.playlist.clear()
|
||||||
ts3query.sendtextmessage args.targetmode, invoker.id, "Cleared the playlist."
|
ts3query.sendtextmessage args.targetmode, invoker.id, "Cleared the playlist."
|
||||||
###
|
|
||||||
when "list", "playlist"
|
|
||||||
message = "Currently there are #{vlc.playlist.items.count} tracks are in the playlist"
|
|
||||||
message += if vlc.playlist.items.count > 0 then ":\n" else "."
|
|
||||||
for i in [ 0 ... vlc.playlist.items.count ]
|
|
||||||
if vlc.playlist.currentItem == i
|
|
||||||
message += "[COLOR=green][B]"
|
|
||||||
info = vlcMediaInfo[vlc.playlist.items[i].mrl]
|
|
||||||
message += "#{i + 1}. [URL=#{info.originalUrl}]#{info.title}[/URL]"
|
|
||||||
if vlc.playlist.currentItem == i
|
|
||||||
message += "[/B][/COLOR]"
|
|
||||||
ts3query.sendtextmessage args.targetmode, invoker.id, message
|
|
||||||
###
|
|
||||||
when "enqueue", "add", "append"
|
when "enqueue", "add", "append"
|
||||||
inputBB = paramline.trim()
|
inputBB = paramline.trim()
|
||||||
input = (removeBB paramline).trim()
|
input = (removeBB paramline).trim()
|
||||||
|
|
Loading…
Reference in New Issue