-
Notifications
You must be signed in to change notification settings - Fork 81
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
Errors with gpmdp ( google-play-music-desktop-player ) #35
Comments
I am getting the same warning, though it only stucks by the commands pause, play-pause and stop ` (playerctl:10910): GLib-GIO-WARNING **: Received property Rate with type y does not match expected type d in the expected interface (playerctl:10910): GLib-GIO-WARNING **: Received property Volume with type y does not match expected type d in the expected interface (playerctl:10910): GLib-GIO-WARNING **: Received property Position with type u does not match expected type x in the expected interface (playerctl:10910): GLib-GIO-WARNING **: Received property MinimumRate with type y does not match expected type d in the expected interface (playerctl:10910): GLib-GIO-WARNING **: Received property MaximumRate with type y does not match expected type d in the expected interface ` |
Any news on this? I would be willing to devote some time to figuring this out and fixing it. |
@hatzel go ahead. If you have questions, please don't hesitate to ask. |
Okay, sorry for taking so long. It appears that this is not strictly speeking a bug in playerctl. Instead it seems that gpmdp is sending data not conforming to the org.mpris.MediaPlayer2 protocol. I used the tool dbus-mointor to get inspect some of the communication.
As you can see these datatypes are bytes (which are called type y in GLib) while the documentation specifies that the value should be a double. Just to verify this I looked at an app that worked with playerctl (spotify) and it actually sends the specified datatypes:
As a course of action I would recommend fixing this in gpmdp (I will actually do this). |
Hello, any update on this issue? I have seen GPMDP uses their fork of mpris-service, so maybe this can be helpful EDIT: Strange, the shown types are the same as the ones required on MediaPlayer2. for example, line 273, where Volume settings are configured:
|
I took a deep dive into this issue but I didn't really get anywhere. This issue explains the underlying problem in node dbus, but nobody there is answering and it is not an easy fix. I am no longer using gpmdp so I lost interest, sorry. |
As a workaround, at least only for |
See here as well: MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-#2741 |
Playerctl always outputs the following when I control google-play-music-desktop-player, as identified by
playerctl -l
. I'll refer to it as gpmdp from now.Playerctl is able to control gpmdp successfully but will cause the shell to get stuck after doing so and prevent a program that's supposed to run afterwards from running.
For example, I run a command to update my status bar with the current playing song.
Thanks for reading and let me know if any extra info is needed.
EDIT: I am running playerctl v0.5.0 and gpdmp v3.6.0. There are no new commits to the repo since v0.5.0 came out so I assume there are no differences between the release and the git version.
The text was updated successfully, but these errors were encountered: