mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
parent
2aa39226c6
commit
e282b05b8f
1 changed files with 5 additions and 0 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue