From d23a77e572df8c02fe23c89fe8b3e2f383575c1c Mon Sep 17 00:00:00 2001 From: Charles Ewert Date: Sat, 28 Sep 2024 19:40:14 -0400 Subject: [PATCH] fix api endpoint for finished state --- components/PlaystateTask.bs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/PlaystateTask.bs b/components/PlaystateTask.bs index ff8d8f5e..556ab52f 100644 --- a/components/PlaystateTask.bs +++ b/components/PlaystateTask.bs @@ -8,9 +8,9 @@ end sub sub PlaystateUpdate() if m.top.status = "start" url = "Sessions/Playing" - else if m.top.status = "stop" + else if m.top.status = "stop" or m.top.status = "finished" url = "Sessions/Playing/Stopped" - else if m.top.status = "update" or m.top.status = "finished" + else if m.top.status = "update" url = "Sessions/Playing/Progress" else ' Unknown State