mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-16 23:26:22 +00:00
Removed user item rating mode for now - it's too much work for the ui devs
This commit is contained in:
parent
2441ba0c6d
commit
8530e69878
@@ -470,22 +470,6 @@ namespace MediaBrowser.ApiInteraction
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Updates a user's rating for an item, based on a numeric scale
|
||||
/// </summary>
|
||||
public async Task<DTOUserItemData> UpdateUserItemRatingAsync(Guid itemId, Guid userId, float value)
|
||||
{
|
||||
string url = ApiUrl + "/UserItemRating?id=" + itemId;
|
||||
|
||||
url += "&userid=" + userId;
|
||||
url += "&value=" + value;
|
||||
|
||||
using (Stream stream = await GetSerializedStreamAsync(url).ConfigureAwait(false))
|
||||
{
|
||||
return DeserializeFromStream<DTOUserItemData>(stream);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Updates a user's rating for an item, based on likes or dislikes
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user