Multiple Genres in Multiple Tags

This forum is for reporting bugs in MediaMonkey for Windows 4. Note that version 4 is no longer actively maintained as it has been replaced by version 5.

Moderator: Gurus

emalvick
Posts: 265
Joined: Tue May 15, 2007 9:44 am

Multiple Genres in Multiple Tags

Post by emalvick »

I have found a problem with the default Genre Node (and one using Magic Nodes) where the same genre shows up multiple times (see image below):

Image

The source of this seems to be that I have mp3 files with multiple genre tags in the header, which I purposely did for use with a couple of other programs / devices.

For instance, I have files from Bela Fleck with two Genre Tags:

GENRE = Country
GENRE = Jazz

This is as opposed to having GENRE = Country;Jazz as I realize is more typical, but a couple of programs I use prefer having multiple GENRE tags rather than one with multiple genres in one GENRE tag. With one GENRE tag and multiple values it does work as expected with MediaMonkey but not for my other programs, but MediaMonkey is still relatively functional otherwise, whereas the other programs don't work. I just would hope that if I am looking for a track under Rock that there would be only one Rock option and not 3 as I have now.

The problem "bug" I think comes from the SQL not handling the multiple GENRE tags in the DB as it should, and I do believe that it isn't completely unusual to use multiple tags for items like GENRE, ARTIST, etc.

The other program I use, SqueezeServer (for a Squeezebox) does not show the same behavior in its SQL DB, so my guess is that it could be made to work right with MediaMonkey, and it may be just a matter of modifying an SQL statement accordingly.
ZvezdanD
Posts: 3264
Joined: Thu Jun 08, 2006 7:40 pm

Re: Multiple Genres in Multiple Tags

Post by ZvezdanD »

I started program with your database and here is what I got:
Image

There is an "invisible" Unicode mark character within your genre field. I suppose it is invisible on your computer because of different regional settings. If you want to remove that character from your tags, you could use RegExp Find and Replace add-on with following settings:
Find what: \uFEFF
Into: Genre
Regular expression 1: checked
Replace with: empty

Keep in mind that if you have "Update tags when editing properties" turned on, after previous replacement your Genre tags in files will be updated too.

It is opened question if MediaMonkey is guilty for this or your tagging program which allows multiple GENRE tags.
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
emalvick
Posts: 265
Joined: Tue May 15, 2007 9:44 am

Re: Multiple Genres in Multiple Tags

Post by emalvick »

Actually, it seems that the way that some of the tagging guides are written suggest that the appropriate way to tag files is to use multiple tags rather than multiple values in one tag. I had found that at one time in another forum related to tagging, and no other software has had a problem with the genre tags as I am showing.

Similarly there have been suggestions that the appropriate way to use multiple artists is to have multiple artists tags as well. I have never gone that far because some of the software that I have that prefers the multiple artists tags have put in ways to deal with delimiters as is common. I've suggested as feature requests on those programs to accept delimiters for other multi-valued fields, and it hasn't really been accepted (yet).

Anyway, thanks for your suggestion, and I will see what happens if I use the reg exp script (which is a fantastic script I've used quite regularly, too).
Post Reply