From c89bf3bf1a1106b8f9186ec55d3be5001be871f0 Mon Sep 17 00:00:00 2001 From: Roscoe Date: Sat, 30 Aug 2025 04:55:26 +0100 Subject: [PATCH] fix???? --- app/View/Components/LastFMCurrent.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/View/Components/LastFMCurrent.php b/app/View/Components/LastFMCurrent.php index c74c080..212308b 100644 --- a/app/View/Components/LastFMCurrent.php +++ b/app/View/Components/LastFMCurrent.php @@ -18,9 +18,9 @@ public function __construct($track) { $path = parse_url($track["image"], PHP_URL_PATH); if ($track["image"] === "") { $this->artUrl = null; - return; + } else { + $this->artUrl = "//" . request()->getHttpHost() . "/proxy/lastfm/" . basename($path); } - $this->artUrl = "//".request()->getHttpHost()."/proxy/lastfm/".basename($path); } else { $this->artUrl = $track["image"]; }