feat: song illustrations
This commit is contained in:
committed by
Clément Le Bihan
parent
3553954afd
commit
41d020e7a2
@@ -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())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user