InternalMediaInfoResult.cs 933 B

12345678910111213141516171819202122232425262728293031323334
  1. #nullable disable
  2. using System.Collections.Generic;
  3. using System.Text.Json.Serialization;
  4. namespace MediaBrowser.MediaEncoding.Probing
  5. {
  6. /// <summary>
  7. /// Class MediaInfoResult.
  8. /// </summary>
  9. public class InternalMediaInfoResult
  10. {
  11. /// <summary>
  12. /// Gets or sets the streams.
  13. /// </summary>
  14. /// <value>The streams.</value>
  15. [JsonPropertyName("streams")]
  16. public IReadOnlyList<MediaStreamInfo> Streams { get; set; }
  17. /// <summary>
  18. /// Gets or sets the format.
  19. /// </summary>
  20. /// <value>The format.</value>
  21. [JsonPropertyName("format")]
  22. public MediaFormatInfo Format { get; set; }
  23. /// <summary>
  24. /// Gets or sets the chapters.
  25. /// </summary>
  26. /// <value>The chapters.</value>
  27. [JsonPropertyName("chapters")]
  28. public IReadOnlyList<MediaChapter> Chapters { get; set; }
  29. }
  30. }