After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 410681 - Support more musicbrainz tags in tags and rhythmdb
Support more musicbrainz tags in tags and rhythmdb
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: general
HEAD
Other Linux
: Normal enhancement
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on: 414496
Blocks: 410684
 
 
Reported: 2007-02-22 05:31 UTC by Alex Lancaster
Modified: 2007-03-14 08:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add support for more musicbrainz tags (14.93 KB, patch)
2007-03-04 08:58 UTC, Alex Lancaster
none Details | Review
Remove extraneous bit that came from another locally applied patch (14.58 KB, patch)
2007-03-04 09:03 UTC, Alex Lancaster
none Details | Review
Oops, and another (14.29 KB, patch)
2007-03-04 09:05 UTC, Alex Lancaster
committed Details | Review

Description Alex Lancaster 2007-02-22 05:31:59 UTC
sound-juicer support a much larger range of musicbrainz tags than rhythmbox, such as sort order and release and artist ID.  rhythmbox currently only supports the trackid.  Supporting more tags (both when ripping files and in rhythmdb) will allow more clever things to be done in plugins, for example, getting album art from musicbrainz.
Comment 1 Alex Lancaster 2007-02-22 05:32:25 UTC
Will try and work up a patch.
Comment 2 James "Doc" Livingston 2007-02-22 07:20:01 UTC
Sort order would also be very nice, as it will allow us to ignore "the" when sorting.
Comment 3 Alex Lancaster 2007-03-04 08:58:08 UTC
Created attachment 83874 [details] [review]
Add support for more musicbrainz tags

This patch adds support for the following GST tags:

GST_TAG_MUSICBRAINZ_ARTISTID
GST_TAG_MUSICBRAINZ_ALBUMID
GST_TAG_MUSICBRAINZ_ALBUMARTISTID
GST_TAG_MUSICBRAINZ_SORTNAME

in the rhythmdb backend, as well as support in the audiocd plugin to write the tags to the files.  Currently the sortname needs the patch on bug # to be applied to gstreamer to work for mp3 files, but it will still work without that patch, it just won't set the sortname.

This is just the start, I plan to add support for all GST_TAG_*_MUSICBRAINZ_* tags such as GST_TAG_CDDA_MUSICBRAINZ_DISCID, but this patch can be applied to trunk now, and those updates be added later.
Comment 4 Alex Lancaster 2007-03-04 08:59:53 UTC
The gstreamer bug mentioned above is bug #414496,  which I'm marking as a dependent bug, but isn't a blocker, per se.
Comment 5 Alex Lancaster 2007-03-04 09:03:23 UTC
Created attachment 83875 [details] [review]
Remove extraneous bit that came from another locally applied patch
Comment 6 Alex Lancaster 2007-03-04 09:05:16 UTC
Created attachment 83876 [details] [review]
Oops, and another
Comment 7 Alex Lancaster 2007-03-04 09:15:06 UTC
Full list of tags for different formats tagging formats: id3, vorbis etc. is here:

http://musicbrainz.org/doc/MusicBrainzTag

Not all of these tags are supported in gstreamer yet.
Comment 8 James "Doc" Livingston 2007-03-14 07:53:03 UTC
Patch looks fine to commit to me, although I'd possibly add a trailing comma to the change in metadata/rb-metadata-common.c - so that you don't have to modify the last line when adding new stuff.
Comment 9 Alex Lancaster 2007-03-14 08:56:05 UTC
(In reply to comment #8)
> Patch looks fine to commit to me, although I'd possibly add a trailing comma to
> the change in metadata/rb-metadata-common.c - so that you don't have to modify
> the last line when adding new stuff.

Done and committed to SVN trunk.