MediaChapter.cs 812 B

1234567891011121314151617181920212223242526272829303132
  1. using System.Collections.Generic;
  2. using System.Text.Json.Serialization;
  3. namespace MediaBrowser.MediaEncoding.Probing
  4. {
  5. /// <summary>
  6. /// Class MediaChapter.
  7. /// </summary>
  8. public class MediaChapter
  9. {
  10. [JsonPropertyName("id")]
  11. public int Id { get; set; }
  12. [JsonPropertyName("time_base")]
  13. public string TimeBase { get; set; }
  14. [JsonPropertyName("start")]
  15. public long Start { get; set; }
  16. [JsonPropertyName("start_time")]
  17. public string StartTime { get; set; }
  18. [JsonPropertyName("end")]
  19. public long End { get; set; }
  20. [JsonPropertyName("end_time")]
  21. public string EndTime { get; set; }
  22. [JsonPropertyName("tags")]
  23. public IReadOnlyDictionary<string, string> Tags { get; set; }
  24. }
  25. }