diff --git a/app.iced b/app.iced index 6f25ac5..9f44b77 100644 --- a/app.iced +++ b/app.iced @@ -191,7 +191,8 @@ ts3clientService.on "started", (ts3proc) => ts3query.sendtextmessage args.targetmode, invoker.id, "Now playing [URL=#{input}]#{info.title}[/URL]." when "stop" - vlc.status.stop() + await vlc.status.stop defer(err) + vlc.status.empty() ts3query.sendtextmessage args.targetmode, invoker.id, "Stopped playback."