|
|
@ -105,7 +105,6 @@ namespace MediaBrowser.Api.Reports
|
|
|
|
{
|
|
|
|
{
|
|
|
|
HeaderMetadata.Status,
|
|
|
|
HeaderMetadata.Status,
|
|
|
|
HeaderMetadata.Locked,
|
|
|
|
HeaderMetadata.Locked,
|
|
|
|
HeaderMetadata.Unidentified,
|
|
|
|
|
|
|
|
HeaderMetadata.ImagePrimary,
|
|
|
|
HeaderMetadata.ImagePrimary,
|
|
|
|
HeaderMetadata.ImageBackdrop,
|
|
|
|
HeaderMetadata.ImageBackdrop,
|
|
|
|
HeaderMetadata.ImageLogo,
|
|
|
|
HeaderMetadata.ImageLogo,
|
|
|
@ -122,7 +121,6 @@ namespace MediaBrowser.Api.Reports
|
|
|
|
{
|
|
|
|
{
|
|
|
|
HeaderMetadata.Status,
|
|
|
|
HeaderMetadata.Status,
|
|
|
|
HeaderMetadata.Locked,
|
|
|
|
HeaderMetadata.Locked,
|
|
|
|
HeaderMetadata.Unidentified,
|
|
|
|
|
|
|
|
HeaderMetadata.ImagePrimary,
|
|
|
|
HeaderMetadata.ImagePrimary,
|
|
|
|
HeaderMetadata.ImageBackdrop,
|
|
|
|
HeaderMetadata.ImageBackdrop,
|
|
|
|
HeaderMetadata.ImageLogo,
|
|
|
|
HeaderMetadata.ImageLogo,
|
|
|
@ -143,7 +141,6 @@ namespace MediaBrowser.Api.Reports
|
|
|
|
{
|
|
|
|
{
|
|
|
|
HeaderMetadata.Status,
|
|
|
|
HeaderMetadata.Status,
|
|
|
|
HeaderMetadata.Locked,
|
|
|
|
HeaderMetadata.Locked,
|
|
|
|
HeaderMetadata.Unidentified,
|
|
|
|
|
|
|
|
HeaderMetadata.ImagePrimary,
|
|
|
|
HeaderMetadata.ImagePrimary,
|
|
|
|
HeaderMetadata.ImageBackdrop,
|
|
|
|
HeaderMetadata.ImageBackdrop,
|
|
|
|
HeaderMetadata.ImageLogo,
|
|
|
|
HeaderMetadata.ImageLogo,
|
|
|
@ -161,7 +158,6 @@ namespace MediaBrowser.Api.Reports
|
|
|
|
{
|
|
|
|
{
|
|
|
|
HeaderMetadata.Status,
|
|
|
|
HeaderMetadata.Status,
|
|
|
|
HeaderMetadata.Locked,
|
|
|
|
HeaderMetadata.Locked,
|
|
|
|
HeaderMetadata.Unidentified,
|
|
|
|
|
|
|
|
HeaderMetadata.ImagePrimary,
|
|
|
|
HeaderMetadata.ImagePrimary,
|
|
|
|
HeaderMetadata.ImageBackdrop,
|
|
|
|
HeaderMetadata.ImageBackdrop,
|
|
|
|
HeaderMetadata.ImageLogo,
|
|
|
|
HeaderMetadata.ImageLogo,
|
|
|
@ -177,7 +173,6 @@ namespace MediaBrowser.Api.Reports
|
|
|
|
{
|
|
|
|
{
|
|
|
|
HeaderMetadata.Status,
|
|
|
|
HeaderMetadata.Status,
|
|
|
|
HeaderMetadata.Locked,
|
|
|
|
HeaderMetadata.Locked,
|
|
|
|
HeaderMetadata.Unidentified,
|
|
|
|
|
|
|
|
HeaderMetadata.ImagePrimary,
|
|
|
|
HeaderMetadata.ImagePrimary,
|
|
|
|
HeaderMetadata.ImageBackdrop,
|
|
|
|
HeaderMetadata.ImageBackdrop,
|
|
|
|
HeaderMetadata.ImageLogo,
|
|
|
|
HeaderMetadata.ImageLogo,
|
|
|
@ -198,7 +193,6 @@ namespace MediaBrowser.Api.Reports
|
|
|
|
{
|
|
|
|
{
|
|
|
|
HeaderMetadata.Status,
|
|
|
|
HeaderMetadata.Status,
|
|
|
|
HeaderMetadata.Locked,
|
|
|
|
HeaderMetadata.Locked,
|
|
|
|
HeaderMetadata.Unidentified,
|
|
|
|
|
|
|
|
HeaderMetadata.ImagePrimary,
|
|
|
|
HeaderMetadata.ImagePrimary,
|
|
|
|
HeaderMetadata.ImageBackdrop,
|
|
|
|
HeaderMetadata.ImageBackdrop,
|
|
|
|
HeaderMetadata.ImageLogo,
|
|
|
|
HeaderMetadata.ImageLogo,
|
|
|
@ -223,7 +217,6 @@ namespace MediaBrowser.Api.Reports
|
|
|
|
{
|
|
|
|
{
|
|
|
|
HeaderMetadata.Status,
|
|
|
|
HeaderMetadata.Status,
|
|
|
|
HeaderMetadata.Locked,
|
|
|
|
HeaderMetadata.Locked,
|
|
|
|
HeaderMetadata.Unidentified,
|
|
|
|
|
|
|
|
HeaderMetadata.ImagePrimary,
|
|
|
|
HeaderMetadata.ImagePrimary,
|
|
|
|
HeaderMetadata.ImageBackdrop,
|
|
|
|
HeaderMetadata.ImageBackdrop,
|
|
|
|
HeaderMetadata.ImageLogo,
|
|
|
|
HeaderMetadata.ImageLogo,
|
|
|
@ -241,7 +234,6 @@ namespace MediaBrowser.Api.Reports
|
|
|
|
{
|
|
|
|
{
|
|
|
|
HeaderMetadata.Status,
|
|
|
|
HeaderMetadata.Status,
|
|
|
|
HeaderMetadata.Locked,
|
|
|
|
HeaderMetadata.Locked,
|
|
|
|
HeaderMetadata.Unidentified,
|
|
|
|
|
|
|
|
HeaderMetadata.ImagePrimary,
|
|
|
|
HeaderMetadata.ImagePrimary,
|
|
|
|
HeaderMetadata.ImageBackdrop,
|
|
|
|
HeaderMetadata.ImageBackdrop,
|
|
|
|
HeaderMetadata.ImageLogo,
|
|
|
|
HeaderMetadata.ImageLogo,
|
|
|
@ -260,7 +252,6 @@ namespace MediaBrowser.Api.Reports
|
|
|
|
{
|
|
|
|
{
|
|
|
|
HeaderMetadata.Status,
|
|
|
|
HeaderMetadata.Status,
|
|
|
|
HeaderMetadata.Locked,
|
|
|
|
HeaderMetadata.Locked,
|
|
|
|
HeaderMetadata.Unidentified,
|
|
|
|
|
|
|
|
HeaderMetadata.ImagePrimary,
|
|
|
|
HeaderMetadata.ImagePrimary,
|
|
|
|
HeaderMetadata.ImageBackdrop,
|
|
|
|
HeaderMetadata.ImageBackdrop,
|
|
|
|
HeaderMetadata.ImageLogo,
|
|
|
|
HeaderMetadata.ImageLogo,
|
|
|
@ -284,7 +275,6 @@ namespace MediaBrowser.Api.Reports
|
|
|
|
{
|
|
|
|
{
|
|
|
|
HeaderMetadata.Status,
|
|
|
|
HeaderMetadata.Status,
|
|
|
|
HeaderMetadata.Locked,
|
|
|
|
HeaderMetadata.Locked,
|
|
|
|
HeaderMetadata.Unidentified,
|
|
|
|
|
|
|
|
HeaderMetadata.ImagePrimary,
|
|
|
|
HeaderMetadata.ImagePrimary,
|
|
|
|
HeaderMetadata.ImageBackdrop,
|
|
|
|
HeaderMetadata.ImageBackdrop,
|
|
|
|
HeaderMetadata.ImageLogo,
|
|
|
|
HeaderMetadata.ImageLogo,
|
|
|
@ -315,11 +305,9 @@ namespace MediaBrowser.Api.Reports
|
|
|
|
{
|
|
|
|
{
|
|
|
|
HeaderMetadata.Status,
|
|
|
|
HeaderMetadata.Status,
|
|
|
|
HeaderMetadata.Locked,
|
|
|
|
HeaderMetadata.Locked,
|
|
|
|
HeaderMetadata.Unidentified,
|
|
|
|
|
|
|
|
HeaderMetadata.ImagePrimary,
|
|
|
|
HeaderMetadata.ImagePrimary,
|
|
|
|
HeaderMetadata.ImageBackdrop,
|
|
|
|
HeaderMetadata.ImageBackdrop,
|
|
|
|
HeaderMetadata.ImageLogo,
|
|
|
|
HeaderMetadata.ImageLogo,
|
|
|
|
HeaderMetadata.Unidentified,
|
|
|
|
|
|
|
|
HeaderMetadata.ImagePrimary,
|
|
|
|
HeaderMetadata.ImagePrimary,
|
|
|
|
HeaderMetadata.ImageBackdrop,
|
|
|
|
HeaderMetadata.ImageBackdrop,
|
|
|
|
HeaderMetadata.ImageLogo,
|
|
|
|
HeaderMetadata.ImageLogo,
|
|
|
@ -376,12 +364,6 @@ namespace MediaBrowser.Api.Reports
|
|
|
|
option.Header.CanGroup = false;
|
|
|
|
option.Header.CanGroup = false;
|
|
|
|
option.Header.DisplayType = ReportDisplayType.Export;
|
|
|
|
option.Header.DisplayType = ReportDisplayType.Export;
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case HeaderMetadata.Unidentified:
|
|
|
|
|
|
|
|
option.Column = (i, r) => this.GetBoolString(r.IsUnidentified);
|
|
|
|
|
|
|
|
option.Header.ItemViewType = ItemViewType.UnidentifiedImage;
|
|
|
|
|
|
|
|
option.Header.CanGroup = false;
|
|
|
|
|
|
|
|
option.Header.DisplayType = ReportDisplayType.Export;
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
case HeaderMetadata.ImagePrimary:
|
|
|
|
case HeaderMetadata.ImagePrimary:
|
|
|
|
option.Column = (i, r) => this.GetBoolString(r.HasImageTagsPrimary);
|
|
|
|
option.Column = (i, r) => this.GetBoolString(r.HasImageTagsPrimary);
|
|
|
|
option.Header.ItemViewType = ItemViewType.TagsPrimaryImage;
|
|
|
|
option.Header.ItemViewType = ItemViewType.TagsPrimaryImage;
|
|
|
@ -633,7 +615,6 @@ namespace MediaBrowser.Api.Reports
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Id = item.Id.ToString("N"),
|
|
|
|
Id = item.Id.ToString("N"),
|
|
|
|
HasLockData = item.IsLocked,
|
|
|
|
HasLockData = item.IsLocked,
|
|
|
|
IsUnidentified = item.IsUnidentified,
|
|
|
|
|
|
|
|
HasLocalTrailer = hasTrailers != null ? hasTrailers.GetTrailerIds().Count() > 0 : false,
|
|
|
|
HasLocalTrailer = hasTrailers != null ? hasTrailers.GetTrailerIds().Count() > 0 : false,
|
|
|
|
HasImageTagsPrimary = (item.ImageInfos != null && item.ImageInfos.Count(n => n.Type == ImageType.Primary) > 0),
|
|
|
|
HasImageTagsPrimary = (item.ImageInfos != null && item.ImageInfos.Count(n => n.Type == ImageType.Primary) > 0),
|
|
|
|
HasImageTagsBackdrop = (item.ImageInfos != null && item.ImageInfos.Count(n => n.Type == ImageType.Backdrop) > 0),
|
|
|
|
HasImageTagsBackdrop = (item.ImageInfos != null && item.ImageInfos.Count(n => n.Type == ImageType.Backdrop) > 0),
|
|
|
|