From c8f4a791fafbcd1157c32a240c65f48049c24c07 Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Thu, 13 Jun 2024 15:09:29 +0200 Subject: [PATCH] fix browse on filesystem --- music_assistant/server/providers/filesystem_local/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/music_assistant/server/providers/filesystem_local/base.py b/music_assistant/server/providers/filesystem_local/base.py index 221c5c50..cfbed2db 100644 --- a/music_assistant/server/providers/filesystem_local/base.py +++ b/music_assistant/server/providers/filesystem_local/base.py @@ -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 -- 2.34.1