From 941e1b8343ecebd20eb93084fac1917a891878b7 Mon Sep 17 00:00:00 2001 From: Jean Felder Date: Fri, 12 Nov 2021 13:51:56 +0100 Subject: [PATCH] id3v2mux: Map GST_TAG_MUSICBRAINZ_RELEASEGROUPID Part-of: --- .../gst-plugins-good/ext/taglib/gstid3v2mux.cc | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/subprojects/gst-plugins-good/ext/taglib/gstid3v2mux.cc b/subprojects/gst-plugins-good/ext/taglib/gstid3v2mux.cc index 2c34f173ff..2a4466c080 100644 --- a/subprojects/gst-plugins-good/ext/taglib/gstid3v2mux.cc +++ b/subprojects/gst-plugins-good/ext/taglib/gstid3v2mux.cc @@ -314,9 +314,9 @@ add_musicbrainz_tag (ID3v2::Tag * id3v2tag, const GstTagList * list, { static const struct { - const gchar gst_tag[28]; - const gchar spec_id[28]; - const gchar realworld_id[28]; + const gchar gst_tag[32]; + const gchar spec_id[32]; + const gchar realworld_id[32]; } mb_ids[] = { { GST_TAG_MUSICBRAINZ_ARTISTID, "MusicBrainz Artist Id", @@ -324,6 +324,8 @@ add_musicbrainz_tag (ID3v2::Tag * id3v2tag, const GstTagList * list, GST_TAG_MUSICBRAINZ_ALBUMID, "MusicBrainz Album Id", "musicbrainz_albumid"}, { GST_TAG_MUSICBRAINZ_ALBUMARTISTID, "MusicBrainz Album Artist Id", "musicbrainz_albumartistid"}, { + GST_TAG_MUSICBRAINZ_RELEASEGROUPID, "MusicBrainz Release Group Id", + "musicbrainz_releasegroupid"}, { GST_TAG_MUSICBRAINZ_TRMID, "MusicBrainz TRM Id", "musicbrainz_trmid"}, { GST_TAG_CDDA_MUSICBRAINZ_DISCID, "MusicBrainz DiscID", "musicbrainz_discid"}, { @@ -724,9 +726,10 @@ static const struct GST_TAG_MUSICBRAINZ_ARTISTID, add_musicbrainz_tag, "\000"}, { GST_TAG_MUSICBRAINZ_ALBUMID, add_musicbrainz_tag, "\001"}, { GST_TAG_MUSICBRAINZ_ALBUMARTISTID, add_musicbrainz_tag, "\002"}, { - GST_TAG_MUSICBRAINZ_TRMID, add_musicbrainz_tag, "\003"}, { - GST_TAG_CDDA_MUSICBRAINZ_DISCID, add_musicbrainz_tag, "\004"}, { - GST_TAG_CDDA_CDDB_DISCID, add_musicbrainz_tag, "\005"}, { + GST_TAG_MUSICBRAINZ_RELEASEGROUPID, add_musicbrainz_tag, "\003"}, { + GST_TAG_MUSICBRAINZ_TRMID, add_musicbrainz_tag, "\004"}, { + GST_TAG_CDDA_MUSICBRAINZ_DISCID, add_musicbrainz_tag, "\005"}, { + GST_TAG_CDDA_CDDB_DISCID, add_musicbrainz_tag, "\006"}, { GST_TAG_MUSICBRAINZ_TRACKID, add_unique_file_id_tag, ""}, { GST_TAG_ARTIST_SORTNAME, add_text_tag, "TSOP"}, { GST_TAG_ALBUM_SORTNAME, add_text_tag, "TSOA"}, {