From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ 4/4] Add support for MediaPlayer.Release to simple-player
Date: Fri, 28 Oct 2011 10:49:22 +0300 [thread overview]
Message-ID: <1319788162-5606-4-git-send-email-luiz.dentz@gmail.com> (raw)
In-Reply-To: <1319788162-5606-1-git-send-email-luiz.dentz@gmail.com>
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
---
test/simple-player | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/test/simple-player b/test/simple-player
index 209fcdc..166caff 100755
--- 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)
--
1.7.6.4
next prev parent reply other threads:[~2011-10-28 7:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-28 7:49 [PATCH BlueZ 1/4] Add rule to allow sending messages to MediaPlayer interface Luiz Augusto von Dentz
2011-10-28 7:49 ` [PATCH BlueZ 2/4] Add MediaPlayer.Release method Luiz Augusto von Dentz
2011-10-28 7:49 ` [PATCH BlueZ 3/4] Add support for MediaPlayer.Release to mpris-player Luiz Augusto von Dentz
2011-10-28 7:49 ` Luiz Augusto von Dentz [this message]
2011-10-28 12:16 ` [PATCH BlueZ 1/4] Add rule to allow sending messages to MediaPlayer interface Johan Hedberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1319788162-5606-4-git-send-email-luiz.dentz@gmail.com \
--to=luiz.dentz@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox