diff --git a/music_assistant/server/helpers/images.py b/music_assistant/server/helpers/images.py index 4b015eee2..cf0652b34 100644 --- a/music_assistant/server/helpers/images.py +++ b/music_assistant/server/helpers/images.py @@ -26,6 +26,7 @@ async def get_image_data(mass: MusicAssistant, path_or_url: str, provider: str) -> bytes: """Create thumbnail from image url.""" # TODO: add local cache here ! + """ if prov := mass.get_provider(provider): prov: MusicProvider | MetadataProvider if resolved_image := await prov.resolve_image(path_or_url): @@ -49,6 +50,7 @@ async def get_image_data(mass: MusicAssistant, path_or_url: str, provider: str) if img_data := await get_embedded_image(path_or_url): return img_data msg = f"Image not found: {path_or_url}" + """ raise FileNotFoundError(msg)