mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
misc
This commit is contained in:
+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