The Free Software Media System - Server Backend & API
3.2.7.4
Luke Pulverentia9b61af15497
diff --git a/Emby.Drawing/ImageProcessor.cs b/Emby.Drawing/ImageProcessor.csindex a15f75c9ae..5b04ceea25 100644--- a/Emby.Drawing/ImageProcessor.cs+++ b/Emby.Drawing/ImageProcessor.cs@@ -238,7 +238,7 @@ namespace Emby.Drawingvar outputFormat = GetOutputFormat(options.SupportedOutputFormats[0]);var cacheFilePath = GetCacheFilePath(originalImagePath, newSize, quality, dateModified, outputFormat, options.AddPlayedIndicator, options.PercentPlayed, options.UnplayedCount, options.Blur, options.BackgroundColor, options.ForegroundLayer);- var imageProcessingLockTaken = false;+ //var imageProcessingLockTaken = false;try{@@ -253,9 +253,9 @@ namespace Emby.Drawingvar tmpPath = Path.ChangeExtension(Path.Combine(_appPaths.TempDirectory, Guid.NewGuid().ToString("N")), Path.GetExtension(cacheFilePath));_fileSystem.CreateDirectory(Path.GetDirectoryName(tmpPath));- await _imageProcessingSemaphore.WaitAsync().ConfigureAwait(false);+ //await _imageProcessingSemaphore.WaitAsync().ConfigureAwait(false);- imageProcessingLockTaken = true;+ //imageProcessingLockTaken = true;_imageEncoder.EncodeImage(originalImagePath, tmpPath, AutoOrient(options.Item), newWidth, newHeight, quality, options, outputFormat);CopyFile(tmpPath, cacheFilePath);@@ -273,13 +273,13 @@ namespace Emby.Drawing// Just spit out the original file if all the options are defaultreturn new Tuple<string, string, DateTime>(originalImagePath, MimeTypes.GetMimeType(originalImagePath), dateModified);}- finally- {- if (imageProcessingLockTaken)- {- _imageProcessingSemaphore.Release();- }- }+ //finally+ //{+ // if (imageProcessingLockTaken)+ // {+ // _imageProcessingSemaphore.Release();+ // }+ //}}private void CopyFile(string src, string destination)diff --git a/SharedVersion.cs b/SharedVersion.csindex 3f2c5d97e9..825a8b919e 100644--- a/SharedVersion.cs+++ b/SharedVersion.cs@@ -1,3 +1,3 @@using System.Reflection;-[assembly: AssemblyVersion("3.2.7.3")]+[assembly: AssemblyVersion("3.2.7.4")]