Tags
Prev | Chapter 1. General protocol syntax | Next

## Tags

The following tags are supported by MPD:

- `artist`: the artist name. Its meaning is not well-defined; see `composer` and `performer` for more specific tags.

- `artistsort`: same as `artist`, but for sorting. This usually omits prefixes such as "The".

- `album`: the album name.

- `albumsort`: same as `album`, but for sorting.

- `albumartist`: on multi-artist albums, this is the artist name which shall be used for the whole album. The exact meaning of this tag is not well-defined.

- `albumartistsort`: same as `albumartist`, but for sorting.

- `title`: the song title.

- `track`: the decimal track number within the album.

- `name`: a name for this song. This is not the song title. The exact meaning of this tag is not well-defined. It is often used by badly configured internet radio stations with broken tags to squeeze both the artist name and the song title in one tag.

- `genre`: the music genre.

- `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.

- `comment`: a human-readable comment about this song. The exact meaning of this tag is not well-defined.

- `disc`: the decimal disc number in a multi-disc album.

- `musicbrainz_artistid`: the artist id in the MusicBrainz database.

- `musicbrainz_albumid`: the album id in the MusicBrainz database.

- `musicbrainz_albumartistid`: the album artist id in the MusicBrainz database.

- `musicbrainz_trackid`: the track id in the MusicBrainz database.

- `musicbrainz_releasetrackid`: the release track id in the MusicBrainz database.

There can be multiple values for some of these tags. For example, MPD may return multiple lines with a `performer` tag. A tag value is a UTF-8 string.

Prev | Up | Next
Ranges | Home | Chapter 2. Recipes