mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-10-28 14:21:15 +00:00
misc
This commit is contained in:
1 parent
521c195570
commit
e473b5db92
8 files changed
+43
-33
No files matched your search
+3
-2
@@ -314,8 +314,9 @@ def getFolderTree(folder: str = None):
|
||||
song['artists'] = song['artists'].split(', ') or None
|
||||
except:
|
||||
pass
|
||||
|
||||
song['image'] = img_path + song['image']
|
||||
if song['image'] is not None:
|
||||
print(song['image'])
|
||||
song['image'] = img_path + song['image']
|
||||
|
||||
return {"files": remove_duplicates(songs), "folders": sorted(folders, key=lambda i: i['name'])}
|
||||
|
||||
|
||||
Reference in new issue
Block a user