add image -> readme

This commit is contained in:
geoffrey45
2022-03-08 09:56:58 +03:00
parent c3059d502c
commit 39fba364d3
6 changed files with 21 additions and 29 deletions
+2 -6
View File
@@ -57,9 +57,7 @@ def search():
artist_obj = {
"name": artist,
"image": "http://0.0.0.0:8900/images/artists/"
+ artist.replace("/", "::")
+ ".webp",
"image": helpers.check_artist_image(artist),
}
if artist_obj not in artists_dicts:
@@ -141,9 +139,7 @@ def get_albumartists():
for artist in artists:
artist_obj = {
"name": artist,
"image": "http://0.0.0.0:8900/images/artists/"
+ artist.replace("/", "::")
+ ".webp",
"image": helpers.check_artist_image(artist),
}
final_artists.append(artist_obj)