2
0

InternalMediaInfoResult.cs 914 B

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