Author Topic: Add a tag value to multiple files at once, preserving existing tag values.  (Read 3510 times)

hiccup

  • Hero Member
  • *****
  • Posts: 5427
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. (nor is it's name ;-)
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 to accomplish this using the Additional Tagging & Reporting Tools plugin.
For this purpose I have created a preset for it:
  download:  Add tags to multiple files  preset


how to install:

- Install the Additional Tagging & Reporting Tools plugin. (if you are not already using it)
  plugin page

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

- Place the preset (the .xml file) in that folder.

- Close or restart MusicBee.


how to use:

- Select the songs or albums that you want to add a tag value to, then:
   Menu > Tools > Additional Tagging Tools > Advanced Search & Replace
   (or if you frequently use this plugin, create a keyboard shortcut and/or a toolbar icon for: Tagging Tools: Advanced Search & Replace)

Then:

1. Find and select the preset 'Add tag values to multiple files'.
     Do NOT check the checkbox in front of it!

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

3. Type the value (<Custom text 1>) that you want to add to that tag.
     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, exit.



that's it

- - -

IMPORTANT:

While it seems to work quite well having tested it with my own setup, I would strongly advice to test it yourself thoroughly on duplicate test files before you decide to rely on it.

If there are experienced users that are interested and willing to test this and provide some feedback on it, it would be much appreciated.
 
Last Edit: June 05, 2021, 12:41:59 PM by hiccup

phred

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

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