MBP clustering single album into multiple albums

Tags: #<Tag:0x00007fe314e982a8> #<Tag:0x00007fe314e980f0> #<Tag:0x00007fe314ea7f78> #<Tag:0x00007fe314ea7e88> #<Tag:0x00007fe314ea7cd0>

Hello friends!

I happened to discover this tool two weeks ago and have been trying to get my head around this software, but looks like I am going to take more time than I expected. Understanding scripts or syntaxes are not that difficult, but the outcomes are. :slight_smile: I tried a couple of scripts by myself, and it didn’t work that well. Then I happened to find the below script from “Thebradleys” through this forum. It works well for the most part but still has some issues.


  • I was trying to tag The Best of Eddie Cochran (2 CDs - 40 tracks) album. MB clustered it into 7 different albums. Not sure why would it do that although it exists in MB database (MBID: 35edcc27-a9c9-47bd-8abc-69df3f149fca). Is it because of the scripting or some settings that is conflicting? Isn’t there a way to manually tag an entire album with MBID instead of a cluster, lookup, and scan approach? It’s going to be hard to review the changes if I run it across 100 albums. Do I need to enable use release/tracks relationship for a better match? How do I troubleshoot if I don’t get the desired results? Where should I start from?

  • I am not able to get genres in spite of enabling last.fm and MB Mood genre plugins to refresh the tags.

  • I do not want to have multiple artists in the album name, so I have enabled standard artist names, and the script only uses album artist. Hope it’s not conflicting.

  • I have enabled “clear existing tags” and “remove id3 from FLAC” - is that a bad approach? I just want to retag/rename with better metadata from MB.

  • Also, it was confusing whether the script should also be pasted back into “file naming menu” or only in the “script” tab? I have it on both.

Sorry for the long list of questions, but I would greatly appreciate if someone can take time to help me out. All I am looking for is - Root folder / Album Artist (no featuring or multiple artists) / Album [Year] / Title. If more than one disc exists, then disc number followed by a track number 01-01 (02-01) in the title name would be helpful.

To answer your last question first, the filenaming script should be pasted in the file naming menu only. The script tab is used to change tags or set variables. For example, I use it to set all my tracknumbers to use leading zeros.

In answer to your first question, I’d bet that you used “Scan” to find matches for your files. I don’t know what your tags originally looked like, but if you have at least the artist and album already filled in, using “Cluster” then “Lookup” is almost always better. What’s even better than that, is pulling up the release in your browser and dragging it to the right pane of Picard. Then, drag your files from the left or middle pane directly to that release in the right pane.


Hi Billy Yank - thanks for your quick response and clarifying script tab issue. I initially tried cluster and then lookup approach, it did not show appropriate results.

Can you please elaborate - “What’s even better than that, is pulling up the release in your browser and dragging it to the right pane of Picard.” How can I drag a release from the browser into the right panel? Here is the link I was referring to: https://musicbrainz.org/release/35edcc27-a9c9-47bd-8abc-69df3f149fca/details

Allow me to slip in a question too:
I’ve seen people mentioning the ‘middle panel’ before.
But I’ve never seen it, is it perhaps hidden by default? Does it appear only at certain occasions?

You drag from the address bar to the right pane. On Chrome, the thing you need to “grab” is the lock icon right next to “https”

1 Like

I think it’s the left pane that can be hidden, so the center pane would look like the left pane. On my Picard, there’s a pane to the left that shows the folder tree, one in the center where unmatched files and clusters live, and the right pane where the matched files end up.

1 Like

Hey, there is a file browser option there!
Thnx, mystery solved :wink:

This is brilliant. This also answered one of my questions - manual tagging. :smile:

Just to be sure, I am doing it right - after I drag the https into right panel, should I perform - cluster and lookup? or manually drag to the right match? I kinda tried both because lookup ended up listing additional albums on the right panel and matched some tracks to the incorrect ones. I then moved it manually.

Let me know if I got it right, and a big thank you for your time and suggestions.

Just to piggyback on that, why would you not use scan?

Scan uses acoustic fingerprinting to try to locate a match for your songs, while cluster/lookup uses the existing tags in the files to try to match the release. If you have half-way decent tags already, this usually produces better results. Because scan is essentially dealing with individual files, it more often produces the results you are seeing, where songs may be scattered across several different albums and compilations.

The method I use however, is to find (or add) the release on the website and drag it to Picard. This is without a doubt the most accurate method. Of course, it’s also the slowest. I started 9 years ago, and I’m up to the R’s.


Thanks Billy Yank for clarifying that. It makes sense now. I am surely going to follow your method - it may be the slowest, but I think it is the best approach to get the right tags at one shot! :smile: Thanks again!

The other benefit, is it improves the database. I joke about how slow I’m tagging my collection, but really, I’m ripping or re-ripping all my vinyl and CDs. I’m adding or checking all the releases and adding any relationship info I have. And I’m scanning or photographing all the cover art for the archive. Tagging the files then becomes one small part of a fairly long and labor intensive process.

Even if all you do is add the releases and front covers of the stuff in your collection, that would still add to the accuracy of the database.


There is a ticket #827 for this issue.

If your tags have information like comments, replay gain, encoder information, or any tag that will not be added by picard you will lose that information with clear existing tags checked. The remove id3 from flac is a good practise. Also I have found id3v2.3 with utf-16 for MP3 to be the most compatible with most applications and streaming services that let you upload your own music.

Does your browser view not have the button to open release in picard?

1 Like

Yes, but my workflow usually has me in the website, working on the release in question before I pull up Picard, so drag and drop makes more sense.


Thanks @The_King. This is very helpful. Regarding the button to open release in picard, I don’t see that option. I tried in both Chrome and Edge browsers for the same album. That would be another great alternative.

I think that I tend to do it much the same way as @Billy_Yank, by looking up the release in the web browser and then copying the url (or just the release id) and paste it in the lookup box on the right hand side of the toolbar.

Picard will then retrieve the information for the release.

Another option is to append “?tport=8000” to the url on your browser, and reload the page. This should provide a green “tagger” arrow for the release. Clicking the arrow will send the release information to Picard. Generally, as long as you don’t close the browsing session the green tagging arrow feature will remain active as you browse the MB site looking up other releases. Eventually it will time out after a (lengthy?) period of inactivity, but it’s easy enough to just do the “?tport=8000” thing again to get it back.

EDIT: This is the green arrow that @The_King was referring to in his earlier message.


If you use the “Lookup in Browser” button in Picard, the Tagger button will appear on the website. It will continue to appear on all release pages you go to in that browser, so you only have to do it once per session.

1 Like

Thank you @rdswift and @Billy_Yank for your guidance. This is now getting fun! :smile: Hopefully, I will have a better organized media library with all your suggestions.

Good night!