23 lines
874 B
C#
23 lines
874 B
C#
namespace Manager.Data.Models.LibraryContext;
|
|
|
|
public class MediaFormatEntity
|
|
{
|
|
// Id = <contentid>_<itag> example: 58Gh4dE_123
|
|
public required string Id { get; set; }
|
|
public required int Itag { get; set; }
|
|
public string? Quality { get; set; }
|
|
public bool IsAdaptive { get; set; }
|
|
public string? MimeType { get; set; }
|
|
public long Bitrate { get; set; }
|
|
public long AverageBitrate { get; set; }
|
|
public long LastModifiedUnixEpoch { get; set; }
|
|
public long ContentLengthBytes { get; set; }
|
|
public long ApproxDurationMs { get; set; }
|
|
public int? Width { get; set; }
|
|
public int? Height { get; set; }
|
|
public double? Framerate { get; set; }
|
|
public string? QualityLabel { get; set; }
|
|
public int? AudioChannels { get; set; }
|
|
public string? AudioSampleRate { get; set; }
|
|
public double? LoudnessDb { get; set; }
|
|
} |