Refactor image handling a bit (#579)
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Mon, 27 Mar 2023 07:25:13 +0000 (09:25 +0200)
committerGitHub <noreply@github.com>
Mon, 27 Mar 2023 07:25:13 +0000 (09:25 +0200)
commit92ef2e70f842ae38ea430350094a59cc36a6cc77
treeed149a4cd330a1ec344a382dc365b218425bcc18
parent69ee07bdf630ef65ab323a13ea47154bdff48f97
Refactor image handling a bit (#579)

* Add some additional guard for unavailable players

* Generalize image resolving

* adjust docstring
music_assistant/common/models/media_items.py
music_assistant/server/controllers/config.py
music_assistant/server/controllers/metadata.py
music_assistant/server/controllers/players.py
music_assistant/server/helpers/images.py
music_assistant/server/models/music_provider.py
music_assistant/server/providers/filesystem_local/base.py