From c5e35f0889fab9bd3478c6b3cdd222f9c612bfda Mon Sep 17 00:00:00 2001 From: Carsten Kvist Date: Wed, 15 Apr 2026 16:58:52 +0200 Subject: [PATCH] Ny live --- linedance-api/app/routers/live.py | 13 +- linedance-api/web/public/live.html | 305 +++++++++++++++++++---------- linedance-app/ui/main_window.py | 16 +- 3 files changed, 213 insertions(+), 121 deletions(-) diff --git a/linedance-api/app/routers/live.py b/linedance-api/app/routers/live.py index bccd6a59..2ce1ef87 100644 --- a/linedance-api/app/routers/live.py +++ b/linedance-api/app/routers/live.py @@ -20,12 +20,13 @@ _live_cache: dict = {} class SongStatus(BaseModel): - title: str - artist: str = "" - status: str = "pending" - position: int - dance: str = "" - duration: int = 0 + title: str + artist: str = "" + status: str = "pending" + position: int + dance: str = "" + duration: int = 0 + is_workshop: bool = False class LiveStatus(BaseModel): diff --git a/linedance-api/web/public/live.html b/linedance-api/web/public/live.html index ce3004b4..487afb13 100644 --- a/linedance-api/web/public/live.html +++ b/linedance-api/web/public/live.html @@ -6,15 +6,13 @@ LineDance — Live