Fix SMB Music provider (#540)
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Fri, 17 Mar 2023 08:25:29 +0000 (09:25 +0100)
committerGitHub <noreply@github.com>
Fri, 17 Mar 2023 08:25:29 +0000 (09:25 +0100)
commit7034b7001cbd2f1ef688558ad3048654b8326b3b
treeb1082c678efb8686157d5ca2598c53ab3451e9b4
parent86edd56859c1d0d43fe9251e9050990677456532
Fix SMB Music provider (#540)

Create a single connection per action. This a bit slower but much more
reliable.
Now it seems to handle all test cases I throw at it just fine.

Also adjust the configuration a bit and split out the path into
server/host, share and subfolder
music_assistant/common/helpers/util.py
music_assistant/common/models/media_items.py
music_assistant/server/helpers/audio.py
music_assistant/server/providers/filesystem_local/base.py
music_assistant/server/providers/filesystem_smb/__init__.py
music_assistant/server/providers/filesystem_smb/helpers.py
music_assistant/server/providers/filesystem_smb/manifest.json