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
Mpris2 interfaces don't implement introspection for properties #839
Comments
The properties are implemented, but they are not introspectable due to limitations of dbus-python we use to implement dbus interface. Even signals for properties should work as expected. In your screenshot you see that there is
For implementation see https://github.com/mps-youtube/mps-youtube/blob/0100a38d3874c53e705d9acd7e30fbc6a3099da0/mps_youtube/mpris.py#L462 |
Ah right, I forgot that this is fundamentally how you access properties. For obious reasons, QDBusViewer uses introspection to show a bus's path's interfaces and the methods and properties they define, so it's understandable why I my method to "check" for them fell into the same trap as the library I use to access the properties in my tool (dbussy). Calling Judging from your reply I take that this is more of a problem of |
yes, I'm not sure it is possible to add introspection data for properties in the current implementation, because |
It looks like the mpris2 module doesn't implement any properties. Via FichteFoll/discordrp-mpris#4, I was made aware that the
PlaybackStatus
property isn't implemented and a quick glance at the source seems to indicate that in fact no property is exposed at all. I'm not familiar with the Pythondbus
package, but a quick glance with QDBusViewer seems to confirm this.(Assuming
dbus
provides theorg.freedesktop.DBus.Introspectable
automatically.)The text was updated successfully, but these errors were encountered: