diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-09-10 16:40:31 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-09-10 16:40:31 -0400 |
| commit | b8834be83c4aaad7a47953f2d33be371d24095e8 (patch) | |
| tree | 3188e9bfa2e77b5ed6f7f49b680eb6f16b046d7e /Emby.Drawing/ImageProcessor.cs | |
| parent | 3badff870b7b27e0a141a13d4a5c9e2e5f33eaaa (diff) | |
update naming project to target .net standard
Diffstat (limited to 'Emby.Drawing/ImageProcessor.cs')
| -rw-r--r-- | Emby.Drawing/ImageProcessor.cs | 6 |
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 |
