From 419b0cb5239a11a6cc3fc49dd90b1dbe1906b4b9 Mon Sep 17 00:00:00 2001 From: LemonNexus Date: Sun, 15 Feb 2026 00:14:35 +0000 Subject: [PATCH] fix: Disable Spotify widget by default The Spotify 'Now Playing' overlay widget was appearing even when the Spotify Controller plugin was not enabled. CHANGES: - Set 'spotify' overlay widget to enabled: False in default settings - Removed Spotify from dashboard default widgets - Both settings.py and settings_secure.py updated The widget can still be manually enabled by users who want it: 1. Edit config/settings.json 2. Set overlay_widgets.spotify.enabled to true 3. Or use the overlay widget controls This fixes the issue where the Spotify widget appeared even when the plugin wasn't enabled. --- core/settings.py | 3 +-- core/settings_secure.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/core/settings.py b/core/settings.py index 3169b9c..5f3232e 100644 --- a/core/settings.py +++ b/core/settings.py @@ -43,14 +43,13 @@ class Settings(QObject): # Dashboard 'dashboard_widgets': [ {'type': 'QuickActions', 'row': 0, 'col': 0}, - {'type': 'Spotify', 'row': 0, 'col': 1}, {'type': 'PEDTracker', 'row': 1, 'col': 0}, {'type': 'SkillProgress', 'row': 1, 'col': 1}, ], # Overlay widgets 'overlay_widgets': { - 'spotify': {'enabled': True, 'x': 0, 'y': 100}, + 'spotify': {'enabled': False, 'x': 0, 'y': 100}, 'skillgain': {'enabled': False, 'x': 0, 'y': 200}, }, diff --git a/core/settings_secure.py b/core/settings_secure.py index 9a5f656..ef454a3 100644 --- a/core/settings_secure.py +++ b/core/settings_secure.py @@ -45,14 +45,13 @@ class Settings(QObject): # Dashboard 'dashboard_widgets': [ {'type': 'QuickActions', 'row': 0, 'col': 0}, - {'type': 'Spotify', 'row': 0, 'col': 1}, {'type': 'PEDTracker', 'row': 1, 'col': 0}, {'type': 'SkillProgress', 'row': 1, 'col': 1}, ], # Overlay widgets 'overlay_widgets': { - 'spotify': {'enabled': True, 'x': 0, 'y': 100}, + 'spotify': {'enabled': False, 'x': 0, 'y': 100}, 'skillgain': {'enabled': False, 'x': 0, 'y': 200}, },