From 70279c4c62ae4180706c0d27c5bbcf275c903100 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 21 May 2023 21:24:27 +0200 Subject: continue playback when adding a song to an empty queue Now WRMS only switches the playback state when an admin calls the /playpause endpoint. When the queue runs out of songs the state is kept and continues when a new song is added. --- web/client.html | 1 - 1 file changed, 1 deletion(-) (limited to 'web') diff --git a/web/client.html b/web/client.html index 77a4bfe..a4818af 100644 --- a/web/client.html +++ b/web/client.html @@ -170,7 +170,6 @@ } function handleStop() { - {{if .IsAdmin}} document.getElementById("ppbutton").innerHTML = 'Play'; {{end}} playing = document.getElementById("playing").innerHTML = ""; } -- cgit v1.2.3