API Documentation
Documentation for developing SailfishOS applicationsMprisMetaData QML Type
Provides media metadata information More...
Import Statement: | import Amber.Mpris 1.0 |
Properties
- albumArtist : var
- albumTitle : var
- artUrl : var
- audioBpm : var
- autoRating : var
- comment : var
- composer : var
- contributingArtist : var
- date : var
- discNumber : var
- duration : var
- firstUsed : var
- genre : var
- lastUsed : var
- lyrics : var
- title : var
- trackId : var
- trackNumber : var
- url : var
- useCount : var
- userRating : var
- writer : var
- year : var
Detailed Description
Provides access to information about media content.
All properties may be undefined if not applicable or known. A default trackId will be returned if one is not defined.
Property Documentation
Artist of the album of the media
The artist of an album the media is part of. Maps to MPRIS property 'xesam:albumArtist'.
Title of the album of the media
The name of an album the media is a part of, or undefined if not applicable or known. Maps to MPRIS property 'xesam:album'.
An automatic rating for the media
A rating for the media decided via automated means in the range [0, 1].
Maps to MPRIS property 'xesam:autoRating'.
Artist or artists who contributed the media
The artist or artists who have made the media. Eg. band, DJ, singer, director. Maps to MPRIS property 'xesam:artist'.
The date the media was played for the first time.
Maps to MPRIS property 'xesam:firstUsed'.
Identifies the track inside a playlist
Identifier for the current track, must be formatted as a valid DBus object path. No object needs to be registered on the path.
Maps to MPRIS property 'mpris:trackid'.
The number of times the media has been played.
Maps to MPRIS property 'xesam:useCount'.
A manual rating for the media.
A rating the user has assigned to the media in range [0, 1].
The year the media was produced.
Convenience accessor for setting or getting the year part of the date property. Commonly only the year part of the date is meaningful.
See also MprisMetaData::date.