Add basic support for MUSICBRAINZ_WORKID tag
This commit is contained in:
parent
78c73fb9e7
commit
42959982a9
@ -153,4 +153,13 @@
|
|||||||
database.
|
database.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
<varname>musicbrainz_workid</varname>: the work id in the
|
||||||
|
<ulink
|
||||||
|
url="https://picard.musicbrainz.org/docs/mappings/">MusicBrainz</ulink>
|
||||||
|
database.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
@ -280,6 +280,7 @@ roar_tag_convert(TagType type, bool *is_uuid)
|
|||||||
case TAG_MUSICBRAINZ_ALBUMARTISTID:
|
case TAG_MUSICBRAINZ_ALBUMARTISTID:
|
||||||
case TAG_MUSICBRAINZ_TRACKID:
|
case TAG_MUSICBRAINZ_TRACKID:
|
||||||
case TAG_MUSICBRAINZ_RELEASETRACKID:
|
case TAG_MUSICBRAINZ_RELEASETRACKID:
|
||||||
|
case TAG_MUSICBRAINZ_WORKID:
|
||||||
*is_uuid = true;
|
*is_uuid = true;
|
||||||
return "HASH";
|
return "HASH";
|
||||||
|
|
||||||
|
@ -30,5 +30,6 @@ const struct tag_table musicbrainz_txxx_tags[] = {
|
|||||||
{ "MusicBrainz Track Id", TAG_MUSICBRAINZ_TRACKID },
|
{ "MusicBrainz Track Id", TAG_MUSICBRAINZ_TRACKID },
|
||||||
{ "MusicBrainz Release Track Id",
|
{ "MusicBrainz Release Track Id",
|
||||||
TAG_MUSICBRAINZ_RELEASETRACKID },
|
TAG_MUSICBRAINZ_RELEASETRACKID },
|
||||||
|
{ "MusicBrainz Work Id", TAG_MUSICBRAINZ_WORKID },
|
||||||
{ nullptr, TAG_NUM_OF_ITEM_TYPES }
|
{ nullptr, TAG_NUM_OF_ITEM_TYPES }
|
||||||
};
|
};
|
||||||
|
@ -44,4 +44,5 @@ const char *const tag_item_names[TAG_NUM_OF_ITEM_TYPES] = {
|
|||||||
[TAG_MUSICBRAINZ_ALBUMARTISTID] = "MUSICBRAINZ_ALBUMARTISTID",
|
[TAG_MUSICBRAINZ_ALBUMARTISTID] = "MUSICBRAINZ_ALBUMARTISTID",
|
||||||
[TAG_MUSICBRAINZ_TRACKID] = "MUSICBRAINZ_TRACKID",
|
[TAG_MUSICBRAINZ_TRACKID] = "MUSICBRAINZ_TRACKID",
|
||||||
[TAG_MUSICBRAINZ_RELEASETRACKID] = "MUSICBRAINZ_RELEASETRACKID",
|
[TAG_MUSICBRAINZ_RELEASETRACKID] = "MUSICBRAINZ_RELEASETRACKID",
|
||||||
|
[TAG_MUSICBRAINZ_WORKID] = "MUSICBRAINZ_WORKID",
|
||||||
};
|
};
|
||||||
|
@ -57,6 +57,7 @@ enum TagType
|
|||||||
TAG_MUSICBRAINZ_ALBUMARTISTID,
|
TAG_MUSICBRAINZ_ALBUMARTISTID,
|
||||||
TAG_MUSICBRAINZ_TRACKID,
|
TAG_MUSICBRAINZ_TRACKID,
|
||||||
TAG_MUSICBRAINZ_RELEASETRACKID,
|
TAG_MUSICBRAINZ_RELEASETRACKID,
|
||||||
|
TAG_MUSICBRAINZ_WORKID,
|
||||||
|
|
||||||
TAG_NUM_OF_ITEM_TYPES
|
TAG_NUM_OF_ITEM_TYPES
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user