aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs
diff options
context:
space:
mode:
authorJPVenson <github@jpb.email>2024-10-28 09:24:12 +0000
committerJPVenson <github@jpb.email>2024-10-28 09:24:12 +0000
commita3ae055779b9763072957818b57b5c6be927c0d7 (patch)
tree2b9a4d2c81e0bb7d12b395298b23bccc3926e229 /Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs
parent07ed9a3ea4db0d594c35e449da6c1383b821f723 (diff)
Change ChannelId and OwnerId to be expected strings
Diffstat (limited to 'Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs')
-rw-r--r--Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs
index e90a41dd0..079144648 100644
--- a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs
+++ b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs
@@ -645,9 +645,9 @@ public class MigrateLibraryDb : IMigrationRoutine
entity.EndDate = endDate;
}
- if (reader.TryGetGuid(index++, out var guid))
+ if (reader.TryGetString(index++, out var guid))
{
- entity.ChannelId = guid.ToString("N");
+ entity.ChannelId = guid;
}
if (reader.TryGetBoolean(index++, out var isMovie))
@@ -986,9 +986,9 @@ public class MigrateLibraryDb : IMigrationRoutine
entity.ShowId = showId;
}
- if (reader.TryGetGuid(index++, out var ownerId))
+ if (reader.TryGetString(index++, out var ownerId))
{
- entity.OwnerId = ownerId.ToString("N");
+ entity.OwnerId = ownerId;
}
return (entity, userDataKey);