diff --git a/src/App.css b/src/App.css index 004e52f..4131396 100644 --- a/src/App.css +++ b/src/App.css @@ -100,7 +100,6 @@ html, body, #root { .mediaButtons button{ width: 32%; height: 95%; - border-radius: 20%; border-style: none; margin: .5%; } @@ -159,4 +158,4 @@ button{ .player{ height: 20%; -} \ No newline at end of file +} diff --git a/src/api.ts b/src/api.ts index beed1ff..45b7906 100644 --- a/src/api.ts +++ b/src/api.ts @@ -78,6 +78,7 @@ interface TimeslotItemCentral { interface TimeslotItemAux { type: "aux"; + artist: null; summary: string; managedid: number; recordid: string; diff --git a/src/showplanner/index.tsx b/src/showplanner/index.tsx index 9d19649..3c9f29c 100644 --- a/src/showplanner/index.tsx +++ b/src/showplanner/index.tsx @@ -110,32 +110,59 @@ function Player({ id }: { id: number }) { return (
+ + +
+
+ +
+

+ {playerState.loadedItem !== null + && playerState.loading == false + ? playerState.loadedItem.title + : (playerState.loading ? `LOADING` : "No Media Selected")} +

+

+ + {playerState.loadedItem !== null + && playerState.loading == false + ? playerState.loadedItem.artist + : ""}  + +

+
+
+ + + +
+
+

Time / {playerState.loadedItem !== null ? playerState.loadedItem.length : "Empty"}

+
+
+
+ + +
- {playerState.loadedItem !== null && playerState.loading == false - ? playerState.loadedItem.title - : "No Media Selected"}{" "} - {playerState.loading && LOADING} -
-
- - - +
+