Help - Search - Members - Calendar
Full Version: Multiple genres
Hydrogenaudio Forums > Hosted Forums > foobar2000 > General - (fb2k)
Jleagle
I used the last.fm plugin on MusicBrainz to give me multiple genres which is what i wanted.
But foobar is reading it as one long genre eg "pop, rock" insead of "pop", "rock".
If i manualy edit the genre field, keep it the same and submit it, it fixes it.
Is there a quicker way to go through 500+ genres though?

Thanks.
Mar2zz
What plugin you are talking about? Please link it.

I tried to edit the field in genre by format from other fields:
$replace(%genre%,',' ,; ). It seems it does the trick visually, but the ; separator doesnt work, it stays 1 genre instead of multiple.

Maybe this isn't possible?
shakey_snake
  1. File-> Preferences-> Advanced->Display -> Properties Dialog->Multivalue Fields
    Add GENRE or whatever tag is being created by whatever you are using to add the tags.
  2. use $replace(%genre%,',' ,; ) on all the files with the "Format from Other Fields" dialog. This will separate the fields with a semicolon instead of a comma, as is required by foobar2000 for multivalue fields.
Jleagle
I used the las.fm plugin here, http://musicbrainz.org/doc/PicardQt/Plugins.

I checked and GENRE is set to multi value.

I have formatted all the fields so the commas are now ; but it still treats it as one large genre untill i edit the field (even if i keep it the same as it was before).
Mar2zz
Yes, I think shakeyshake is wrong, coz the genre tag is allready there by default in preferences advanced multivalue.

I found a little trick, got it working for 1 album at the time and involves two steps.

Make a tagfield called TEMP (or whatever). Use automatically fill values on that with genre as source and $replace(%genre%,',' ,; ) as pattern. Apply it. Then copy/paste the temp field into the genre field. Then it will split up in multiple genres.

(i was hoping you used a foobarplugin, but it's a picard plugin. bummer...).
shakey_snake
QUOTE(Mar2zz @ Jun 5 2008, 13:45) *
...the genre tag is allready there by default in preferences advanced multivalue.
Sure, but he wasn't clear as to which tag he was writing. Muscibrainz stores a lot of values in TXXX-frames.



QUOTE(Mar2zz @ Jun 5 2008, 13:45) *
I found a little trick, got it working for 1 album at the time and involves two steps.

Make a tagfield called TEMP (or whatever). Use automatically fill values on that with genre as source and $replace(%genre%,',' ,; ) as pattern. Apply it. Then copy/paste the temp field into the genre field. Then it will split up in multiple genres.

Hum. That's weird.
smkk
If you have a space after the ; try to remove it. For some reason foobar only recognizes individual values in a multivalue field if they are only separated by ; WITHOUT a space after it.
incunabula
I'm not sure if you can do this with the Properties Dialog but i do this via MassTagger by picking the 'Split field by separator...' action and choosing ';'.
Mar2zz
smkk, did you test what you say? the space is needed in my config for separating...

CODE
$replace(%genre%,',' ,;)
this is smkk's test
smkk
QUOTE(Mar2zz @ Jun 5 2008, 20:49) *

smkk, did you test what you say?


I apologize if what i said was wrong, this is what happens when i try to recall things from my memory.
Jleagle
QUOTE(Mar2zz @ Jun 5 2008, 18:45) *

Yes, I think shakeyshake is wrong, coz the genre tag is allready there by default in preferences advanced multivalue.

I found a little trick, got it working for 1 album at the time and involves two steps.

Make a tagfield called TEMP (or whatever). Use automatically fill values on that with genre as source and $replace(%genre%,',' ,; ) as pattern. Apply it. Then copy/paste the temp field into the genre field. Then it will split up in multiple genres.

(i was hoping you used a foobarplugin, but it's a picard plugin. bummer...).


Thanks, while this does work, you can also do it by editing the genre field, eg.. delete one of the semicolons and then add it again, when you save after this it realises that its a multi value field and treats it so.

You also cant do either method (mine or yours) on more than one genre at a time. Meaning it will take a while still.


QUOTE(smkk @ Jun 5 2008, 19:16) *

If you have a space after the ; try to remove it. For some reason foobar only recognizes individual values in a multivalue field if they are only separated by ; WITHOUT a space after it.


you can save the field with either, but if you leave it out it will automaticly put one in.


QUOTE(incunabula @ Jun 5 2008, 19:17) *

I'm not sure if you can do this with the Properties Dialog but i do this via MassTagger by picking the 'Split field by separator...' action and choosing ';'.


Thanks, ill take a look at MassTagger.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.