+
{$config.STATION_NAME}
diff --git a/client/src/main/Player.svelte b/client/src/main/Player.svelte
index c9b1bb57..bf6152aa 100644
--- a/client/src/main/Player.svelte
+++ b/client/src/main/Player.svelte
@@ -164,7 +164,7 @@
})
-
+
{#if items.length > 0}
{@const item = items[0]}
diff --git a/client/src/main/player/Buttons.svelte b/client/src/main/player/Buttons.svelte
index 5b550a47..7cba18ac 100644
--- a/client/src/main/player/Buttons.svelte
+++ b/client/src/main/player/Buttons.svelte
@@ -19,8 +19,20 @@
export let regenerateNextStopset
$: firstItem = items[0]
+ $: playDisabled =
+ !items.some((item) => item.type === "stopset") || (firstItem.type === "stopset" && firstItem.playing)
+ $: pauseDisabled = firstItem.type !== "stopset" || !firstItem.playing
+
{
+ if (!playDisabled && event.code === "Space") {
+ play()
+ event.preventDefault()
+ }
+ }}
+/>
+
Play
{#if $userConfig.uiMode >= 1}
-