tag.h
Go to the documentation of this file.
// SPDX-License-Identifier: BSD-3-Clause
// Copyright The Music Player Daemon Project
#ifndef LIBMPDCLIENT_TAG_H
#define LIBMPDCLIENT_TAG_H
enum mpd_tag_type
{
MPD_TAG_UNKNOWN = -1,
MPD_TAG_ARTIST,
MPD_TAG_ALBUM,
MPD_TAG_ALBUM_ARTIST,
MPD_TAG_TITLE,
MPD_TAG_TRACK,
MPD_TAG_NAME,
MPD_TAG_GENRE,
MPD_TAG_DATE,
MPD_TAG_COMPOSER,
MPD_TAG_PERFORMER,
MPD_TAG_COMMENT,
MPD_TAG_DISC,
MPD_TAG_MUSICBRAINZ_ARTISTID,
MPD_TAG_MUSICBRAINZ_ALBUMID,
MPD_TAG_MUSICBRAINZ_ALBUMARTISTID,
MPD_TAG_MUSICBRAINZ_TRACKID,
MPD_TAG_MUSICBRAINZ_RELEASETRACKID,
MPD_TAG_ORIGINAL_DATE,
MPD_TAG_ARTIST_SORT,
MPD_TAG_ALBUM_ARTIST_SORT,
MPD_TAG_ALBUM_SORT,
MPD_TAG_LABEL,
MPD_TAG_MUSICBRAINZ_WORKID,
MPD_TAG_GROUPING,
MPD_TAG_WORK,
MPD_TAG_CONDUCTOR,
MPD_TAG_COMPOSER_SORT,
MPD_TAG_ENSEMBLE,
MPD_TAG_MOVEMENT,
MPD_TAG_MOVEMENTNUMBER,
MPD_TAG_LOCATION,
MPD_TAG_MOOD,
MPD_TAG_TITLE_SORT,
MPD_TAG_MUSICBRAINZ_RELEASEGROUPID,
/* IMPORTANT: the ordering of tag types above must be
retained, or else the libmpdclient ABI breaks */
MPD_TAG_COUNT
};
#ifdef __cplusplus
extern "C" {
#endif
const char *
mpd_tag_name(enum mpd_tag_type type);
enum mpd_tag_type
mpd_tag_name_parse(const char *name);
enum mpd_tag_type
mpd_tag_name_iparse(const char *name);
#ifdef __cplusplus
}
#endif
#endif
mpd_tag_name_iparse
enum mpd_tag_type mpd_tag_name_iparse(const char *name)
mpd_tag_type
mpd_tag_type
Definition tag.h:25
MPD_TAG_MUSICBRAINZ_RELEASEGROUPID
@ MPD_TAG_MUSICBRAINZ_RELEASEGROUPID
Definition tag.h:71
MPD_TAG_ALBUM_SORT
@ MPD_TAG_ALBUM_SORT
Definition tag.h:56
MPD_TAG_MUSICBRAINZ_WORKID
@ MPD_TAG_MUSICBRAINZ_WORKID
Definition tag.h:58
MPD_TAG_ALBUM_ARTIST
@ MPD_TAG_ALBUM_ARTIST
Definition tag.h:34
MPD_TAG_LABEL
@ MPD_TAG_LABEL
Definition tag.h:57
MPD_TAG_COUNT
@ MPD_TAG_COUNT
Definition tag.h:76
MPD_TAG_DISC
@ MPD_TAG_DISC
Definition tag.h:43
MPD_TAG_MOOD
@ MPD_TAG_MOOD
Definition tag.h:69
MPD_TAG_MOVEMENTNUMBER
@ MPD_TAG_MOVEMENTNUMBER
Definition tag.h:67
MPD_TAG_COMPOSER_SORT
@ MPD_TAG_COMPOSER_SORT
Definition tag.h:64
MPD_TAG_MUSICBRAINZ_ALBUMARTISTID
@ MPD_TAG_MUSICBRAINZ_ALBUMARTISTID
Definition tag.h:47
MPD_TAG_LOCATION
@ MPD_TAG_LOCATION
Definition tag.h:68
MPD_TAG_ORIGINAL_DATE
@ MPD_TAG_ORIGINAL_DATE
Definition tag.h:51
MPD_TAG_CONDUCTOR
@ MPD_TAG_CONDUCTOR
Definition tag.h:62
MPD_TAG_ARTIST_SORT
@ MPD_TAG_ARTIST_SORT
Definition tag.h:53
MPD_TAG_PERFORMER
@ MPD_TAG_PERFORMER
Definition tag.h:41
MPD_TAG_ARTIST
@ MPD_TAG_ARTIST
Definition tag.h:32
MPD_TAG_GROUPING
@ MPD_TAG_GROUPING
Definition tag.h:60
MPD_TAG_COMMENT
@ MPD_TAG_COMMENT
Definition tag.h:42
MPD_TAG_MUSICBRAINZ_ARTISTID
@ MPD_TAG_MUSICBRAINZ_ARTISTID
Definition tag.h:45
MPD_TAG_COMPOSER
@ MPD_TAG_COMPOSER
Definition tag.h:40
MPD_TAG_MUSICBRAINZ_TRACKID
@ MPD_TAG_MUSICBRAINZ_TRACKID
Definition tag.h:48
MPD_TAG_ALBUM_ARTIST_SORT
@ MPD_TAG_ALBUM_ARTIST_SORT
Definition tag.h:54
MPD_TAG_WORK
@ MPD_TAG_WORK
Definition tag.h:61
MPD_TAG_DATE
@ MPD_TAG_DATE
Definition tag.h:39
MPD_TAG_MUSICBRAINZ_ALBUMID
@ MPD_TAG_MUSICBRAINZ_ALBUMID
Definition tag.h:46
MPD_TAG_ENSEMBLE
@ MPD_TAG_ENSEMBLE
Definition tag.h:65
MPD_TAG_TITLE_SORT
@ MPD_TAG_TITLE_SORT
Definition tag.h:70
MPD_TAG_GENRE
@ MPD_TAG_GENRE
Definition tag.h:38
MPD_TAG_UNKNOWN
@ MPD_TAG_UNKNOWN
Definition tag.h:30
MPD_TAG_MOVEMENT
@ MPD_TAG_MOVEMENT
Definition tag.h:66
MPD_TAG_TRACK
@ MPD_TAG_TRACK
Definition tag.h:36
MPD_TAG_NAME
@ MPD_TAG_NAME
Definition tag.h:37
MPD_TAG_ALBUM
@ MPD_TAG_ALBUM
Definition tag.h:33
MPD_TAG_TITLE
@ MPD_TAG_TITLE
Definition tag.h:35
MPD_TAG_MUSICBRAINZ_RELEASETRACKID
@ MPD_TAG_MUSICBRAINZ_RELEASETRACKID
Definition tag.h:49
mpd_tag_name
const char * mpd_tag_name(enum mpd_tag_type type)
mpd_tag_name_parse
enum mpd_tag_type mpd_tag_name_parse(const char *name)