diff options
| author | JPVenson <github@jpb.email> | 2025-09-25 17:02:20 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-25 08:02:20 -0600 |
| commit | e282b05b8f0ceee7a64fc4959a6bda3561c67ff7 (patch) | |
| tree | f9a39413549d0f6700db3f13501459be572d5557 /Jellyfin.Server | |
| parent | 2aa39226c6f47a7d985bd1f5ddc887387650daad (diff) | |
fixes #14859 Add Check for ItemValues (#14860)
Diffstat (limited to 'Jellyfin.Server')
| -rw-r--r-- | Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs index f63b7ee62..8c775ab78 100644 --- a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs +++ b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs @@ -186,6 +186,11 @@ internal class MigrateLibraryDb : IDatabaseMigrationRoutine foreach (SqliteDataReader dto in connection.Query(itemValueQuery)) { var itemId = dto.GetGuid(0); + if (!baseItemIds.Contains(itemId)) + { + continue; + } + var entity = GetItemValue(dto); var key = ((int)entity.Type, entity.Value); if (!localItems.TryGetValue(key, out var existing)) |
