Cava: missing files

This commit is contained in:
Lemmy
2025-12-20 21:13:28 -05:00
parent 86a4467eae
commit 4f52df1289
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ Item {
readonly property string cavaComponentId: "bar:mediamini:" + root.screen.name + ":" + root.section + ":" + root.sectionWidgetIndex
readonly property bool needsCava: root.showVisualizer && root.visualizerType !== "" && root.visualizerType !== "none"
onneedsCavaChanged: {
onNeedsCavaChanged: {
if (root.needsCava) {
CavaService.registerComponent(root.cavaComponentId);
} else {
@@ -25,7 +25,7 @@ DraggableDesktopWidget {
visible: !isHidden
// CavaService registration for visualizer
readonly property string cavaComponentId: "desktopmediaplayer:" + (widgetData.id || "default")
readonly property string cavaComponentId: "desktopmediaplayer:" + (root.screen ? root.screen.name : "unknown")
onShouldShowVisualizerChanged: {
if (root.shouldShowVisualizer) {