From daaf947be36f93dcb75d8eb78a32e0d750ac74f3 Mon Sep 17 00:00:00 2001 From: ltadeu6 Date: Sun, 7 Jun 2026 10:41:38 -0300 Subject: [PATCH] refactor: load album art directly from http://127.0.0.1:8765/art CORS is now fixed so img.src with http URL works. Remove temp file approach. Co-Authored-By: Claude Sonnet 4.6 --- plugin/contents/ui/dancer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/contents/ui/dancer.html b/plugin/contents/ui/dancer.html index 6ab2c94..c80ec7a 100644 --- a/plugin/contents/ui/dancer.html +++ b/plugin/contents/ui/dancer.html @@ -1068,7 +1068,7 @@ function fetchTheme() { if (d.art_url && d.art_url !== lastArtUrl) { lastArtUrl = d.art_url; document.getElementById('albumArtImg').src = - 'file:///tmp/skeledance_art.jpg?' + Date.now(); + 'http://127.0.0.1:8765/art?' + Date.now(); } }) .catch(() => {});