diff options
| author | JPVenson <github@jpb.email> | 2024-11-12 23:53:05 +0000 |
|---|---|---|
| committer | JPVenson <github@jpb.email> | 2024-11-12 23:53:05 +0000 |
| commit | d073e2c664120d04a3ce49a6a636c6fdd7252100 (patch) | |
| tree | dd0b562b8985b6a2085f0b87e7ad08a6b5d48291 /Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs | |
| parent | 46905ac66aecc400525d106e349ecc1d26237bc0 (diff) | |
Fixed invalid columns on MediaStreams
Diffstat (limited to 'Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs')
| -rw-r--r-- | Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs | 38 |
1 files changed, 7 insertions, 31 deletions
diff --git a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs index 693c6c00c..46cc09f69 100644 --- a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs +++ b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs @@ -418,37 +418,13 @@ public class MigrateLibraryDb : IMigrationRoutine StreamType = Enum.Parse<MediaStreamTypeEntity>(reader.GetString(2)), Item = null!, ItemId = reader.GetGuid(0), - AverageFrameRate = 0, - BitDepth = 0, - BitRate = 0, - BlPresentFlag = 0, - Channels = 0, - CodecTag = string.Empty, - CodecTimeBase = string.Empty, - ColorPrimaries = string.Empty, - ColorSpace = string.Empty, - ColorTransfer = string.Empty, - Comment = string.Empty, - DvBlSignalCompatibilityId = 0, - DvLevel = 0, - DvProfile = 0, - DvVersionMajor = 0, - DvVersionMinor = 0, - ElPresentFlag = 0, - Height = 0, - IsAnamorphic = false, - IsAvc = false, - IsHearingImpaired = false, - Level = 0, - NalLengthSize = string.Empty, - RealFrameRate = 0, - RefFrames = 0, - Rotation = 0, - RpuPresentFlag = 0, - SampleRate = 0, - TimeBase = string.Empty, - Title = string.Empty, - Width = 0 + AspectRatio = null!, + ChannelLayout = null!, + Codec = null!, + IsInterlaced = false, + Language = null!, + Path = null!, + Profile = null!, }; if (reader.TryGetString(3, out var codec)) |
