Subsonic: Add debug statement for resolving cover art (#2500)
authorEric Munson <eric@munsonfam.org>
Sun, 12 Oct 2025 14:41:40 +0000 (10:41 -0400)
committerGitHub <noreply@github.com>
Sun, 12 Oct 2025 14:41:40 +0000 (16:41 +0200)
I am seeing failures in the request claiming there is no cover art path
provided. I want to see this value when the failures occur.

Signed-off-by: Eric B Munson <eric@munsonfam.org>
music_assistant/providers/opensubsonic/sonic_provider.py

index 981c92b63e6ca6f0d26dee57e168b06a23f0619f..c5b6b3af775a943ce679f2872ff5a6937f828a5c 100644 (file)
@@ -176,6 +176,7 @@ class OpenSonicProvider(MusicProvider):
 
     async def resolve_image(self, path: str) -> bytes | Any:
         """Return the image."""
+        self.logger.debug("Requesting cover art for '%s'", path)
 
         def _get_cover_art() -> bytes | Any:
             try: