diff --git a/MediaBrowser.Providers/Manager/ItemImageProvider.cs b/MediaBrowser.Providers/Manager/ItemImageProvider.cs index 77902e668..838306e13 100644 --- a/MediaBrowser.Providers/Manager/ItemImageProvider.cs +++ b/MediaBrowser.Providers/Manager/ItemImageProvider.cs @@ -405,10 +405,13 @@ namespace MediaBrowser.Providers.Manager else { var existing = item.GetImageInfo(type, 0); - if (existing != null && !_fileSystem.FileExists(existing.Path)) + if (existing != null) { - item.RemoveImage(existing); - changed = true; + if (existing.IsLocalFile && !_fileSystem.FileExists(existing.Path)) + { + item.RemoveImage(existing); + changed = true; + } } } } @@ -502,7 +505,7 @@ namespace MediaBrowser.Providers.Manager return true; } - return true; + return false; } private void SaveImageStub(IHasImages item, ImageType imageType, string url) diff --git a/MediaBrowser.Providers/Manager/ProviderManager.cs b/MediaBrowser.Providers/Manager/ProviderManager.cs index fc2f27bdd..f504c9612 100644 --- a/MediaBrowser.Providers/Manager/ProviderManager.cs +++ b/MediaBrowser.Providers/Manager/ProviderManager.cs @@ -1019,7 +1019,7 @@ namespace MediaBrowser.Providers.Manager { var folder = (Folder)child; - await folder.ValidateChildren(new Progress(), CancellationToken.None).ConfigureAwait(false); + await folder.ValidateChildren(new Progress(), CancellationToken.None, options, true).ConfigureAwait(false); } } }