From 1175f8840118a8b824b57929fea7131abee09569 Mon Sep 17 00:00:00 2001 From: Neshura Date: Mon, 22 Apr 2024 20:05:27 +0200 Subject: [PATCH] Add Various Title Displays --- src/routes/+page.svelte | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index c49c468..01e802d 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -17,6 +17,9 @@ let title = $state(""); let queueIndex = $state(0); let currentSong = $state({ + data: { + title, + }, queueIndex }); let isPaused = $state(true); @@ -167,6 +170,11 @@ }) + + Lytter - {currentSong.data.title}({currentSong.data.artist}) + + +

Left Sidebar

@@ -180,7 +188,7 @@
-

Song: {title}

+

Song: {currentSong.data.title}

Volume: {volume}

{displayTime(progress)}/{displayTime(duration)}

{progressPercent().toFixed(2)}%