Hello, I'm using vala to make an applet for awn. It will be an applet that can manage all the media players. Therefor I'm using the dbus with the mpris interface. I've tried to get the state of vlc. That means you have the call the dbus function GetStatus and it will return a struct. I first tried with an dynamic dbus, but I've got an error on running. I've tried with a static dbus and I didn't get an error, hurray. After careful looking at the return value, It only returns zero's. Bye bye hurray. So it still didn't do what I want.
For a stripped down version of my code, see http://pastebin.org/64684 (It has commentary) I really like coding in vala, but my project has a deadline. So either I need a way round the problem, or I'm forced to go to c. Do you see a way round the problem? thanks in advance, Kos
_______________________________________________ Vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
