Video.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. using System.Collections.Generic;
  2. namespace MediaBrowser.Model.Entities
  3. {
  4. public class Video : BaseItem
  5. {
  6. public VideoType VideoType { get; set; }
  7. private IEnumerable<string> _Subtitles = new string[] { };
  8. public IEnumerable<string> Subtitles { get { return _Subtitles; } set { _Subtitles = value; } }
  9. private IEnumerable<AudioStream> _AudioStreams = new AudioStream[] { };
  10. public IEnumerable<AudioStream> AudioStreams { get { return _AudioStreams; } set { _AudioStreams = value; } }
  11. public int Height { get; set; }
  12. public int Width { get; set; }
  13. public string ScanType { get; set; }
  14. public string FrameRate { get; set; }
  15. public int VideoBitRate { get; set; }
  16. public string VideoCodec { get; set; }
  17. }
  18. public class AudioStream
  19. {
  20. public string AudioFormat { get; set; }
  21. public string AudioProfile { get; set; }
  22. public string Language { get; set; }
  23. public int BitRate { get; set; }
  24. public int Channels { get; set; }
  25. }
  26. public enum VideoType
  27. {
  28. VideoFile,
  29. DVD,
  30. BluRay
  31. }
  32. }