Subsonic: fix cover art resolution (#1108)
authorEric Munson <eric@munsonfam.org>
Sun, 25 Feb 2024 22:17:51 +0000 (17:17 -0500)
committerGitHub <noreply@github.com>
Sun, 25 Feb 2024 22:17:51 +0000 (23:17 +0100)
music_assistant/server/providers/opensubsonic/sonic_provider.py

index 5c432e7f28a67e03d0bc8f4b5df991c6eea4aaa3..0d4f8ebb8ee71f5c44446a15e13621ce7ae937d0 100644 (file)
@@ -404,7 +404,7 @@ class OpenSonicProvider(MusicProvider):
             with self._conn.getCoverArt(path) as art:
                 return art.content
 
-        await asyncio.to_thread(_get_cover_art)
+        return await asyncio.to_thread(_get_cover_art)
 
     async def search(
         self, search_query: str, media_types: list[MediaType] | None = None, limit: int = 20