Author Topic: How to add or remove a tag from multiple files, leaving the other tags intact.  (Read 5786 times)

hiccup

  • Hero Member
  • *****
  • Posts: 5874
Suppose you want to add a tag value to multiple files at the same time.

That is not a problem if you want all the selected files to have the exact same tag values.
You can use the Tag Editor for that.
But if the files already contain various tag values, and you simply want to add an additional value to all of them while keeping the existing ones intact, it's more difficult.

Let's say for example you have been using the 'keywords' tag, and want to add something like 'Christmas' as a keyword to multiple songs at once.
Without worrying about possibly erasing existing keywords.
Or you want to add 'Ambient' to the 'genre' tag of multiple songs that already have one or more other genres added.

MusicBee doesn't have some straightforward 'add tag value' feature for this.
You can use the Tag Inspector, but it's interface is not ideal for this.
Also the Tag Inspector only allows for bulk editing of tags if the files are all of the same file format.
So if for example you have selected both mp3 and flac files, this won't work.

This is a method that makes it possible to add a tag value to multiple files at once, without deleting existing tag values.

To use it, you need to have the Additional Tagging and Reporting Tools installed.
https://getmusicbee.com/forum/index.php?topic=3833.msg20793#msg20793


how to install the preset:

- Navigate to the folder that holds the presets for the AT&RT plugin.
  Depending on your type of MusicBee install, it will be something like: MusicBee\AppData\ASR Presets

- Download the preset (an .xml file), and copy it to the presets folder.

- Close/restart MusicBee.

how to use:

- In MusicBee, select the songs or albums that you want to add a tag value to, then:
   Menu > Tools > Additional Tagging Tools > Advanced Search & Replace
  (tip: if you intend to use this preset more frequently, check the 'Assign hotkey for this preset' in the ASR panel, and then create a keyboard hotkey and/or a toolbar icon for it in MusicBee: 'Tagging Tools: Add a tag value to multiple files')

Then:

1  Find and select the preset 'Add a tag value to multiple files'.
     DO NOT check the checkbox in front of it!
     MAKE SURE it is not checked!

2  Select the tag (<Tag 1>) that you want to add the value to.

3  Type the value that you want to add in the <Custom text 1> field.
     You can add multiple values using '; ' as separator.  (e.g.: Ambient; Experimental; IDM)

4  Press 'Preview'.



Check the preview to make sure you are happy with the results, if so: apply, close.




that's it

- - -

Update:
I have added a preset to the download that can do the opposite: it makes it possible to remove a specific tag value from multiple files.
Last Edit: January 19, 2022, 06:47:58 PM by hiccup

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7609
Nicely done.
And this is going to be quite helpful.
Download the latest MusicBee v3.4 patch from here.
Download the latest MusicBee v3.5 beta patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
Check out the MusicBee Wiki.
How to post screenshots is here

hiccup

  • Hero Member
  • *****
  • Posts: 5874

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7609
updated
Are you sure?
The RAR contains the same two presets that I downloaded previously. And they have the same time-stamp as previous.
I assumed there would be a third preset.
Last Edit: January 19, 2022, 04:17:57 PM by phred
Download the latest MusicBee v3.4 patch from here.
Download the latest MusicBee v3.5 beta patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
Check out the MusicBee Wiki.
How to post screenshots is here

hiccup

  • Hero Member
  • *****
  • Posts: 5874
updated
Are you sure?
The RAR contains the same two presets that I downloaded previously.
I assumed there would be a third preset.
I added the 'remove tag' preset to the download link only yesterday.
And I realised just now it would be good to mention that in an 'update post', and also change the title of the thread accordingly.
Thanks for paying attention ;-)

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7609
I added the 'remove tag' preset to the download link only yesterday.
Right - that's when I grabbed both of them even though I already had the first one from June.

Quote
Thanks for paying attention ;-)
It hasn't been easy.
Download the latest MusicBee v3.4 patch from here.
Download the latest MusicBee v3.5 beta patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
Check out the MusicBee Wiki.
How to post screenshots is here

hiccup

  • Hero Member
  • *****
  • Posts: 5874
Right - that's when I grabbed both of them even though I already had the first one from June.
Great.
Let me know if they work well for you too?
I have been testing them quite thoroughly myself, but you never know about other's configurations and user cases.

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7609
Let me know if they work well for you too?
The first one (from June) worked right out of the box with no issues.
I haven't used yesterday's other than to test it on a few tracks and it also worked.

Thanks for creating the preset.
Too bad no one else knows what they're missing. Unless they've downloaded and used without commenting on how useful they are.
Download the latest MusicBee v3.4 patch from here.
Download the latest MusicBee v3.5 beta patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
Check out the MusicBee Wiki.
How to post screenshots is here

hiccup

  • Hero Member
  • *****
  • Posts: 5874
…Unless they've downloaded and used without commenting on how useful they are…
That's probably an uncertainty for the majority of cases where people in general upload their contributions to da internetz.
If there are no, or hardly any responses, all you can do is assume that it's working great without any issues, or that nobody cares ;-)

(as a user/consumer/freeloader, I am probably—usually—not much different from that)


Dalinar

  • Jr. Member
  • **
  • Posts: 42
does anyone have a copy of this preset? the link doesn't work - bit ly says it is harmful

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7609
does anyone have a copy of this preset? the link doesn't work - bit ly says it is harmful
The best way to get the bitly link issue resolved is to fill out the form at the bottom of the warning. The more MB users who do this the better chance we have of getting it unblocked.
Download the latest MusicBee v3.4 patch from here.
Download the latest MusicBee v3.5 beta patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
Check out the MusicBee Wiki.
How to post screenshots is here

Dalinar

  • Jr. Member
  • **
  • Posts: 42
I figured it out.. I didn't notice the url before because my browser is thin on the right side of my screen now, so I couldn't see the url box.

So I just copied the dropbox out the url in the warning page and decoded it. Then I was able to download the preset rar.. just in case anyone else has this problem.

hiccup

  • Hero Member
  • *****
  • Posts: 5874
I figured it out.. I didn't notice the url before because my browser is thin on the right side of my screen now, so I couldn't see the url box.
Anyone wanting to be of help in solving the actual underlying problem (Bitly falsely blocking them):

It would be nice if you could fill in the 'false blocking report' that the blocking webpage refers to.
(a Google a account is not needed for that, contrary to what the structure of that form seems to suggest)