Re: [Muine] Muine 0.8.0 PRERELEASE = no problems
- From: Javier Ruiz Hidalgo <javier ruizhidalgo gmail com>
- To: muine-list gnome org
- Subject: Re: [Muine] Muine 0.8.0 PRERELEASE = no problems
- Date: Tue, 4 Jan 2005 12:00:22 +0100
Cool it works!!
I just missed the object name "/org/gnome/Muine/Player", I didn't
know what name I had to use :-) btw, if anyone is interested here's a
simple python code that calls that method:
#! /usr/bin/env python
import dbus
bus = dbus.SessionBus()
remote_service = bus.get_service("org.gnome.Muine")
remote_object =
remote_service.get_object("/org/gnome/Muine/Player","org.gnome.Muine.Player")
remote_object.Next()
Let me know when you finish the exporting of the PlayerObject and I'll
play something more with it...
later,
On Tue, 04 Jan 2005 11:48:57 +0100, Jorn Baayen <jbaayen gnome org> wrote:
> Hi,
>
> I don't know about python, but using dbus-send you can do it like this:
> dbus-send --session --dest=org.gnome.Muine --type=method_call
> "/org/gnome/Muine/Player" org.gnome.Muine.Player.Next
>
> Your mail got me thinking about exporting PlayerDBusObject, so that C#
> DBus clients are made really really easy. Working on it right now. When
> I get that working nicely I'll do a new preview release ..
>
> Thanks for testing!
>
> Jorn
>
> On Tue, 2005-01-04 at 10:59 +0100, Javier Ruiz Hidalgo wrote:
> > Hi,
> >
> > Congratulations for the pre-release! I've tested it on my debian-sid
> > machine (using mono 1.1.3, gtk-sharp 1.9.1 and dbus cvs) and
> > everything worked (no crashes when scrolling or anything).
> >
> > I'm actually very interested on the dbus interface. Have you got any
> > client code (in C# or python) to test the server? I'm trying to call
> > the Next() method just for a test but it doesn't seem to work :-(
> >
> > later,
> >
> >
>
>
--
Javier Ruiz Hidalgo <javier ruizhidalgo gmail com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]