From 6f45ea08237eefde317088459c4a87669be981f4 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 1 Sep 2014 16:10:54 -0400 Subject: fixes #912 - Add special views for Dlna --- MediaBrowser.Controller/Drawing/ImageProcessingOptions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MediaBrowser.Controller/Drawing/ImageProcessingOptions.cs') diff --git a/MediaBrowser.Controller/Drawing/ImageProcessingOptions.cs b/MediaBrowser.Controller/Drawing/ImageProcessingOptions.cs index f4a76be00..fbbf21797 100644 --- a/MediaBrowser.Controller/Drawing/ImageProcessingOptions.cs +++ b/MediaBrowser.Controller/Drawing/ImageProcessingOptions.cs @@ -34,7 +34,7 @@ namespace MediaBrowser.Controller.Drawing public int? UnplayedCount { get; set; } - public double? PercentPlayed { get; set; } + public double PercentPlayed { get; set; } public string BackgroundColor { get; set; } @@ -52,7 +52,7 @@ namespace MediaBrowser.Controller.Drawing return (!Quality.HasValue || Quality.Value == 100) && IsOutputFormatDefault(originalImagePath) && !AddPlayedIndicator && - !PercentPlayed.HasValue && + PercentPlayed.Equals(0) && !UnplayedCount.HasValue && string.IsNullOrEmpty(BackgroundColor); } -- cgit v1.2.3