<div dir="ltr"><div style="text-align: left;">Alright, here it is: <a href="https://bugs.freedesktop.org/show_bug.cgi?id=10568">https://bugs.freedesktop.org/show_bug.cgi?id=10568</a><br><br>Thanks for your reply,<br>Tomer<br>
</div><br><div><span class="gmail_quote">2007/4/8, Simon McVittie <<a href="mailto:simon.mcvittie@collabora.co.uk">simon.mcvittie@collabora.co.uk</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); border-right: 1px solid rgb(204, 204, 204); margin: 0pt 0.8ex; padding-left: 1ex; padding-right: 1ex;">
On Sun, 08 Apr 2007 at 19:56:21 +0300, Tomer Haimovich wrote:<br>> I'm trying to write a python program which will tell me what the Listen<br>> music player is currently playing. I've written this code:<br>>
<br>> import dbus<br>><br>> bus = dbus.SessionBus()<br>> proxy_obj = bus.get_object( 'org.gnome.Listen', '/org/gnome/listen' )<br>><br>> print proxy_obj.current_playing()<br>><br>> It works well if Listen is already opened when the get_object method is
<br>> called, but if Listen is not opened, the script will automatically open it.<br><br>D-Bus supports setting a flag for "if the app isn't running, don't start<br>it", but the high level parts of the Python bindings don't support it
<br>yet. Could you please file a bug to remind me to fix that omission? I'll<br>be doing some more work on the D-Bus Python bindings in a week or two.<br><br>Thanks,<br> Simon<br>_______________________________________________
<br>dbus mailing list<br><a href="mailto:dbus@lists.freedesktop.org">dbus@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/dbus">http://lists.freedesktop.org/mailman/listinfo/dbus</a><br>
</blockquote></div><br></div>