This commit is contained in:
geoffrey45
2022-01-11 03:36:42 +03:00
parent 521c195570
commit e473b5db92
8 changed files with 43 additions and 33 deletions
+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'])}