mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 04:23:01 +00:00
blacken search component
This commit is contained in:
+5
-5
@@ -288,12 +288,12 @@ def getFolderTree(folder: str = None):
|
||||
|
||||
folders.append(dir)
|
||||
|
||||
if entry.is_file():
|
||||
if isValidFile(entry.name) == True:
|
||||
file = all_songs_instance.find_song_by_path(entry.path)
|
||||
# if entry.is_file():
|
||||
# if isValidFile(entry.name) == True:
|
||||
# file = all_songs_instance.find_song_by_path(entry.path)
|
||||
|
||||
if not file:
|
||||
getTags(entry.path)
|
||||
# if not file:
|
||||
# getTags(entry.path)
|
||||
|
||||
songs_array = all_songs_instance.find_songs_by_folder(
|
||||
req_dir)
|
||||
|
||||
Reference in New Issue
Block a user