diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2026-02-15 10:14:41 +0100 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2026-02-15 10:14:41 +0100 |
| commit | 340bcafd3dba2c0761d62e8e7b7f16a2c9f69a05 (patch) | |
| tree | dd423dda22603b393ad175cb6b7b8128d7c15ba3 /Jellyfin.Server | |
| parent | f5c9a4a47644373e2326886fccccf096a73f8b50 (diff) | |
| parent | 1311f66f72d441118d7deabe2adb4ea9dbc9afb4 (diff) | |
Merge remote-tracking branch 'upstream/master' into perf-rebased
Diffstat (limited to 'Jellyfin.Server')
| -rw-r--r-- | Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs | 4 |
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)) |
