From af9561162ca49d7314793b573d235e61a9b39897 Mon Sep 17 00:00:00 2001 From: Eric Munson Date: Sun, 18 Aug 2024 15:17:31 -0400 Subject: [PATCH] Remove the handle_async_init() call from provider __init__.py (#1576) This is moving to the core server, no need to do it in each provider. Signed-off-by: Eric B Munson --- music_assistant/server/providers/opensubsonic/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/music_assistant/server/providers/opensubsonic/__init__.py b/music_assistant/server/providers/opensubsonic/__init__.py index efbbcd69..4f6a42f6 100644 --- a/music_assistant/server/providers/opensubsonic/__init__.py +++ b/music_assistant/server/providers/opensubsonic/__init__.py @@ -29,9 +29,7 @@ async def setup( mass: MusicAssistant, manifest: ProviderManifest, config: ProviderConfig ) -> ProviderInstanceType: """Initialize provider(instance) with given configuration.""" - prov = OpenSonicProvider(mass, manifest, config) - await prov.handle_async_init() - return prov + return OpenSonicProvider(mass, manifest, config) async def get_config_entries( -- 2.34.1