mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-10-29 11:24:43 +00:00
move nav folder-paths into a new component (#66)
* move folder-paths into a new component * move nav playlist title into new components
This commit is contained in:
1 parent
f7218875a6
commit
4e1e1b8979
5 files changed
+155
-139
No files matched your search
@@ -123,9 +123,7 @@ class getFnF:
|
||||
dirs.append(Dir(**dir))
|
||||
elif entry.is_file() and entry.name.endswith((".mp3", ".flac")):
|
||||
files.append(entry.path)
|
||||
s = time()
|
||||
tracks = self.get_tracks(files)
|
||||
print(f"{time() - s} seconds to get tracks")
|
||||
|
||||
folders = [create_folder(dir) for dir in dirs]
|
||||
folders = filter(lambda f: f.trackcount > 0, folders)
|
||||
|
||||
Reference in new issue
Block a user