Add userRating to Subsonic API's Artist

This commit is contained in:
Deluan
2020-10-21 15:51:12 -04:00
parent 69e1059705
commit 078a7c24e6
8 changed files with 8 additions and 6 deletions
+1
View File
@@ -267,6 +267,7 @@ func (c *BrowsingController) GetArtistInfo(w http.ResponseWriter, r *http.Reques
if s.Starred {
similar.Starred = &s.StarredAt
}
similar.UserRating = s.Rating
response.ArtistInfo.SimilarArtist = append(response.ArtistInfo.SimilarArtist, similar)
}
return response, nil