2012-07-16 18:50:44 +02:00
|
|
|
|
using System.Collections.Generic;
|
2012-07-12 08:55:27 +02:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Entities
|
|
|
|
|
{
|
|
|
|
|
public class Video : BaseItem
|
|
|
|
|
{
|
|
|
|
|
public VideoType VideoType { get; set; }
|
|
|
|
|
|
2012-08-18 10:22:54 +02:00
|
|
|
|
public IEnumerable<string> Subtitles { get; set; }
|
|
|
|
|
public IEnumerable<AudioStream> AudioStreams { get; set; }
|
2012-07-12 08:55:27 +02:00
|
|
|
|
|
|
|
|
|
public int Height { get; set; }
|
|
|
|
|
public int Width { get; set; }
|
|
|
|
|
public string ScanType { get; set; }
|
2012-08-21 01:53:32 +02:00
|
|
|
|
public float FrameRate { get; set; }
|
2012-08-18 10:22:54 +02:00
|
|
|
|
public int BitRate { get; set; }
|
|
|
|
|
public string Codec { get; set; }
|
2012-07-12 08:55:27 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class AudioStream
|
|
|
|
|
{
|
2012-08-20 21:16:51 +02:00
|
|
|
|
public string Codec { get; set; }
|
2012-07-12 08:55:27 +02:00
|
|
|
|
public string Language { get; set; }
|
|
|
|
|
public int BitRate { get; set; }
|
|
|
|
|
public int Channels { get; set; }
|
2012-08-13 20:19:52 +02:00
|
|
|
|
public int SampleRate { get; set; }
|
2012-08-18 10:22:54 +02:00
|
|
|
|
public bool IsDefault { get; set; }
|
|
|
|
|
public bool IsForced { get; set; }
|
2012-07-12 08:55:27 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum VideoType
|
|
|
|
|
{
|
2012-07-16 18:50:44 +02:00
|
|
|
|
VideoFile,
|
|
|
|
|
DVD,
|
|
|
|
|
BluRay
|
2012-07-12 08:55:27 +02:00
|
|
|
|
}
|
|
|
|
|
}
|