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 <noreply@anthropic.com>
This commit is contained in:
ltadeu6 2026-06-07 10:41:38 -03:00
parent 235cbc4ab8
commit daaf947be3
No known key found for this signature in database
GPG key ID: FB9FDAB6B6F3418D

View file

@ -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(() => {});