|
|
@ -38,7 +38,7 @@ namespace MediaBrowser.Api
|
|
|
|
dto.HasPrimaryImage = !string.IsNullOrEmpty(item.LogoImagePath);
|
|
|
|
dto.HasPrimaryImage = !string.IsNullOrEmpty(item.LogoImagePath);
|
|
|
|
dto.HasThumb = !string.IsNullOrEmpty(item.ThumbnailImagePath);
|
|
|
|
dto.HasThumb = !string.IsNullOrEmpty(item.ThumbnailImagePath);
|
|
|
|
dto.Id = item.Id;
|
|
|
|
dto.Id = item.Id;
|
|
|
|
dto.IsRecentlyAdded = item.IsRecentlyAdded(user);
|
|
|
|
dto.IsNew = item.IsRecentlyAdded(user);
|
|
|
|
dto.IndexNumber = item.IndexNumber;
|
|
|
|
dto.IndexNumber = item.IndexNumber;
|
|
|
|
dto.IsFolder = item is Folder;
|
|
|
|
dto.IsFolder = item is Folder;
|
|
|
|
dto.LocalTrailerCount = item.LocalTrailers == null ? 0 : item.LocalTrailers.Count();
|
|
|
|
dto.LocalTrailerCount = item.LocalTrailers == null ? 0 : item.LocalTrailers.Count();
|
|
|
|