web interface add delete file function, debug

This commit is contained in:
Terry Geng
2020-02-05 10:14:56 +08:00
parent a4128e1dc9
commit c25fad8be0
3 changed files with 37 additions and 6 deletions

View File

@ -608,6 +608,9 @@ class MumbleBot:
def launch_music(self, index=-1):
uri = ""
music = None
if var.playlist.length() == 0:
return
if index == -1:
music = var.playlist.current_item()
else: