handle non-local images in ClearImages

This commit is contained in:
Luke Pulverenti 2015-12-29 21:42:17 -05:00
parent cdea2e0e74
commit 6b124fc736

View file

@ -362,6 +362,12 @@ namespace MediaBrowser.Providers.Manager
foreach (var image in item.GetImages(type).ToList())
{
if (!image.IsLocalFile)
{
// TODO: Need to get this image removed
continue;
}
// Delete the source file
var currentFile = new FileInfo(image.Path);