2012-07-16 16:50:44 +00:00
|
|
|
|
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; }
|
2012-08-18 08:22:54 +00:00
|
|
|
|
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; }
|
2012-08-20 23:53:32 +00:00
|
|
|
|
public float FrameRate { get; set; }
|
2012-08-18 08:22:54 +00:00
|
|
|
|
public int BitRate { get; set; }
|
|
|
|
|
public string Codec { get; set; }
|
2012-07-12 06:55:27 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class AudioStream
|
|
|
|
|
{
|
2012-08-20 19:16:51 +00:00
|
|
|
|
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; }
|
2012-08-13 18:19:52 +00:00
|
|
|
|
public int SampleRate { get; set; }
|
2012-08-18 08:22:54 +00:00
|
|
|
|
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; }
|
2012-08-18 08:22:54 +00:00
|
|
|
|
public bool IsForced { get; set; }
|
2012-07-12 06:55:27 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum VideoType
|
|
|
|
|
{
|
2012-07-16 16:50:44 +00:00
|
|
|
|
VideoFile,
|
2012-08-23 12:59:40 +00:00
|
|
|
|
Iso,
|
2012-07-16 16:50:44 +00:00
|
|
|
|
DVD,
|
|
|
|
|
BluRay
|
2012-07-12 06:55:27 +00:00
|
|
|
|
}
|
|
|
|
|
}
|