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; }
|
|
|
|
|
|
|
|
|
|
private IEnumerable<string> _Subtitles = new string[] { };
|
|
|
|
|
public IEnumerable<string> Subtitles { get { return _Subtitles; } set { _Subtitles = value; } }
|
|
|
|
|
|
|
|
|
|
private IEnumerable<AudioStream> _AudioStreams = new AudioStream[] { };
|
|
|
|
|
public IEnumerable<AudioStream> AudioStreams { get { return _AudioStreams; } set { _AudioStreams = value; } }
|
|
|
|
|
|
|
|
|
|
public int Height { get; set; }
|
|
|
|
|
public int Width { get; set; }
|
|
|
|
|
public string ScanType { get; set; }
|
|
|
|
|
public string FrameRate { get; set; }
|
|
|
|
|
public int VideoBitRate { get; set; }
|
|
|
|
|
public string VideoCodec { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class AudioStream
|
|
|
|
|
{
|
|
|
|
|
public string AudioFormat { get; set; }
|
|
|
|
|
public string AudioProfile { get; set; }
|
|
|
|
|
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-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
|
|
|
|
}
|
|
|
|
|
}
|