45
45
Unregister sender end point.
47
void RegisterPlayer(object player, dict properties,
50
Register a media player object to sender, the sender
51
can register as many objets as it likes.
53
Note: If the sender disconnects its objects are
54
automatically unregistered.
60
Possible values: "off" or "on"
64
Possible values: "off", "singletrack",
65
"alltracks" or "group"
69
Possible values: "off", "alltracks" or
74
Possible values: "off", "alltracks" or
79
Possible values: "playing", "stopped",
87
Playback position in milliseconds
107
uint32 NumberOfTracks:
109
Number of tracks in total
117
Track duration in milliseconds
119
Possible Errors: org.bluez.Error.InvalidArguments
120
org.bluez.Error.NotSupported
122
void UnregisterPlayer(object player)
124
Unregister sender media player.
126
MediaPlayer hierarchy
127
=====================
130
Interface org.bluez.MediaPlayer
131
Object path freely definable
133
Methods void SetProperty(string property, variant value)
135
Changes the value of the specified property. Only
136
properties that are listed as read-write can be changed.
138
On success this will emit a PropertyChanged signal.
142
This method gets called when the service daemon
143
unregisters the player which can then perform
144
cleanup tasks. There is no need to unregister the
145
player, because when this method gets called it has
146
already been unregistered.
148
Signals PropertyChanged(string setting, variant value)
150
This signal indicates a changed value of the given
153
TrackChanged(dict metadata)
155
This signal indicates that current track has changed.
156
All available metadata for the new track shall be set
157
at once in the metadata argument. Metadata cannot be
158
updated in parts, otherwise it will be interpreted as
159
multiple track changes.
179
uint32 NumberOfTracks:
181
Number of tracks in total
189
Track duration in milliseconds
191
Properties string Equalizer [readwrite]
193
Possible values: "off" or "on"
195
string Repeat [readwrite]
197
Possible values: "off", "singletrack", "alltracks" or
200
string Shuffle [readwrite]
202
Possible values: "off", "alltracks" or "group"
204
string Scan [readwrite]
206
Possible values: "off", "alltracks" or "group"
208
string Status [readonly]
210
Possible status: "playing", "stopped", "paused",
211
"forward-seek", "reverse-seek" or
214
uint32 Position [readonly]
216
Playback position in milliseconds. Changing the
217
position may generate additional events that will be
218
sent to the remote device. When position is 0 it means
219
the track is starting and when it's greater than or
220
equal to track's duration the track has ended. Note
221
that even if duration is not available in metadata it's
222
possible to signal its end by setting position to the
223
maximum uint32 value.
47
225
MediaEndpoint hierarchy
48
226
=======================