From 4ecd4761c205c2f92de96236b8a6c275a8dfd53a Mon Sep 17 00:00:00 2001 From: smutbert Date: Thu, 24 Oct 2019 20:34:00 +0200 Subject: [PATCH] add tag "Conductor" --- NEWS | 2 +- doc/protocol.rst | 1 + src/tag/Names.c | 1 + src/tag/Type.h | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 59c899c6e..20d5db734 100644 --- a/NEWS +++ b/NEWS @@ -6,7 +6,7 @@ ver 0.22 (not yet released) - relax the ISO 8601 parser: allow omitting the time of day and the "Z" suffix * tags - - new tags "Grouping" (for ID3 "TIT1") and "Work" + - new tags "Grouping" (for ID3 "TIT1"), "Work" and "Conductor" * input - curl: support "charset" parameter in URI fragment - ffmpeg: allow partial reads diff --git a/doc/protocol.rst b/doc/protocol.rst index ccde20146..f0d1a1071 100644 --- a/doc/protocol.rst +++ b/doc/protocol.rst @@ -283,6 +283,7 @@ The following tags are supported by :program:`MPD`: * **date**: the song's release date. This is usually a 4-digit year. * **composer**: the artist who composed the song. * **performer**: the artist who performed the song. +* **conductor**: the conductor who conducted the song. * **work**: `"a work is a distinct intellectual or artistic creation, which can be expressed in the form of one or more audio recordings" `_ * **grouping**: "used if the sound belongs to a larger category of diff --git a/src/tag/Names.c b/src/tag/Names.c index d619818c2..ac452aeeb 100644 --- a/src/tag/Names.c +++ b/src/tag/Names.c @@ -34,6 +34,7 @@ const char *const tag_item_names[TAG_NUM_OF_ITEM_TYPES] = { [TAG_ORIGINAL_DATE] = "OriginalDate", [TAG_COMPOSER] = "Composer", [TAG_PERFORMER] = "Performer", + [TAG_CONDUCTOR] = "Conductor", [TAG_WORK] = "Work", [TAG_GROUPING] = "Grouping", [TAG_COMMENT] = "Comment", diff --git a/src/tag/Type.h b/src/tag/Type.h index 0b4d90199..0cc986bf6 100644 --- a/src/tag/Type.h +++ b/src/tag/Type.h @@ -49,6 +49,7 @@ enum TagType TAG_ORIGINAL_DATE, TAG_COMPOSER, TAG_PERFORMER, + TAG_CONDUCTOR, TAG_WORK, TAG_GROUPING, TAG_COMMENT,