aboutsummaryrefslogtreecommitdiff
path: root/Emby.Drawing/ImageProcessor.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-09-10 16:40:31 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-09-10 16:40:31 -0400
commitb8834be83c4aaad7a47953f2d33be371d24095e8 (patch)
tree3188e9bfa2e77b5ed6f7f49b680eb6f16b046d7e /Emby.Drawing/ImageProcessor.cs
parent3badff870b7b27e0a141a13d4a5c9e2e5f33eaaa (diff)
update naming project to target .net standard
Diffstat (limited to 'Emby.Drawing/ImageProcessor.cs')
-rw-r--r--Emby.Drawing/ImageProcessor.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Emby.Drawing/ImageProcessor.cs b/Emby.Drawing/ImageProcessor.cs
index 9e941b38c..c519d4e21 100644
--- a/Emby.Drawing/ImageProcessor.cs
+++ b/Emby.Drawing/ImageProcessor.cs
@@ -724,6 +724,12 @@ namespace Emby.Drawing
.TrimStart('.')
.Replace("jpeg", "jpg", StringComparison.OrdinalIgnoreCase);
+ // These are just jpg files renamed as tbn
+ if (string.Equals(inputFormat, "tbn", StringComparison.OrdinalIgnoreCase))
+ {
+ return new Tuple<string, DateTime>(originalImagePath, dateModified);
+ }
+
if (!_imageEncoder.SupportedInputFormats.Contains(inputFormat, StringComparer.OrdinalIgnoreCase))
{
try