PDA

View Full Version : MusicBrainz tag in flac files not recognized



David R.
2008-11-29, 07:35
Hi,

It seems that squeezecenter doesn't recognize musicbrainz tags in flac files.
I use tag names like: <MUSICBRAINZ ALBUM ARTIST ID>, <MUSICBRAINZ ALBUM ID>, etc.
If I use these tags in mp3 files, squeezecenter adds them correctly to the slimserver database tables (musicbrainz_id fields) after a rescan. But not for flac files.
Must I use other tag names in case of flac files?

David.

schiegl
2008-11-29, 11:01
Hi David,

according to http://musicbrainz.org/docs/specs/metadata_tags.html the following flac tags are defined (and used by SC this way)



MusicBrainz Track Identifier:

Comment name: MUSICBRAINZ_TRACKID
Comment value: [mb track uuid]

MusicBrainz Artist Identifier:

Comment name: MUSICBRAINZ_ARTISTID
Value: [mb artist uuid]

MusicBrainz Album Identifier:

Comment name: MUSICBRAINZ_ALBUMID
Comment value: [mb album uuid]

MusicBrainz Album Artist Identifier:

See comments above in ID3 section.

Comment name: MUSICBRAINZ_ALBUMARTISTID
Comment value: [mb album artist uuid]

MusicBrainz TRM Identifier:

Comment name: MUSICBRAINZ_TRMID
Comment value: [mb trm uuid]

MusicBrainz Artist Sortname

Comment name: MUSICBRAINZ_SORTNAME
Comment value: [mb artist sortname]


As you've already found out, MP3 expects tags with spaces instead of underscores. Don't know yet, if this is ok...

Just have realized, that i've some wrongly tagged flac tracks, too :(

kind regards,
Markus

schiegl
2008-11-29, 16:37
Just have realized, that i've some wrongly tagged flac tracks, too :(


some clicks later with mp3tag's scripting capabilities these incorrect flac-MB-tags have been fixed. After a wipe&rescan the tags are imported successfully into the SC-DB (although i don't know which function may use them - with the exception of the trackstat plugin which reads the mb-track-id)

David R.
2008-11-30, 09:51
Hi Markus,

Thanks for the info.
I did some tests with the MUSICBRAINZ_ARTISTID and MUSICBRAINZ_TRACKID tags and it seems to work.
However, it seems that MUSICBRAINZ_ARTISTID must be added to all tracks of a particular artist. If there's a single (or more) tracks of that artist without the MUSICBRAINZ_ARTISTID tag squeezecenter will not update the musicbrainz_id field in the contributors table (NULL value). I used foobar2000 to add those missing tags. No problems anymore...

FYI: I use the musicbrainz tags in combination with custombrowse artistheader/search on menuitems (customized). Now I can browse directly from a artist / album /track item to the corresponding musicbrainz website page.

Regards,

David