[API Request] Ability to set and get ratings on AlbumID3 and ArtistID3 types #17
Replies: 3 comments 7 replies
-
Beware of the meaning of ratings. There's ratings like the one you get from last.fm and there's userRatings. Both should be supported and clearly disctincted. |
Beta Was this translation helpful? Give feedback.
-
What would be required to add album and artist rating APIs? Would love to see this API added. I rarely rate individual songs, but I almost always rate albums (and sometimes artists in the event they don't release albums). Historically most professional music ratings are based on albums. While the web has made standalone singles more common, for certain artists and genres, albums are still coherent pieces of work that can be rated as a whole. Album ratings are usually where I start when narrowing down what to listen to or delete. I'm surprised OpenSubsonic doesn't already support this. |
Beta Was this translation helpful? Give feedback.
-
I think we could introduce a new This could be a simple addition. What do you guys think? |
Beta Was this translation helpful? Give feedback.
-
Type of change
API extension
Proposal description
Some servers may already support this but officially in the last Subsonic API spec, only songs and music folders (Album and Artist, but not AlbumID3 and ArtistID3) could have ratings. We should extend setRating to support IDs for ArtistID3 and AlbumID3 entities, and return the rating in the JSON/XML response in the getAlbum and getArtist calls.
Backward compatibility impact
No response
Backward compatibility
API details
As described above. Add
userRating
(edit: andaverageRating
) as properties to the AlbumID3 and ArtistID3 types.Security impacts
No response
Potential issues
No response
Alternative solutions
No response
Beta Was this translation helpful? Give feedback.
All reactions