update image providers

This commit is contained in:
Luke Pulverenti 2015-10-20 18:06:49 -04:00
parent adda5f05ce
commit bc3da4bbad
2 changed files with 8 additions and 5 deletions

View File

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

View File

@ -1019,7 +1019,7 @@ namespace MediaBrowser.Providers.Manager
{
var folder = (Folder)child;
await folder.ValidateChildren(new Progress<double>(), CancellationToken.None).ConfigureAwait(false);
await folder.ValidateChildren(new Progress<double>(), CancellationToken.None, options, true).ConfigureAwait(false);
}
}
}