diff options
Diffstat (limited to 'desktop')
| -rw-r--r-- | desktop/island/SonixPanel.qml | 3 |
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 |
