This commit is contained in:
geoffrey45 committed 2022-01-11 03:36:42 +03:00
1 parent 521c195570
commit e473b5db92
8 files changed
+43 -33

No files matched your search

+3 -2
View File
@@ -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'])}