org.bluez.MediaItem(5)
๐ต org.bluez.MediaItem โ BlueZ D-Bus MediaItem API ๐
okay bestie, this is the org.bluez.MediaItem(5) page from the Linux System Administration manual, and it's literally the BlueZ D-Bus MediaItem API documentation. It's giving Bluetooth media item main character energy ๐ฆ
๐ธ NAME ๐ธ
org.bluez.MediaItem โ BlueZ D-Bus MediaItem API documentation. Periodt.
๐ฆ INTERFACE ๐ฆ
Serviceโ unique name (Target role)org.bluez(Controller role)Interfaceโorg.bluez.MediaItem1Object pathโfreely definable (Target role) [variable prefix]/{hci0,hci1,...}/dev_{BDRADDR}/player#/item# (Controller role)Used byโbluetoothctl-player(1)
๐ถ METHODS ๐ถ
๐ฎ void Play()
Play item. That's the whole vibe โจ
Possible Errors:
org.bluez.Error.NotSupportedorg.bluez.Error.Failed
Examples:
bluetoothctl
[player] > play [item]
๐ฎ void AddtoNowPlaying()
Add item to now playing list. Lowkey iconic ๐
Possible Errors:
org.bluez.Error.NotSupportedorg.bluez.Error.Failed
Examples:
bluetoothctl
[player] > queue <item>
๐ 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.
Available if property Type is "Folder".
Possible values:
"mixed""titles""albums""artists"
boolean Playable[readonly, optional]โ Indicates if the item can be played.
Available if property Type is "folder".
dict Metadata[readonly]โ Item metadata.
Possible values:
string Titleโ Item title name. Available if propertyTypeis"audio"or"video".string Artistโ Item artist name. Available if propertyTypeis"audio"or"video".string Albumโ Item album name. Available if propertyTypeis"audio"or"video".string Genreโ Item genre name. Available if propertyTypeis"audio"or"video".uint32 NumberOfTracksโ Item album number of tracks in total. Available if propertyTypeis"audio"or"video".uint32 Numberโ Item album number. Available if propertyTypeis"audio"or"video".uint32 Durationโ Item duration in milliseconds. Available if propertyTypeis"audio"or"video".
๐ signed, sealed, delivered by BlueZ in September 2023 โ this was org.bluez.MediaItem(5), mwah ๐
๐ฆ where this page comes from
- arch rolling: bluez-utils 5.87-2 ยท GPL-2.0-only
- nixpkgs unstable: bluez 5.87
- ubuntu stonking: bluez 5.87-4 ยท GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms