fix api endpoint for finished state

This commit is contained in:
Charles Ewert 2024-09-28 19:40:14 -04:00
parent 5e35ffa49f
commit d23a77e572

View File

@ -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