The Free Software Media System - Server Backend & API
handle non-local images in ClearImages
Luke Pulverenti25d586366f6c
diff --git a/MediaBrowser.Providers/Manager/ItemImageProvider.cs b/MediaBrowser.Providers/Manager/ItemImageProvider.csindex 9932df2bc6..19f575d0d6 100644--- a/MediaBrowser.Providers/Manager/ItemImageProvider.cs+++ b/MediaBrowser.Providers/Manager/ItemImageProvider.cs@@ -362,6 +362,12 @@ namespace MediaBrowser.Providers.Managerforeach (var image in item.GetImages(type).ToList()){+ if (!image.IsLocalFile)+ {+ // TODO: Need to get this image removed+ continue;+ }+// Delete the source filevar currentFile = new FileInfo(image.Path);