play/pause works

This commit is contained in:
XenGi 2024-02-25 11:09:44 +01:00
parent 83297238c2
commit 671bcd300f
Signed by: xengi
SSH key fingerprint: SHA256:FGp51kRvGOcWnTHiOI39ImwVO4A3fpvR30nPX3LpV7g
4 changed files with 24 additions and 22 deletions

View file

@ -124,7 +124,7 @@ func wsServe(c echo.Context) error {
c.Logger().Error(err)
break
} else {
log.Println(msg)
// log.Print(msg)
if strings.ToLower(msg) == "#status" {
status, err := mpdConn.Status()
if err != nil {