parent
9c19368fc7
commit
082f72dd20
|
@ -315,6 +315,7 @@ The following tags are supported by :program:`MPD`:
|
||||||
* **musicbrainz_albumid**: the album id in the `MusicBrainz <https://picard.musicbrainz.org/docs/mappings/>`_ database.
|
* **musicbrainz_albumid**: the album id in the `MusicBrainz <https://picard.musicbrainz.org/docs/mappings/>`_ database.
|
||||||
* **musicbrainz_albumartistid**: the album artist id in the `MusicBrainz <https://picard.musicbrainz.org/docs/mappings/>`_ database.
|
* **musicbrainz_albumartistid**: the album artist id in the `MusicBrainz <https://picard.musicbrainz.org/docs/mappings/>`_ database.
|
||||||
* **musicbrainz_trackid**: the track id in the `MusicBrainz <https://picard.musicbrainz.org/docs/mappings/>`_ database.
|
* **musicbrainz_trackid**: the track id in the `MusicBrainz <https://picard.musicbrainz.org/docs/mappings/>`_ database.
|
||||||
|
* **musicbrainz_releasegroupid**: the release group id in the `MusicBrainz <https://picard.musicbrainz.org/docs/mappings/>`_ database.
|
||||||
* **musicbrainz_releasetrackid**: the release track id in the `MusicBrainz <https://picard.musicbrainz.org/docs/mappings/>`_ database.
|
* **musicbrainz_releasetrackid**: the release track id in the `MusicBrainz <https://picard.musicbrainz.org/docs/mappings/>`_ database.
|
||||||
* **musicbrainz_workid**: the work id in the `MusicBrainz <https://picard.musicbrainz.org/docs/mappings/>`_ database.
|
* **musicbrainz_workid**: the work id in the `MusicBrainz <https://picard.musicbrainz.org/docs/mappings/>`_ database.
|
||||||
|
|
||||||
|
|
|
@ -182,6 +182,8 @@ static constexpr struct {
|
||||||
#endif
|
#endif
|
||||||
#if LIBMPDCLIENT_CHECK_VERSION(2,21,0)
|
#if LIBMPDCLIENT_CHECK_VERSION(2,21,0)
|
||||||
{ TAG_MOOD, MPD_TAG_MOOD },
|
{ TAG_MOOD, MPD_TAG_MOOD },
|
||||||
|
{ TAG_MUSICBRAINZ_RELEASEGROUPID,
|
||||||
|
MPD_TAG_MUSICBRAINZ_RELEASEGROUPID },
|
||||||
#endif
|
#endif
|
||||||
{ TAG_NUM_OF_ITEM_TYPES, MPD_TAG_COUNT }
|
{ TAG_NUM_OF_ITEM_TYPES, MPD_TAG_COUNT }
|
||||||
};
|
};
|
||||||
|
|
|
@ -15,5 +15,7 @@ const struct tag_table musicbrainz_txxx_tags[] = {
|
||||||
{ "MusicBrainz Release Track Id",
|
{ "MusicBrainz Release Track Id",
|
||||||
TAG_MUSICBRAINZ_RELEASETRACKID },
|
TAG_MUSICBRAINZ_RELEASETRACKID },
|
||||||
{ "MusicBrainz Work Id", TAG_MUSICBRAINZ_WORKID },
|
{ "MusicBrainz Work Id", TAG_MUSICBRAINZ_WORKID },
|
||||||
|
{ "MusicBrainz Release Group Id",
|
||||||
|
TAG_MUSICBRAINZ_RELEASEGROUPID },
|
||||||
{ nullptr, TAG_NUM_OF_ITEM_TYPES }
|
{ nullptr, TAG_NUM_OF_ITEM_TYPES }
|
||||||
};
|
};
|
||||||
|
|
|
@ -42,6 +42,7 @@ static constexpr struct tag_table tag_item_names_init[] = {
|
||||||
{"MUSICBRAINZ_TRACKID", TAG_MUSICBRAINZ_TRACKID},
|
{"MUSICBRAINZ_TRACKID", TAG_MUSICBRAINZ_TRACKID},
|
||||||
{"MUSICBRAINZ_RELEASETRACKID", TAG_MUSICBRAINZ_RELEASETRACKID},
|
{"MUSICBRAINZ_RELEASETRACKID", TAG_MUSICBRAINZ_RELEASETRACKID},
|
||||||
{"MUSICBRAINZ_WORKID", TAG_MUSICBRAINZ_WORKID},
|
{"MUSICBRAINZ_WORKID", TAG_MUSICBRAINZ_WORKID},
|
||||||
|
{"MUSICBRAINZ_RELEASEGROUPID", TAG_MUSICBRAINZ_RELEASEGROUPID},
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -43,6 +43,7 @@ enum TagType : uint8_t {
|
||||||
TAG_MUSICBRAINZ_TRACKID,
|
TAG_MUSICBRAINZ_TRACKID,
|
||||||
TAG_MUSICBRAINZ_RELEASETRACKID,
|
TAG_MUSICBRAINZ_RELEASETRACKID,
|
||||||
TAG_MUSICBRAINZ_WORKID,
|
TAG_MUSICBRAINZ_WORKID,
|
||||||
|
TAG_MUSICBRAINZ_RELEASEGROUPID,
|
||||||
|
|
||||||
TAG_NUM_OF_ITEM_TYPES
|
TAG_NUM_OF_ITEM_TYPES
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue