Solved it,
Everything fine with vala in this files, I just called the wrong functions:
getMetaData instead of getMetadata.
Nikos
On Tue, Dec 15, 2009 at 3:11 PM, Kos nikosversch...@gmail.com wrote:
Hey,
I'm back with more DBus problems. Now I want to receive an 'a{sv}' output.
I translated
() is definitely not ai, so the struct variant is supposed to work
-- the array variant not.
Am Montag, den 14.12.2009, 18:58 +0100 schrieb Kos:
I tried to set the return value to int[], so it doesn't had to guess the
return type. But then it segfaults.
vala file:
On Tue, 2009-12-15 at 12:45 +0100, Kos wrote:
You can find the test-source here: http://pastebin.org/65108
I compile it with valac --pkg dbus-glib-1 vlc_test3.vala -g
Use the static variant but with an out parameter instead of a return
value as in the following lines:
public abstract void
Thank you,
That works. Even with the dynamic method.
Is there a time window when the fixes will emerge in a vala release? (Just
out of curiosity)
@Jürg, sorry for the double mail. Forgot to send a copy to the mailinglist
Nikos
On Tue, Dec 15, 2009 at 12:59 PM, Jürg Billeter j...@bitron.ch
Hey,
I'm back with more DBus problems. Now I want to receive an 'a{sv}' output. I
translated that into a HashTablestring,Value?, but I get errors.
First I tried it the normal way, e.g. with return values. But it errors that
there is no signature on the interface
http://pastebin.org/65152
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
On Mon, Dec 14, 2009 at 11:37 AM, Kos nikosversch...@gmail.com wrote:
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
() is definitely not ai, so the struct variant is supposed to work
-- the array variant not.
Am Montag, den 14.12.2009, 18:58 +0100 schrieb Kos:
I tried to set the return value to int[], so it doesn't had to guess the
return type. But then it segfaults.
vala file: http://pastebin.org/64817