The Free Software Media System - Server Backend & API
adjust fileshare
Luke Pulverenti7d3654331890
diff --git a/MediaBrowser.Api/Images/ImageService.cs b/MediaBrowser.Api/Images/ImageService.csindex 957d73c2d3..7122c8fc12 100644--- a/MediaBrowser.Api/Images/ImageService.cs+++ b/MediaBrowser.Api/Images/ImageService.cs@@ -637,7 +637,11 @@ namespace MediaBrowser.Api.ImagesResponseHeaders = headers,ContentType = imageResult.Item2,IsHeadRequest = isHeadRequest,- Path = imageResult.Item1+ Path = imageResult.Item1,++ // Sometimes imagemagick keeps a hold on the file briefly even after it's done writing to it.+ // I'd rather do this than add a delay after saving the file+ FileShare = FileShare.ReadWrite});}