Skip to content

mbcollection: 'remove' option inadvertently removes merged releases #2914

@bjin

Description

@bjin

Problem

For an album 'A' which is later merged into another album 'B' on MusicBrainz, the MBID of A will be redirected to MBID of B.

If I tried to run beet mbupdate -r with a local collection containing album 'A', it will add album 'B' to my remote collection (redirected on the server side) first. But in the end, 'B' will inadvertently get removed (since mbcollection plugins believes 'B' is not newly added and should be removed).

Steps to reproduce:

  1. Create a local database containing this album.
  2. run beet mbupdate -r

Expected Behavior:

this album is added to remote collection instead of the one with original MBID.

Actual Behavior:

Nothing is added to remote collection. The expected album is added first but later get removed.

Setup

  • OS: Linux
  • Python version: 3.6.5
  • beets version: 1.4.6
  • Turning off plugins made problem go away (yes/no): N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbugs that are confirmed and actionablembcollectionmbcollection plugin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions