mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-03 14:09:19 +02:00
Attachments
This commit is contained in:
parent
421b441dbe
commit
c84396e669
50 changed files with 879 additions and 261 deletions
|
@ -145,7 +145,7 @@ class PlaylistSerializer(serializers.ModelSerializer):
|
|||
for plt in plts:
|
||||
if plt.track.album.artist_id in excluded_artists:
|
||||
continue
|
||||
url = plt.track.album.cover.crop["200x200"].url
|
||||
url = plt.track.album.attachment_cover.download_url_medium_square_crop
|
||||
if url in covers:
|
||||
continue
|
||||
covers.append(url)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue