handle non-local images in ClearImages

pull/702/head
Luke Pulverenti 9 years ago
parent 90b27f0e47
commit caf1af4ea2

@ -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);

Loading…
Cancel
Save