@ -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
[ProtoMember(12)]
[ProtoMember(13)]