Keep from serializing trailers into database

This commit is contained in:
Joe Rogers
2022-01-07 22:33:31 +01:00
parent ce61dff4aa
commit a26509a98a
5 changed files with 8 additions and 1 deletions

View File

@@ -3007,7 +3007,10 @@ namespace Emby.Server.Implementations.Library
}
}
CreateItems(personsToSave, null, CancellationToken.None);
if (personsToSave.Count > 0)
{
CreateItems(personsToSave, null, CancellationToken.None);
}
}
private void StartScanInBackground()