aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs')
-rw-r--r--Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs38
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))