aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-07 11:58:12 +0100
committerDanilo M. <danix@danix.xyz>2026-11-07 11:58:12 +0100
commit4a5f1197ec26518f22925dd0b56bc8a1b0dc6729 (patch)
tree4a249cff81209e548da310966db44d8c4564274d
parenta8a8e97a2b8187a49993c774471155346508de47 (diff)
downloadquickshell-4a5f1197ec26518f22925dd0b56bc8a1b0dc6729.tar.gz
quickshell-4a5f1197ec26518f22925dd0b56bc8a1b0dc6729.zip
island: retry the Sonix cover per track
-rw-r--r--desktop/island/SonixPanel.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/island/SonixPanel.qml b/desktop/island/SonixPanel.qml
index 6fff9ce..c884c93 100644
--- a/desktop/island/SonixPanel.qml
+++ b/desktop/island/SonixPanel.qml
@@ -67,7 +67,8 @@ Column {
property int artTry: 0
readonly property string artUrl: p.path
? `${Sonix.base}/api/art?${S.query({ path: p.path, max: 256 })}&t=${artTry}` : ""
- onArtUrlChanged: if (artTry === 0) artRetry.stop()
+ readonly property string artPath: p.path || ""
+ onArtPathChanged: { artTry = 0; artRetry.stop(); }
Timer { id: artRetry; interval: 1000; onTriggered: panel.artTry++ }
spacing: 14