Author Topic: Is there a way to clear unused options from the Occasion dropdown?  (Read 500 times)

8bitsdeep

  • Newbie
  • *
  • Posts: 2
I updated MusicBee recently, for the first time in a good while. Previously, I was using the Tag Editor to set the Occasion tag and the only options shown were ones I had already assigned to some songs or I could type in a new option if needed. It was perfect for my needs.

After updating, the Occasions dropdown is a mix of my custom occasions and a slew of new ones no music in my library is tagged with. Is there a way to get rid of the unused Occasions?

Messiaen

  • Jr. Member
  • **
  • Posts: 114
In the MusicBee installation folder there is a file called "Configuration.xml" - open this in any text-editor and search for the word "occasion", and you'll see a section list like this:

Code
<Occasions>
  <Occasion Name="Background"/>
  <Occasion Name="Birthday"/>
  <Occasion Name="Breakup"/>
  <Occasion Name="Chillout"/>
...
</Occasions>
Just delete all the "<Occasion Name=..." lines you don't want (you can remove them all, if desired).  If you remove them all, be sure to leave the section-elements themselves:

Code
<Occasions>
</Occasions>

Save the changes, restart MusicBee, and they'll be gone from the dropdown.  Be sure to back up the original Configuration.xml file first, "just in case of fire".  ;)