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

GLib-GIO-WARNING **: Received property Rate with type y does not match expected type d in the expected interface #40

Closed
orschiro opened this issue Mar 17, 2017 · 11 comments

Comments

@orschiro
Copy link

Dear @acrisci,

Thank you for your work!

I just installed the latest deb package on Ubuntu 16.10 to test it.

Can you help me with the following error?

Yours,

Robert

orschiro@x230:~$ playerctl play-pause

(playerctl:15525): GLib-GIO-WARNING **: Received property Rate with type y does not match expected type d in the expected interface

(playerctl:15525): GLib-GIO-WARNING **: Received property Volume with type y does not match expected type d in the expected interface

(playerctl:15525): GLib-GIO-WARNING **: Received property Position with type u does not match expected type x in the expected interface

(playerctl:15525): GLib-GIO-WARNING **: Received property MinimumRate with type y does not match expected type d in the expected interface

(playerctl:15525): GLib-GIO-WARNING **: Received property MaximumRate with type y does not match expected type d in the expected interface
@acrisci
Copy link
Member

acrisci commented Mar 19, 2017

Hi,

This probably means your player is not imlementing the dbus interface in the way that is expected.

What player are you using?

@orschiro
Copy link
Author

Dear @acrisci,

I experienced this with https://github.com/Quacky2200/Spotify-Web-Player-for-Linux

@fa7ad
Copy link

fa7ad commented Oct 18, 2018

Any update on this issue? I'm facing the same problem with mopidy

@acrisci
Copy link
Member

acrisci commented Oct 18, 2018

This is a bug in the javascript implementation of the dbus library. Fixing it there is on my to-do list. It's probably too severe to put a workaround in playerctl.

@fa7ad
Copy link

fa7ad commented Oct 18, 2018

@acrisci One of my scripts broke because of this. I ended up redirecting the stderr to /dev/null as a workaround

@acrisci
Copy link
Member

acrisci commented Oct 18, 2018

Why are you listening to stderr? It's only supposed to be for diagnostic messages like that.

@fa7ad
Copy link

fa7ad commented Oct 18, 2018

@acrisci I wasn't specifically filtering out which output stream to capture. just capturing the output altogether and then running other stuff based on that.

@fa7ad
Copy link

fa7ad commented Oct 18, 2018

@acrisci I'd love to help with the JS bug, where should I be looking? I wanna have a crack at it while you're busy 😄

@acrisci
Copy link
Member

acrisci commented Oct 18, 2018

Now I can't find the exact issues. The library they use is this one I think: https://github.com/sidorares/dbus-native

The issue was the library was guessing the types and guessing wrong.

@acrisci
Copy link
Member

acrisci commented Oct 22, 2018

dbusjs/mpris-service#1

@acrisci
Copy link
Member

acrisci commented Mar 19, 2019

https://github.com/Quacky2200/Spotify-Web-Player-for-Linux/issues/90

Support that issue if you want it fixed.

@acrisci acrisci closed this as completed Mar 19, 2019
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

3 participants