mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-06 05:09:56 +02:00
Fix #348, #474, #557, #740, #928: improved deduplication logic to prevent skipped files during import
This commit is contained in:
parent
18791e57f6
commit
61cf04b376
5 changed files with 162 additions and 2 deletions
|
@ -475,6 +475,7 @@ def get_artist(release_list):
|
|||
|
||||
|
||||
class Track(APIModelMixin):
|
||||
mbid = models.UUIDField(db_index=True, null=True, blank=True)
|
||||
title = models.CharField(max_length=MAX_LENGTHS["TRACK_TITLE"])
|
||||
artist = models.ForeignKey(Artist, related_name="tracks", on_delete=models.CASCADE)
|
||||
disc_number = models.PositiveIntegerField(null=True, blank=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue