From 71ee3698527331ad3207b27a9f08a554c4fb7576 Mon Sep 17 00:00:00 2001 From: Adam French Date: Mon, 24 Nov 2025 00:13:38 +0000 Subject: [PATCH] if no song is playing --- html/index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/html/index.html b/html/index.html index e80db5d..354bb71 100644 --- a/html/index.html +++ b/html/index.html @@ -20,6 +20,11 @@ "https://www.adam-french.co.uk/api/spotify", ); const data = await res.json(); + if (this.playing == false) { + this.album_image = "/img/Untitled.png"; + return; + } + this.album_image = data.album_image; this.artist_name = data.artist_name; this.song_name = data.song_name;