jellyfin-server/MediaBrowser.Model/Entities/Video.cs

44 lines
1.1 KiB
C#
Raw Normal View History

using System.Collections.Generic;
2012-07-12 06:55:27 +00:00
namespace MediaBrowser.Model.Entities
{
public class Video : BaseItem
{
public VideoType VideoType { get; set; }
2012-08-22 12:56:44 +00:00
public IEnumerable<SubtitleStream> Subtitles { get; set; }
public IEnumerable<AudioStream> AudioStreams { get; set; }
2012-07-12 06:55:27 +00:00
public int Height { get; set; }
public int Width { get; set; }
public string ScanType { get; set; }
public float FrameRate { get; set; }
public int BitRate { get; set; }
public string Codec { get; set; }
2012-07-12 06:55:27 +00:00
}
public class AudioStream
{
public string Codec { get; set; }
2012-07-12 06:55:27 +00:00
public string Language { get; set; }
public int BitRate { get; set; }
public int Channels { get; set; }
public int SampleRate { get; set; }
public bool IsDefault { get; set; }
2012-08-22 12:56:44 +00:00
}
public class SubtitleStream
{
public string Language { get; set; }
public bool IsDefault { get; set; }
public bool IsForced { get; set; }
2012-07-12 06:55:27 +00:00
}
public enum VideoType
{
VideoFile,
DVD,
BluRay
2012-07-12 06:55:27 +00:00
}
}