Running queries via dbus
Jacopo De Simoi
wilderkde at gmail.com
Mon Mar 22 23:05:26 CET 2010
>
> Ah, well the issue is that we're trying to pass back a float, but only doubles
> are registered as valid D-Bus types by default.
>
> In particular, Meta::Track has float as the return type of bpm(). Perhaps it
> would be sensible to make this a qreal? Also, score() should probably also
> return qreal (rather than double) for consistency.
Probably qreal would be the better choice; would it be possible to change it only when using dbus, to minimize interference with other parts of the code? As far as I can tell this issue makes the dbus query interface basically useless in most cases.
Thanks
__J
More information about the Amarok-devel
mailing list