aboutsummaryrefslogtreecommitdiff
path: root/Emby.Drawing/ImageProcessor.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-10-16 15:25:19 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-10-16 15:25:19 -0400
commitd1195257aa6ffa8086ce6461183442ffa28365f3 (patch)
treea82128f04f3c33a9fce2867484183f9e31c60e49 /Emby.Drawing/ImageProcessor.cs
parentbb5c5297c538908ca9624104507d7fba179568d1 (diff)
fix for cover art
Diffstat (limited to 'Emby.Drawing/ImageProcessor.cs')
-rw-r--r--Emby.Drawing/ImageProcessor.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Emby.Drawing/ImageProcessor.cs b/Emby.Drawing/ImageProcessor.cs
index 30a8334d2..8ceec8529 100644
--- a/Emby.Drawing/ImageProcessor.cs
+++ b/Emby.Drawing/ImageProcessor.cs
@@ -375,6 +375,11 @@ namespace Emby.Drawing
return GetImageSize(info.Path, info.DateModified, false);
}
+ public ImageSize GetImageSize(string path)
+ {
+ return GetImageSize(path, _fileSystem.GetLastWriteTimeUtc(path), false);
+ }
+
/// <summary>
/// Gets the size of the image.
/// </summary>