Video.cs 1022 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using System.Collections.Generic;
  2. namespace MediaBrowser.Model.Entities
  3. {
  4. public class Video : BaseItem
  5. {
  6. public VideoType VideoType { get; set; }
  7. public IEnumerable<string> Subtitles { get; set; }
  8. public IEnumerable<AudioStream> AudioStreams { get; set; }
  9. public int Height { get; set; }
  10. public int Width { get; set; }
  11. public string ScanType { get; set; }
  12. public string FrameRate { get; set; }
  13. public int BitRate { get; set; }
  14. public string Codec { get; set; }
  15. }
  16. public class AudioStream
  17. {
  18. public string Codec { get; set; }
  19. public string Language { get; set; }
  20. public int BitRate { get; set; }
  21. public int Channels { get; set; }
  22. public int SampleRate { get; set; }
  23. public bool IsDefault { get; set; }
  24. public bool IsForced { get; set; }
  25. }
  26. public enum VideoType
  27. {
  28. VideoFile,
  29. DVD,
  30. BluRay
  31. }
  32. }