Add nfo thumb tag support

This commit is contained in:
David
2021-02-27 22:46:03 +01:00
parent 5379fa0bd0
commit 16694b0cfc
25 changed files with 265 additions and 40 deletions

View File

@@ -706,6 +706,12 @@ namespace MediaBrowser.Providers.Manager
if (localItem.HasMetadata)
{
foreach (var remoteImage in localItem.RemoteImages)
{
await ProviderManager.SaveImage(item, remoteImage.url, remoteImage.type, null, cancellationToken).ConfigureAwait(false);
refreshResult.UpdateType = refreshResult.UpdateType | ItemUpdateType.ImageUpdate;
}
if (imageService.MergeImages(item, localItem.Images))
{
refreshResult.UpdateType = refreshResult.UpdateType | ItemUpdateType.ImageUpdate;