aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Drawing/ImageProcessingOptions.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-09-01 16:10:54 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-09-01 16:10:54 -0400
commit6f45ea08237eefde317088459c4a87669be981f4 (patch)
tree17eb19d11d72e0225d45323e79b0711ec30c1584 /MediaBrowser.Controller/Drawing/ImageProcessingOptions.cs
parent383b9999da15e8bc6421527c381c6aa80f14c97f (diff)
fixes #912 - Add special views for Dlna
Diffstat (limited to 'MediaBrowser.Controller/Drawing/ImageProcessingOptions.cs')
-rw-r--r--MediaBrowser.Controller/Drawing/ImageProcessingOptions.cs4
1 files changed, 2 insertions, 2 deletions
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);
}