Author Topic: how to restore Tags only and leave untouched the rest of the library and UI  (Read 1491 times)

Joe King

  • Newbie
  • *
  • Posts: 7
I am new to MusicBee and have been setting up the library. Changing the tags of a particular album's tracks yesterday, it seems i somehow changed those tags (album and artist) for all 10k+ tracks in my library. I did generate a MusicBee Library backup the day before. How can i restore my library's Artist and Album tags without changing the Library UI--the panel configuration, field configurations, customizations, etc.? I include a screenshot of the backup files that were generated.


https://i.imgur.com/yaUX3Jg.jpeg

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10270
Tags are embedded in each track's file. They are not in MB's database. So unless you have backups of your music files from before you changed all the tags, you are probably out of luck.

There's a very slight chance I'm missing something and if so, a fellow user will correct me.
Download the latest MusicBee v3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Custom Forum Search
Posting screenshots is here

boroda

  • Hero Member
  • *****
  • Posts: 5216
i think restoring .mbl file will do the trick, but i'm not sure that no settings will be affected. backup existing .mbl file (to new backup location) first.

EDIT:

@phred, you are wrong all tags are stored in MB database (at least for caching), and some tags are stored in MB database only.

EDIT 2:

@Joe King, if you succeed, then you will have to re-write tags in tracks by database tags (select all tracks (ctrl+A), tools> advanced> synchonise tags).
Last Edit: June 07, 2024, 05:47:40 PM by boroda

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10270
@phred, you are wrong all tags are stored in MB database (at least for caching),
Interesting. I never knew that tags were cached. Where is the cache located?

Quote
and some tags are stored in MB database only.
Typically custom tags which are assigned to "standard" tag. I'm assuming since the OP is a new user, they haven't created any custom tags yet.

So let's wait and see what the OP is able to accomplish.

EDIT: Typo
Last Edit: June 07, 2024, 09:15:21 PM by phred
Download the latest MusicBee v3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Custom Forum Search
Posting screenshots is here

sveakul

  • Hero Member
  • *****
  • Posts: 3268
@phred, you are wrong all tags are stored in MB database (at least for caching),
Interesting. I never knew that tags were cached. Where is the cache located.
phred the regular embedded tags are cached inside the *.mbl file itself, like the custom tags.  For example, if you open MusicBeeLibrary.mbl in a text editor, you'll see that a song file entry looks like this, where despite the binary you can see the album name, date, and other ID3 metadata:

E:\New Mx\Letters To Cleo - Dangerous Type.mp3âJ_ D¬   ã \ ‘ÖakÕHÚ–{¿³ÖH   F:\Zstorage\folder.jpgÿADangerous Type Letters To CleoWhen Did We Do That?X2008;Rock27Lame3.97­engW12IDot Rat RecordsV7 ÿ ^|èZòÌÕH

The situation resembles the case with lyrics, which even when embedded are cached externally in the file "MusicBeeLibrary.lyrics."

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10270
The situation resembles the case with lyrics, which even when embedded are cached externally in the file "MusicBeeLibrary.lyrics."
Thanks sveakul for further expanding on the explanation.

I stand corrected.
Download the latest MusicBee v3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Custom Forum Search
Posting screenshots is here

Zak

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2553
But if the tags in the music files themselves are now wrong, what use is having the previous values saved in MusicBee's database?
How do you use that to save the correct values back in the files?  :-\
Bee excellent to each other...

tjinc

  • Sr. Member
  • ****
  • Posts: 830
But if the tags in the music files themselves are now wrong, what use is having the previous values saved in MusicBee's database?
How do you use that to save the correct values back in the files?  :-\
EDIT 2:

@Joe King, if you succeed, then you will have to re-write tags in tracks by database tags (select all tracks (ctrl+A), tools> advanced> synchonise tags).

This function forces the data stored in fields in the MusicBee database to be written to the files (where applicable).

sveakul

  • Hero Member
  • *****
  • Posts: 3268
EDIT 2:
@Joe King, if you succeed, then you will have to re-write tags in tracks by database tags (select all tracks (ctrl+A), tools> advanced> synchonise tags).

This function forces the data stored in fields in the MusicBee database to be written to the files (where applicable).
That's cool, like a "reverse re-scan."  Was completely new to me!

Mayibongwe

  • Sr. Member
  • ****
  • Posts: 1733
  • Heal The World
That's cool, like a "reverse re-scan."  Was completely new to me!
That's what I'm saying to myself here as I read this!
Thanks tjinc and boroda, and to Zak for asking the technical question to begin with.

Edit:
Definitely a worthy candidate for the MB's Hidden Features thread
Last Edit: June 08, 2024, 08:49:44 AM by Mayibongwe
Strength and Honour (2025)

The Incredible Boom Boom

  • Sr. Member
  • ****
  • Posts: 1419
That's what I'm saying to myself here as I read this!
Thanks tjinc and boroda, and to Zak for asking the technical question to begin with.

Edit:
Definitely a worthy candidate for the MB's Hidden Features thread

I knew file tags were ached in the MBL, but I didn't know the function of Synchronise Tags... Always learning something new with @Steven's amazing software.
I wonder now... can Synchronise Tags work for selected files and if not, how much of a task would it be to add the ability to scope the task to selected files? 🤔