aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Data/Entities/MediaStreamInfo.cs
diff options
context:
space:
mode:
authorJPVenson <JPVenson@users.noreply.github.com>2024-09-08 16:56:14 +0000
committerGitHub <noreply@github.com>2024-09-08 16:56:14 +0000
commitee1bdf4e222125ed7382165fd7e09599ca4bd4aa (patch)
tree78b1e180c2626ccfc483f8bff9ec861079a6d8e6 /Jellyfin.Data/Entities/MediaStreamInfo.cs
parentd0b4b2ddb31a54f0705303ab8461be1125d66eab (diff)
WIP move baseitem to jellyfin.db
Diffstat (limited to 'Jellyfin.Data/Entities/MediaStreamInfo.cs')
-rw-r--r--Jellyfin.Data/Entities/MediaStreamInfo.cs101
1 files changed, 101 insertions, 0 deletions
diff --git a/Jellyfin.Data/Entities/MediaStreamInfo.cs b/Jellyfin.Data/Entities/MediaStreamInfo.cs
new file mode 100644
index 0000000000..3b89ca62f8
--- /dev/null
+++ b/Jellyfin.Data/Entities/MediaStreamInfo.cs
@@ -0,0 +1,101 @@
+using System;
+
+namespace Jellyfin.Data.Entities;
+
+#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
+public class MediaStreamInfo
+{
+ public Guid ItemId { get; set; }
+
+ public required BaseItem Item { get; set; }
+
+ public int StreamIndex { get; set; }
+
+ public string? StreamType { get; set; }
+
+ public string? Codec { get; set; }
+
+ public string? Language { get; set; }
+
+ public string? ChannelLayout { get; set; }
+
+ public string? Profile { get; set; }
+
+ public string? AspectRatio { get; set; }
+
+ public string? Path { get; set; }
+
+ public bool IsInterlaced { get; set; }
+
+ public required int BitRate { get; set; }
+
+ public required int Channels { get; set; }
+
+ public required int SampleRate { get; set; }
+
+ public bool IsDefault { get; set; }
+
+ public bool IsForced { get; set; }
+
+ public bool IsExternal { get; set; }
+
+ public required int Height { get; set; }
+
+ public required int Width { get; set; }
+
+ public required float AverageFrameRate { get; set; }
+
+ public required float RealFrameRate { get; set; }
+
+ public required float Level { get; set; }
+
+ public string? PixelFormat { get; set; }
+
+ public required int BitDepth { get; set; }
+
+ public required bool IsAnamorphic { get; set; }
+
+ public required int RefFrames { get; set; }
+
+ public required string CodecTag { get; set; }
+
+ public required string Comment { get; set; }
+
+ public required string NalLengthSize { get; set; }
+
+ public required bool IsAvc { get; set; }
+
+ public required string Title { get; set; }
+
+ public required string TimeBase { get; set; }
+
+ public required string CodecTimeBase { get; set; }
+
+ public required string ColorPrimaries { get; set; }
+
+ public required string ColorSpace { get; set; }
+
+ public required string ColorTransfer { get; set; }
+
+ public required int DvVersionMajor { get; set; }
+
+ public required int DvVersionMinor { get; set; }
+
+ public required int DvProfile { get; set; }
+
+ public required int DvLevel { get; set; }
+
+ public required int RpuPresentFlag { get; set; }
+
+ public required int ElPresentFlag { get; set; }
+
+ public required int BlPresentFlag { get; set; }
+
+ public required int DvBlSignalCompatibilityId { get; set; }
+
+ public required bool IsHearingImpaired { get; set; }
+
+ public required int Rotation { get; set; }
+
+ public string? KeyFrames { get; set; }
+}