Skip to content

The Free Software Media System - Server Backend & API

Fixed items can be null saving

JPVensonf81d1240193c
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs
index d4331efc75..2d8741fba9 100644
--- a/Emby.Server.Implementations/Library/LibraryManager.cs
+++ b/Emby.Server.Implementations/Library/LibraryManager.cs
@@ -2800,9 +2800,9 @@ namespace Emby.Server.Implementations.Library
return;
}
- _peopleRepository.UpdatePeople(item.Id, people);
if (people is not null)
{
+ _peopleRepository.UpdatePeople(item.Id, people);
await SavePeopleMetadataAsync(people, cancellationToken).ConfigureAwait(false);
}
}