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:
parent
235cbc4ab8
commit
daaf947be3
1 changed files with 1 additions and 1 deletions
|
|
@ -1068,7 +1068,7 @@ function fetchTheme() {
|
||||||
if (d.art_url && d.art_url !== lastArtUrl) {
|
if (d.art_url && d.art_url !== lastArtUrl) {
|
||||||
lastArtUrl = d.art_url;
|
lastArtUrl = d.art_url;
|
||||||
document.getElementById('albumArtImg').src =
|
document.getElementById('albumArtImg').src =
|
||||||
'file:///tmp/skeledance_art.jpg?' + Date.now();
|
'http://127.0.0.1:8765/art?' + Date.now();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(() => {});
|
.catch(() => {});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue