1ORG.BLUEZ.MEDIAITEM(5) Linux System Administration ORG.BLUEZ.MEDIAITEM(5)
2
3
4
6 org.bluez.MediaItem - BlueZ D-Bus MediaItem API documentation
7
9 Service
10 unique name (Target role) org.bluez (Controller role)
11
12 Interface
13 org.bluez.MediaItem1
14
15 Object path
16 freely definable (Target role) [variable pre‐
17 fix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX/playerX/itemX (Con‐
18 troller role)
19
20 Methods
21 void Play()
22 Play item
23
24 Possible Errors:
25
26 org.bluez.Error.NotSupported
27
28 org.bluez.Error.Failed
29
30 void AddtoNowPlaying()
31 Add item to now playing list
32
33 Possible Errors:
34
35 org.bluez.Error.NotSupported
36
37 org.bluez.Error.Failed
38
39 Properties
40 object Player [readonly]
41 Player object path the item belongs to
42
43 string Name [readonly]
44 Item displayable name
45
46 string Type [readonly]
47 Item type
48
49 Possible values: "video", "audio", "folder"
50
51 string FolderType [readonly, optional]
52 Folder type.
53
54 Possible values: "mixed", "titles", "albums", "artists"
55
56 Available if property Type is "Folder"
57
58 boolean Playable [readonly, optional]
59 Indicates if the item can be played
60
61 Available if property Type is "folder"
62
63 dict Metadata [readonly]
64 Item metadata.
65
66 Possible values:
67
68 string Title
69 Item title name
70
71 Available if property Type is "audio" or "video"
72
73 string Artist
74 Item artist name
75
76 Available if property Type is "audio" or "video"
77
78 string Album
79 Item album name
80
81 Available if property Type is "audio" or "video"
82
83 string Genre
84 Item genre name
85
86 Available if property Type is "audio" or "video"
87
88 uint32 NumberOfTracks
89 Item album number of tracks in total
90
91 Available if property Type is "audio" or "video"
92
93 uint32 Number
94 Item album number
95
96 Available if property Type is "audio" or "video"
97
98 uint32 Duration
99 Item duration in milliseconds
100
101 Available if property Type is "audio" or "video"
102
103
104
105
106BlueZ September 2023 ORG.BLUEZ.MEDIAITEM(5)