mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 11:39:16 +02:00
Fix #757: Ensure cover art from uploaded files is picked up properly on existing albums
This commit is contained in:
parent
8ac38ba7e6
commit
429ffbf461
5 changed files with 39 additions and 20 deletions
|
@ -769,7 +769,7 @@ class TrackSerializer(MusicEntitySerializer):
|
|||
from_activity = self.context.get("activity")
|
||||
if from_activity:
|
||||
metadata["from_activity_id"] = from_activity.pk
|
||||
track = music_tasks.get_track_from_import_metadata(metadata)
|
||||
track = music_tasks.get_track_from_import_metadata(metadata, update_cover=True)
|
||||
return track
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue