mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-03 21:59:16 +02:00
Importer will now pick embedded images in files with OTHER type if no COVER_FRONT is present
This commit is contained in:
parent
11728bbbc4
commit
4a3c21a094
5 changed files with 20 additions and 8 deletions
|
@ -191,7 +191,7 @@ def process_upload(upload):
|
|||
final_metadata = collections.ChainMap(
|
||||
additional_data, import_metadata, file_metadata
|
||||
)
|
||||
additional_data["cover_data"] = m.get_picture("cover_front")
|
||||
additional_data["cover_data"] = m.get_picture("cover_front", "other")
|
||||
additional_data["upload_source"] = upload.source
|
||||
track = get_track_from_import_metadata(final_metadata)
|
||||
except UploadImportError as e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue