org.bluez.MediaItem - BlueZ D-Bus MediaItem API documentation
Contents
Interface
Service
unique name (Target role) org.bluez (Controller role)
Interface
org.bluez.MediaItem1
Objectpath
freely definable (Target role) [variable
prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX/playerX/itemX (Controller role)
MethodsvoidPlay()
Play item
Possible Errors:
org.bluez.Error.NotSupportedorg.bluez.Error.FailedvoidAddtoNowPlaying()
Add item to now playing list
Possible Errors:
org.bluez.Error.NotSupportedorg.bluez.Error.FailedPropertiesobjectPlayer[readonly]
Player object path the item belongs to
stringName[readonly]
Item displayable name
stringType[readonly]
Item type
Possible values: "video", "audio", "folder"
stringFolderType[readonly,optional]
Folder type.
Possible values: "mixed", "titles", "albums", "artists"
Available if property Type is "Folder"
booleanPlayable[readonly,optional]
Indicates if the item can be played
Available if property Type is "folder"
dictMetadata[readonly]
Item metadata.
Possible values:
stringTitle
Item title name
Available if property Type is "audio" or "video"
stringArtist
Item artist name
Available if property Type is "audio" or "video"
stringAlbum
Item album name
Available if property Type is "audio" or "video"
stringGenre
Item genre name
Available if property Type is "audio" or "video"
uint32NumberOfTracks
Item album number of tracks in total
Available if property Type is "audio" or "video"
uint32Number
Item album number
Available if property Type is "audio" or "video"
uint32Duration
Item duration in milliseconds
Available if property Type is "audio" or "video"
BlueZ September 2023 ORG.BLUEZ.MEDIAITEM(5)
Name
org.bluez.MediaItem - BlueZ D-Bus MediaItem API documentation
