org.bluez.MediaFolder - BlueZ D-Bus MediaFolder API documentation
Contents
Interface
Service
unique name (Target role) org.bluez (Controller role)
Interface
org.bluez.MediaFolder1
Objectpath
freely definable (Target role) [variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX/playerX
(Controller role)
MethodsobjectSearch(stringvalue,dictfilter)
Return a folder object containing the search result.
To list the items found use the folder object returned and pass to ChangeFolder.
Possible Errors:
org.bluez.Error.NotSupportedorg.bluez.Error.Failedarray{objects,properties}ListItems(dictfilter)
Return a list of items found
Possible Errors:
org.bluez.Error.InvalidArgumentsorg.bluez.Error.NotSupportedorg.bluez.Error.FailedvoidChangeFolder(objectfolder)
Change current folder.
Note: By changing folder the items of previous folder might be destroyed and have to be listed again,
the exception is NowPlaying folder which should be always present while the player is active.
Possible Errors:
org.bluez.Error.InvalidArgumentsorg.bluez.Error.NotSupportedorg.bluez.Error.FailedPropertiesuint32NumberOfItems[readonly]
Number of items in the folder
stringName[readonly]
Folder name:
Possible values:
"/Filesystem/..."
Filesystem scope
"/NowPlaying/..."
NowPlaying scope
Note: /NowPlaying folder might not be listed if player is stopped, folders created by Search are
virtual so once another Search is perform or the folder is changed using ChangeFolder it will no
longer be listed.
Filtersuint32Start
Offset of the first item.
Default value: 0
uint32End
Offset of the last item.
Default value: NumbeOfItems
array{string}Attributes
Item properties that should be included in the list.
Possible Values:
"title", "artist", "album", "genre", "number-of-tracks", "number", "duration"
Default Value: All
BlueZ September 2023 ORG.BLUEZ.MEDIAFOLDER(5)
Name
org.bluez.MediaFolder - BlueZ D-Bus MediaFolder API documentation
