Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mbsync doesn't handle merged albums #5399

Open
emiham opened this issue Aug 29, 2024 · 0 comments
Open

mbsync doesn't handle merged albums #5399

emiham opened this issue Aug 29, 2024 · 0 comments

Comments

@emiham
Copy link
Contributor

emiham commented Aug 29, 2024

Problem

I noticed I have different artist for VULTURES 1 and VULTURES 2, so I ran mbsync to try to fix this:

% beet -vv mbsync VULTURES

The output looks fine, but I was confused that nothing seemed to change:

...
Sending event: library_opened
Parsed query: AndQuery([AnyFieldQuery('VULTURES', ('artist', 'title', 'comments', 'album', 'albumartist', 'genre'), SubstringQuery), NoneQuery('album_id', True)])
Parsed sort: NullSort()
Parsed query: AndQuery([AnyFieldQuery('VULTURES', ('album', 'albumartist', 'genre'), SubstringQuery)])
Parsed sort: NullSort()
Requesting MusicBrainz release 3e62072c-2c9d-45e7-815e-9746a72591e7
Sending event: mb_track_extract
...
Sending event: mb_album_extract
Sending event: albuminfo_received
mbsync: applying changes to Kanye West, Ty Dolla $ign - VULTURES 1

It turns out the release I used in the beginning has been merged into another release, which mbsync doesn't seem to notice.
Original url: https://beta.musicbrainz.org/release/3e62072c-2c9d-45e7-815e-9746a72591e7
New url: https://beta.musicbrainz.org/release/ac54ae52-6423-4835-952c-9a320d442f13

I don't know what the cleanest solution would be, but one approach could be checking if the url redirects and in that case update the ID to match the new page.

Setup

  • OS: Arch Linux
  • Python version: 3.12.5
  • beets version: 2.0.0
  • Turning off plugins made problem go away (yes/no): didn't try
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant