Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • funkwhale funkwhale
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 395
    • Issues 395
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • funkwhale
  • funkwhalefunkwhale
  • Issues
  • #237
Closed
Open
Created May 26, 2018 by EorlBruder@EorlBruderContributor

Funkwhale unable to import Albums with multiple Artists

When importing an album with tracks from different artits I get the following message:

- $file: IntegrityError duplicate key value violates unique constraint "music_album_mbid_b09e59fe_uniq"

As an example this album https://musicbrainz.org/release/ecd0f299-e5c9-441d-bede-0962280df413 fails on the Tracks from Plan 9 and Enya (eg: https://musicbrainz.org/recording/94ab07eb-bdf3-4155-b471-ba1dc85108bf).

My guess is the following is happening:

  • Funkwhale imports the first track from the album, creating the album with the album-title and the artist from that track.
  • Funkwhale continues importing until reaching to a track from a different artist.
  • Due to the different artist, Funkwhale tries to create a new album with the album-title and the artist from that track.
  • This fails due to the MB-Id being different

To fix this Funkwhale should read the "release artist" (or "album artist") from the track and use that one to create the Album (and put tracks in it) instead of using the tracks artist.

Edited May 26, 2018 by EorlBruder
Assignee
Assign to
Time tracking