Renamed UserRating to CommunityRating
This commit is contained in:
parent
9f1005d679
commit
01a25c48a0
|
@ -170,7 +170,7 @@ namespace MediaBrowser.Api
|
|||
|
||||
dto.TrailerUrl = item.TrailerUrl;
|
||||
dto.Type = item.GetType().Name;
|
||||
dto.UserRating = item.UserRating;
|
||||
dto.CommunityRating = item.CommunityRating;
|
||||
|
||||
dto.UserData = GetDtoUserItemData(item.GetUserData(user, false));
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ namespace MediaBrowser.Controller.Entities
|
|||
|
||||
public string DisplayMediaType { get; set; }
|
||||
|
||||
public float? UserRating { get; set; }
|
||||
public float? CommunityRating { get; set; }
|
||||
public long? RunTimeTicks { get; set; }
|
||||
|
||||
public string AspectRatio { get; set; }
|
||||
|
|
|
@ -219,7 +219,7 @@ namespace MediaBrowser.Controller.Providers
|
|||
|
||||
if (float.TryParse(rating, out val))
|
||||
{
|
||||
item.UserRating = val;
|
||||
item.CommunityRating = val;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -46,7 +46,7 @@ namespace MediaBrowser.Model.DTO
|
|||
public string DisplayMediaType { get; set; }
|
||||
|
||||
[ProtoMember(12)]
|
||||
public float? UserRating { get; set; }
|
||||
public float? CommunityRating { get; set; }
|
||||
|
||||
[ProtoMember(13)]
|
||||
public long? RunTimeTicks { get; set; }
|
||||
|
|
Loading…
Reference in New Issue
Block a user