org.bluez.MediaItem(5) Linux System Administration org.bluez.MediaItem(5)

# [Name](#Name)

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

# [Interface](#Interface)

[**Service**](#Service)

unique name (Target role) org.bluez (Controller role)

[**Interface**](#Interface~2)

org.bluez.MediaItem1

[**Object path**](#Object)

freely definable (Target role) \[variable prefix]/{hci0,hci1,...}/dev\_{BDRADDR}/player#/item# (Controller role)

[**Used by**](#Used)

[**bluetoothctl-player(1)**](/man/os/bluez/bluetoothctl-player.1)

## [Methods](#Methods)

## [void Play()](#void_Play%28%29)

Play item

Possible Errors:

[**org.bluez.Error.NotSupported**](#org.bluez.Error.NotSupported)

[**org.bluez.Error.Failed**](#org.bluez.Error.Failed)

Examples:

[**bluetoothctl**](#bluetoothctl)

\[player] &gt; play \[item]

## [void AddtoNowPlaying()](#void_AddtoNowPlaying%28%29)

Add item to now playing list

Possible Errors:

[**org.bluez.Error.NotSupported**](#org.bluez.Error.NotSupported~2)

[**org.bluez.Error.Failed**](#org.bluez.Error.Failed~2)

Examples:

[**bluetoothctl**](#bluetoothctl~2)

\[player] &gt; queue &lt;item&gt;

## [Properties](#Properties)

## [object Player \[readonly\]](#object_Player__readonly_)

Player object path the item belongs to

## [string Name \[readonly\]](#string_Name__readonly_)

Item displayable name

## [string Type \[readonly\]](#string_Type__readonly_)

Item type

Possible values:

**"video"**

**"audio"**

**"folder"**

## [string FolderType \[readonly, optional\]](#string_FolderType__readonly,_optional_)

Folder type.

Available if property Type is "Folder"

Possible values:

**"mixed"**

**"titles"**

**"albums"**

**"artists"**

## [boolean Playable \[readonly, optional\]](#boolean_Playable__readonly,_optional_)

Indicates if the item can be played

Available if property Type is "folder"

## [dict Metadata \[readonly\]](#dict_Metadata__readonly_)

Item metadata.

Possible values:

[**string Title**](#string)

Item title name

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

[**string Artist**](#string~2)

Item artist name

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

[**string Album**](#string~3)

Item album name

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

[**string Genre**](#string~4)

Item genre name

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

[**uint32 NumberOfTracks**](#uint32)

Item album number of tracks in total

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

[**uint32 Number**](#uint32~2)

Item album number

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

[**uint32 Duration**](#uint32~3)

Item duration in milliseconds

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

September 2023 BlueZ

---

Document: org.bluez.MediaItem(5) from bluez 5.87-r4 (Chainguard OS)
Source: https://github.com/bluez/bluez
