The Free Software Media System - Server Backend & API
Who thought it be a good idea to let indexes start 1 one please step forward!!!
JPVensonb5bb2261bc15
diff --git a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.csindex 7393c2c863..4105c17886 100644--- a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs+++ b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs@@ -282,7 +282,7 @@ public class MigrateLibraryDb : IMigrationRoutineprivate (UserData? Data, string? LegacyUserDataKey) GetUserData(ImmutableArray<User> users, SqliteDataReader dto){var indexOfUser = dto.GetInt32(1);- var user = users.ElementAtOrDefault(indexOfUser);+ var user = users.ElementAtOrDefault(indexOfUser - 1);if (user is null){