From bd95aed613a5c895f2177272026079a58d020bd7 Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Sun, 19 Mar 2023 10:00:23 +0100 Subject: [PATCH] Fix for adding new provider (#550) Adding a new provider caused a keyerror on fresh installs --- music_assistant/server/controllers/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/music_assistant/server/controllers/config.py b/music_assistant/server/controllers/config.py index f3dd8145..029fdf6a 100644 --- a/music_assistant/server/controllers/config.py +++ b/music_assistant/server/controllers/config.py @@ -397,7 +397,7 @@ class ConfigController: # all checks passed, return a default config return ProviderConfig.parse( - prov.config_entries, + DEFAULT_PROVIDER_CONFIG_ENTRIES + tuple(prov.config_entries), { "type": manifest.type.value, "domain": manifest.domain, -- 2.34.1