diff --git a/plugin/contents/ui/dancer.html b/plugin/contents/ui/dancer.html index d1d108d..6ab2c94 100644 --- a/plugin/contents/ui/dancer.html +++ b/plugin/contents/ui/dancer.html @@ -1067,12 +1067,8 @@ function fetchTheme() { if (d.rgb) applyTheme(d.rgb); if (d.art_url && d.art_url !== lastArtUrl) { lastArtUrl = d.art_url; - const artSrc = 'file:///tmp/skeledance_art.jpg?' + Date.now(); - const artImg = document.getElementById('albumArtImg'); - console.log('setting art src:', artSrc, 'img el:', !!artImg, 'container opacity:', document.getElementById('albumArt').style.opacity); - artImg.onerror = e => console.log('art img error:', e.type, artImg.src); - artImg.onload = () => console.log('art img loaded OK, naturalSize:', artImg.naturalWidth, artImg.naturalHeight); - artImg.src = artSrc; + document.getElementById('albumArtImg').src = + 'file:///tmp/skeledance_art.jpg?' + Date.now(); } }) .catch(() => {}); diff --git a/plugin/contents/ui/main.qml b/plugin/contents/ui/main.qml index 3b8a662..173dcae 100644 --- a/plugin/contents/ui/main.qml +++ b/plugin/contents/ui/main.qml @@ -24,10 +24,6 @@ WallpaperItem { request.accepted = true } - onJavaScriptConsoleMessage: function(level, message, lineNumber, sourceID) { - var logDs = Qt.createQmlObject('import org.kde.plasma.plasma5support as P5S; P5S.DataSource { engine: "executable" }', webView) - logDs.connectSource("echo '[skeledance] " + message.replace(/'/g, '') + " (line " + lineNumber + ")' >> /tmp/skeledance_console.log") - } } // Start CAVA on load