mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-30 11:22:53 +01:00
update image providers
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user