Merge pull request #11743 from Shadowghost/fix-replace

Fix replace logic
This commit is contained in:
Joshua M. Boniface
2024-06-01 18:33:31 -04:00
committed by GitHub
16 changed files with 181 additions and 159 deletions

View File

@@ -2812,8 +2812,10 @@ namespace Emby.Server.Implementations.Library
}
_itemRepository.UpdatePeople(item.Id, people);
await SavePeopleMetadataAsync(people, cancellationToken).ConfigureAwait(false);
if (people is not null)
{
await SavePeopleMetadataAsync(people, cancellationToken).ConfigureAwait(false);
}
}
public async Task<ItemImageInfo> ConvertImageToLocal(BaseItem item, ItemImageInfo image, int imageIndex, bool removeOnFailure)