ORG.BLUEZ.MEDIAPLAYER(5) | Linux System Administration | ORG.BLUEZ.MEDIAPLAYER(5) |
NAME¶
org.bluez.MediaPlayer - BlueZ D-Bus MediaPlayer API documentation
INTERFACE¶
- Service
- org.bluez (Controller role)
- Interface
- org.bluez.MediaPlayer1
- Object path
- [variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX/playerX
Methods¶
void Play()¶
void Pause()¶
void Stop()¶
void Next()¶
void Previous()¶
void FastForward()¶
Possible Errors:
void Rewind()¶
Possible Errors:
void Press(byte avc_key)¶
Possible Errors:
void Hold(byte avc_key)¶
Possible Errors:
void Release()¶
Possible Errors:
Properties¶
string Equalizer [readwrite]¶
Possible values:
- "off"
- "on"
string Repeat [readwrite]¶
Possible values:
- "off"
- "singletrack"
- "alltracks"
- "group"
string Shuffle [readwrite]¶
Possible values:
- "off"
- "alltracks"
- "group"
string Scan [readwrite]¶
Possible values:
- "off"
- "alltracks"
- "group"
string Status [readonly]¶
Possible status:
- "playing"
- "stopped"
- "paused"
- "forward-seek"
- "reverse-seek"
- "error"
uint32 Position [readonly]¶
Note that even if duration is not available in metadata it's possible to signal its end by setting position to the maximum uint32 value.
dict Track [readonly]¶
Possible values:
- string Title
- Track title name
- string Artist
- Track artist name
- string Album
- Track album name
- string Genre
- Track genre name
- uint32 NumberOfTracks
- Number of tracks in total
- uint32 TrackNumber
- Track number
- uint32 Duration
- Track duration in milliseconds
object Device [readonly]¶
string Name [readonly]¶
string Type [readonly]¶
Possible values:
string Subtype [readonly]¶
Possible values:
boolean Browsable [readonly]¶
Possible values:
Note: If supported but inactive clients can enable it by using MediaFolder interface but it might interfere in the playback of other players.
boolean Searchable [readonly]¶
Possible values:
Note: If supported but inactive clients can enable it by using MediaFolder interface but it might interfere in the playback of other players.
object Playlist¶
September 2023 | BlueZ |