The D-Bus interface is currently missing convenient method for reading and setting user rating (the stars). The proposed patch adds an Mpris2 extension to /org/mpris/MediaPlayer2 for that: property readwrite int org.kde.amarok.Mpris2Extensions.Player.Rating Reproducible: Always Steps to Reproduce: 1. if ! qdbus org.mpris.MediaPlayer2.amarok /org/mpris/MediaPlayer2 | grep -i rating; then echo "feature is missing"; fi Actual Results: The output is: feature is missing Expected Results: property readwrite int org.kde.amarok.Mpris2Extensions.Player.Rating
Created attachment 82377 [details] Proposed patch adding a Rating property to dbus interface
Created attachment 82378 [details] Proposed patch adding a Rating property to dbus interface (fixed for current git)
Thank you for your patch, please submit it to http://reviewboard.kde.org. You will need an account on http://identity.kde.org to do so.
If you could add the group "amarok" and the person "alexmerry" to the review, that would be great. Also, try: qdbus org.mpris.MediaPlayer2.amarok /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep Rating while playing a track. You should get xesam:autoRating and xesam:userRating. Admittedly, there is still no way to *set* the rating currently.
(In reply to comment #4) > If you could add the group "amarok" and the person "alexmerry" to the > review, that would be great. > Submitted review request #112802: https://git.reviewboard.kde.org/r/112802/ > Also, try: > qdbus org.mpris.MediaPlayer2.amarok /org/mpris/MediaPlayer2 > org.mpris.MediaPlayer2.Player.Metadata | grep Rating > while playing a track. You should get xesam:autoRating and > xesam:userRating. Admittedly, there is still no way to *set* the rating > currently. > Yes, I know about this, but as you said, it is a read-only method and adding a write-only method would be strage imo.
It's not letting me see the review request; did you publish it?
Sorry, the web interface on that review page suc^w ... I mean is contraintuitive. Should work now (I hope).
Closing, as there is now a review request.
Erm, we close reports with the commits, not when a review request is in. Just add BUG: 325021 as commit hook.
Ah, sorry, I thought the work flow was "on review board instead of bugzilla" not "on review board as well as bugzilla".
Well, bug reports belong here, but patches need to be submitted to reviewboard