feat(qt): Settings > Storage — every on-disk cache in one section

Offline downloads, the artwork cache, the lyrics cache, the Plex mirror and
the playback cache (memory profile + storage folder) move to a new Storage
section, each row keeping the bridge verb it had. Offline keeps the mode
rows, Playback keeps the behaviour rows, Plex keeps Disconnect.

cc
This commit is contained in:
vicrodh committed 2026-09-13 09:09:30 -06:00
1 parent 903952cacb
commit 29710342a2
15 files changed
+551 -368

No files matched your search

@@ -451,26 +451,5 @@ Column {
}
}
}
SettingRow { kioskHost: root.kioskHost;
label: QbzSession.tr("Clear cache", QbzSession.trRev)
description: QbzSession.tr("Remove cached Plex libraries and tracks. Your sign-in is kept.", QbzSession.trRev)
SettingsButton { kioskHost: root.kioskHost;
danger: true
text: QbzSession.tr("Clear cache", QbzSession.trRev)
enabled: root.plex.hasToken === true
// plex_auth.rs:997-1001 — one prompt, sign-in kept.
onClicked: {
if (!root.confirmHost) {
QbzBridge.settingsString("plex-clear-cache", "")
return
}
root.confirmHost.ask(
QbzSession.tr("Clear Plex cache?", QbzSession.trRev),
QbzSession.tr("This removes cached Plex libraries and tracks. Your sign-in is kept.", QbzSession.trRev),
QbzSession.tr("Clear cache", QbzSession.trRev),
function () { QbzBridge.settingsString("plex-clear-cache", "") })
}
}
}
}
}