feat: song illustrations

This commit is contained in:
GitBluub
2023-05-30 03:19:36 +09:00
committed by Clément Le Bihan
parent 3553954afd
commit 41d020e7a2
20 changed files with 1 additions and 0 deletions
+1
View File
@@ -54,6 +54,7 @@ def populateFile(path, midi, mxl):
"artist": artistId,
"album": getOrCreateAlbum(metadata["Album"], artistId),
"genre": getOrCreateGenre(metadata["Genre"]),
"illustrationPath": f"/assets/{os.path.commonpath([midi, mxl])}/illustration.png"
})
print(res.json())