Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.

MPRIS: Use favorite song info #79

Closed
ColinDuquesnoy opened this issue Jul 21, 2017 · 3 comments
Closed

MPRIS: Use favorite song info #79

ColinDuquesnoy opened this issue Jul 21, 2017 · 3 comments
Assignees
Milestone

Comments

@ColinDuquesnoy
Copy link
Owner

Rating = 0 -> Not in favorite (remove if rating changed to 0)
Rating > 0 (5) -> In favorite (add if rating changed from 0)

See #77

@ColinDuquesnoy ColinDuquesnoy added this to the 3.1 milestone Jul 21, 2017
@ColinDuquesnoy ColinDuquesnoy self-assigned this Jul 21, 2017
@b0o
Copy link
Contributor

b0o commented Jul 22, 2017

In the Mpris2 spec, the only thing related to "rate" that I can find is playback rate, i.e. playback speed.

@ColinDuquesnoy
Copy link
Owner Author

There is a userRating key in the song metadata (xesam): https://www.freedesktop.org/wiki/Specifications/mpris-spec/metadata/#index22h4

@ColinDuquesnoy
Copy link
Owner Author

I can provide the rating to mpris clients but it looks like the clients cannot modify that metadata.

The client will show a 5 star rating for favorite songs but that's all.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants