aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2026-02-15 10:14:41 +0100
committerShadowghost <Ghost_of_Stone@web.de>2026-02-15 10:14:41 +0100
commit340bcafd3dba2c0761d62e8e7b7f16a2c9f69a05 (patch)
treedd423dda22603b393ad175cb6b7b8128d7c15ba3 /Jellyfin.Server
parentf5c9a4a47644373e2326886fccccf096a73f8b50 (diff)
parent1311f66f72d441118d7deabe2adb4ea9dbc9afb4 (diff)
Merge remote-tracking branch 'upstream/master' into perf-rebased
Diffstat (limited to 'Jellyfin.Server')
-rw-r--r--Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs
index 2c96f00761..996d55033e 100644
--- a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs
+++ b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs
@@ -1163,7 +1163,9 @@ internal class MigrateLibraryDb : IDatabaseMigrationRoutine
Item = null!,
ProviderId = e[0],
ProviderValue = string.Join('|', e.Skip(1))
- }).ToArray();
+ })
+ .DistinctBy(e => e.ProviderId)
+ .ToArray();
}
if (reader.TryGetString(index++, out var imageInfos))