music-assistant: disable default providers

This commit is contained in:
Sandro Jäckel
2026-06-29 17:39:32 +02:00
parent 44a1f74259
commit e212054453
2 changed files with 16 additions and 0 deletions
@@ -0,0 +1,12 @@
diff --git a/music_assistant/mass.py b/music_assistant/mass.py
index 752f9e0af..9d7b3a521 100644
--- a/music_assistant/mass.py
+++ b/music_assistant/mass.py
@@ -923,6 +923,7 @@ async def _load_providers(self) -> None:
changes_made = False
newly_created_defaults: set[str] = set()
for default_provider, require_mdns in DEFAULT_PROVIDERS:
+ continue
if default_provider in default_providers_setup:
# already processed/setup before, skip
continue
@@ -80,6 +80,10 @@ pythonPackages.buildPythonApplication rec {
# ^^^^^^^^^^^^^^^
# E IndexError: tuple index out of range
./fix-webserver-tests-in-sandbox.patch
# As providers must be configured through the nixos module, there is no gain
# if Music Assistant tries to enable some of them without the proper dependencies.
./disable-default-provider.diff
];
postPatch = ''