Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type mixup between x (int64) and i (int32) #58

Closed
Natureshadow opened this issue Aug 26, 2020 · 1 comment
Closed

Type mixup between x (int64) and i (int32) #58

Natureshadow opened this issue Aug 26, 2020 · 1 comment

Comments

@Natureshadow
Copy link
Contributor

Trying to use the get_position method on an MPRIS interface, in the example from the README, I get dbus_next.errors.DBusError: property returned unexpected signature "x". This is because the property is typed x, a signed int64, but introspection thinks it is typed i.

@acrisci
Copy link
Member

acrisci commented Aug 26, 2020

The introspection is wrong.

https://specifications.freedesktop.org/mpris-spec/2.2/Player_Interface.html#Property:Position

Position property is supposed to be type x. You have control of what introspection you give to the high level client so you should change it there.

@acrisci acrisci closed this as completed Aug 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants