MPRIS Metadata - nesciens/xmms2-wiki GitHub Wiki

MPRIS v2.0 metadata guidelines

See the freedesktop.org wiki

MPRIS v1.0 Metadata guidelines

Below is a proposed, minimal list of standard field names with a description of intended use. No single or group of field names is mandatory. These recommendations are intended for implementations of the MPRIS v1.0

Informational

"location"

(string) Url to the media (local files are represented as a file:// url)

"title"

(string) Name

"artist"

(string) Name of artist or band performing the work

"album"

(string) Name of compilation the work is part of

"tracknumber"

(string) The position if it's part of a larger set, it may have to be converted to an integer. This MAY be extended with a "/" character and a numeric string containing the total number of elements in the set. E.g. "69/1337".

"time"

(uint32) The duration in seconds

"mtime"

(uint32) The duration in milliseconds

"genre"

(string) The genre. This MAY begin with a numerical value reflecting the genre in a previously known array of genres, such as ID3 genres. See http://www.linuxselfhelp.com/HOWTO/MP3-HOWTO-13.html#ss13.3

"comment"

(string) A comment about the work

"rating"

(uint32) A "taste" rate value, out of 5. 0-5 or 1-5?

"year"

(uint32) The year when the performing was realized, i.e. 2007.

"date"

(uint32) When the performing was realized, for precise needs. It is represented as epoch, i.e. the number of seconds since « 00:00:00 1970-01-01 UTC »

"arturl"

(string) An URI to an image associated with the work

Informational for external services

"asin"

(string) Amazon Standard Identification Number

"puid fingerprint"

(string) MusicDNS audio fingerprint id http://wiki.musicbrainz.org/PUID

"mb track id"

(string) The relative URI as defined in http://wiki.musicbrainz.org/TrackID

"mb artist id"

(string)

"mb artist sort name"

(string) http://wiki.musicbrainz.org/ArtistName

"mb album id"

(string)

"mb release date"

(string)

"mb album artist"

(string)

"mb album artist id"

(string)

"mb album artist sort name"

(string)

Technical

"audio-bitrate"

(uint32) The number of bits per second for audio track

"audio-samplerate"

(uint32) The number of samples per second for audio track

"video-bitrate"

(uint32) The number of bits per second for video track

⚠️ **GitHub.com Fallback** ⚠️