OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af0659b
)
Add support for MediaPlayer.Release to simple-player
author
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Fri, 28 Oct 2011 07:49:22 +0000
(10:49 +0300)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Fri, 28 Oct 2011 12:15:53 +0000
(15:15 +0300)
test/simple-player
patch
|
blob
|
history
diff --git
a/test/simple-player
b/test/simple-player
index
209fcdc
..
166caff
100755
(executable)
--- a/
test/simple-player
+++ b/
test/simple-player
@@
-10,6
+10,12
@@
import gobject
class Player(dbus.service.Object):
@dbus.service.method("org.bluez.MediaPlayer",
+ in_signature="", out_signature="")
+ def Release(self):
+ print("Release")
+ mainloop.quit()
+
+ @dbus.service.method("org.bluez.MediaPlayer",
in_signature="sv", out_signature="")
def SetProperty(self, key, value):
print("SetProperty (%s, %s)" % (key, value), file=sys.stderr)