fix browse on filesystem
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Thu, 13 Jun 2024 13:09:29 +0000 (15:09 +0200)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Thu, 13 Jun 2024 13:09:29 +0000 (15:09 +0200)
music_assistant/server/providers/filesystem_local/base.py

index 221c5c501407fb19005038ad11692348d8bb18c4..cfbed2db112793fb04cb396281c405b7a24fe430 100644 (file)
@@ -297,7 +297,7 @@ class FileSystemProviderBase(MusicProvider):
             item_path = ""
         index = 0
         async for item in self.listdir(item_path, recursive=False):
-            if not item.is_dir and "." not in item.filename or not item.ext:
+            if not item.is_dir and ("." not in item.filename or not item.ext):
                 # skip system files and files without extension
                 continue