Skip to content

Commit

Permalink
Remove the handle_async_init() call from provider __init__.py (music-…
Browse files Browse the repository at this point in the history
…assistant#1576)

This is moving to the core server, no need to do it in each provider.

Signed-off-by: Eric B Munson <[email protected]>
  • Loading branch information
khers authored Aug 18, 2024
1 parent 5eb08d5 commit af95611
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions music_assistant/server/providers/opensubsonic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit af95611

Please sign in to comment.