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.
This commit is contained in:
LemonNexus 2026-02-15 00:14:35 +00:00
parent b0f3b0b00c
commit 419b0cb523
2 changed files with 2 additions and 4 deletions

View File

@ -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},
},

View File

@ -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},
},