Skip to content

Commit

Permalink
Merge pull request #124 from mayanez/feat/showmovement
Browse files Browse the repository at this point in the history
feat: Add ShowMovement Tag
  • Loading branch information
jcorporation authored Jul 26, 2024
2 parents b5bd961 + 39c858f commit bcbde7f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ libmpdclient 2.23 (not yet released)
* support MPD protocol 0.24.0
- allow window for listplaylist and listplaylistinfo
- command "playlistlength"
- tag "ShowMovement"
* Support open end for mpd_search_add_window

libmpdclient 2.22 (2023/12/22)
Expand Down
2 changes: 2 additions & 0 deletions include/mpd/tag.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
* #MPD_TAG_LOCATION.
* @since libmpdclient 2.21 added support for #MPD_TAG_MOOD,
* #MPD_TAG_TITLE_SORT.
* @since libmpdclient 2.23 added support for #MPD_TAG_SHOWMOVEMENT.
*/
enum mpd_tag_type
{
Expand Down Expand Up @@ -69,6 +70,7 @@ enum mpd_tag_type
MPD_TAG_MOOD,
MPD_TAG_TITLE_SORT,
MPD_TAG_MUSICBRAINZ_RELEASEGROUPID,
MPD_TAG_SHOWMOVEMENT,

/* IMPORTANT: the ordering of tag types above must be
retained, or else the libmpdclient ABI breaks */
Expand Down
1 change: 1 addition & 0 deletions src/tag.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ static const char *const mpd_tag_type_names[MPD_TAG_COUNT] =
[MPD_TAG_MOOD] = "Mood",
[MPD_TAG_TITLE_SORT] = "TitleSort",
[MPD_TAG_MUSICBRAINZ_RELEASEGROUPID] = "MUSICBRAINZ_RELEASEGROUPID",
[MPD_TAG_SHOWMOVEMENT] = "ShowMovement",
};

const char *
Expand Down

0 comments on commit bcbde7f

Please sign in to comment.