From: Eric Munson Date: Sun, 18 Aug 2024 19:17:31 +0000 (-0400) Subject: Remove the handle_async_init() call from provider __init__.py (#1576) X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=af9561162ca49d7314793b573d235e61a9b39897;p=music-assistant-server.git 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 --- 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(