From 2d8fcfef1864992500c1cfbf1c22bc8ebcdd4693 Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Wed, 10 Dec 2025 21:40:24 +0100 Subject: [PATCH] fix filesystem provider filter --- music_assistant/providers/filesystem_local/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/music_assistant/providers/filesystem_local/__init__.py b/music_assistant/providers/filesystem_local/__init__.py index 659a0729..4d236e65 100644 --- a/music_assistant/providers/filesystem_local/__init__.py +++ b/music_assistant/providers/filesystem_local/__init__.py @@ -193,6 +193,8 @@ class LocalFileSystemProvider(MusicProvider): if self.media_content_type == "podcasts": return {ProviderFeature.LIBRARY_PODCASTS, *base_features} music_features = { + ProviderFeature.LIBRARY_ALBUMS, + ProviderFeature.LIBRARY_ARTISTS, ProviderFeature.LIBRARY_TRACKS, ProviderFeature.LIBRARY_PLAYLISTS, *base_features, @@ -320,6 +322,9 @@ class LocalFileSystemProvider(MusicProvider): async def sync_library(self, media_type: MediaType) -> None: """Run library sync for this provider.""" + if media_type in (MediaType.ARTIST, MediaType.ALBUM): + # artists and albums are synced as part of track sync + return assert self.mass.music.database start_time = time.time() if self.sync_running: -- 2.34.1