Scroll to navigation

ORG.BLUEZ.MEDIAITEM(5) Linux System Administration ORG.BLUEZ.MEDIAITEM(5)

NAME

org.bluez.MediaItem - BlueZ D-Bus MediaItem API documentation

INTERFACE

unique name (Target role) org.bluez (Controller role)
org.bluez.MediaItem1
freely definable (Target role) [variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX/playerX/itemX (Controller role)

Methods

void Play()


void AddtoNowPlaying()

Add item to now playing list

Possible Errors:




Properties

object Player [readonly]

Player object path the item belongs to


string Name [readonly]

Item displayable name


string Type [readonly]

Item type

Possible values: "video", "audio", "folder"



string FolderType [readonly, optional]

Folder type.

Possible values: "mixed", "titles", "albums", "artists"

Available if property Type is "Folder"



boolean Playable [readonly, optional]

Indicates if the item can be played

Available if property Type is "folder"



dict Metadata [readonly]

Item metadata.

Possible values:

Item title name

Available if property Type is "audio" or "video"

Item artist name

Available if property Type is "audio" or "video"

Item album name

Available if property Type is "audio" or "video"

Item genre name

Available if property Type is "audio" or "video"

Item album number of tracks in total

Available if property Type is "audio" or "video"

Item album number

Available if property Type is "audio" or "video"

Item duration in milliseconds

Available if property Type is "audio" or "video"




September 2023 BlueZ