Sailfish OS
  • Info
  • User Experience
  • Cases
  • Community
  • Developers
  • Contact
  • Get Sailfish OS
Select Page
  • Info
  • User Experience
  • Cases
  • Community
  • Developers
  • Contact
  • Get Sailfish OS

API Documentation

Documentation for developing SailfishOS applications
  • API Documentation
  • Libsailfishapp
  • Sailfish Silica
    • Documentation
    • Icon Reference
  • Sailfish Components
    • Sailfish Accounts
    • Sailfish Bluetooth
    • Sailfish Contacts
    • Sailfish Crypto
    • Sailfish Gallery
    • Sailfish Media
    • Sailfish Pickers
    • Sailfish Secrets
    • Sailfish Share
    • Sailfish Telephony
    • Sailfish Webview
    • Amber Web Authorization
    • Amber MPRIS
  • Nemo QML Plugins
    • Configuration
    • Contacts
    • D-Bus
    • Keepalive
    • Notifications
    • Thumbnailer
  • Sailfish Middleware
    • MDM Framework
    • MDM Policy Framework
    • User Manager Daemon
  • API Documentation
  • Libsailfishapp
  • Sailfish Silica
    • Documentation
    • Icon Reference
  • Sailfish Components
    • Sailfish Accounts
    • Sailfish Bluetooth
    • Sailfish Contacts
    • Sailfish Crypto
    • Sailfish Gallery
    • Sailfish Media
    • Sailfish Pickers
    • Sailfish Secrets
    • Sailfish Share
    • Sailfish Telephony
    • Sailfish Webview
    • Amber Web Authorization
    • Amber MPRIS
  • Nemo QML Plugins
    • Configuration
    • Contacts
    • D-Bus
    • Keepalive
    • Notifications
    • Thumbnailer
  • Sailfish Middleware
    • MDM Framework
    • MDM Policy Framework
    • User Manager Daemon

Contents

  • Properties
  • Detailed Description

MprisMetaData QML Type

Provides media metadata information More...

Import Statement: import Amber.Mpris 1.0
  • List of all members, including inherited members

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

albumArtist : var

Artist of the album of the media

The artist of an album the media is part of. Maps to MPRIS property 'xesam:albumArtist'.


albumTitle : var

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


artUrl : var

URL of an image representing the media

Maps to MPRIS property 'mpris:artUrl'.


audioBpm : var

Beats per minute of audio

Maps to MPRIS property 'xesam:audioBPM'.


autoRating : var

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


comment : var

A list of free form comments about the media.

Maps to MPRIS property 'xesam:comment'.


composer : var

List of composers of the media.

Maps to MPRIS property 'xesam:composer'.


contributingArtist : var

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


date : var

The date the media was produced.

Maps to MPRIS property 'xesam:contentCreated'.


discNumber : var

Maps to MPRIS property 'xesam:discNumber'


duration : var

Length of the media in milliseconds

Maps top MPRIS property 'mpris.length'.


firstUsed : var

The date the media was played for the first time.

Maps to MPRIS property 'xesam:firstUsed'.


genre : var

List of genres the media represents.

Maps to MPRIS property 'xesam:genre'.


lastUsed : var

The date the media was played latest.

Maps to MPRIS propery 'xesam:lastUsed'.


lyrics : var

Lyrics of the media

Maps to MPRIS property 'xesam:asText'.


title : var

The title of the media.

Maps to MPRIS propery 'xesam:title'.


trackId : var

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


trackNumber : var

The index of the media on an album.

Maps to MPRIS property 'xesam:trackNumber'.


url : var

The url where the media is located.

Maps to MPRIS property 'xesam:url'.


useCount : var

The number of times the media has been played.

Maps to MPRIS property 'xesam:useCount'.


userRating : var

A manual rating for the media.

A rating the user has assigned to the media in range [0, 1].


writer : var

The author of the lyrics/script of the media.

Maps to MPRIS property 'xesam:lyricist'.


year : var

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.


  • Legal
  • Contact Us
  • Jolla Mobile Ltd © 2025

  • Facebook
  • Twitter
  • Mastodon
  • YouTube
  • LinkedIn