diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2020-01-09 15:10:29 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-09 15:10:29 +0900 |
| commit | 162c1ac7b7fde0e4929cf262b0f275e3eb15524c (patch) | |
| tree | 18283951ed26d9c5190ff8226a0269fe388643cd /MediaBrowser.MediaEncoding/Probing/MediaChapter.cs | |
| parent | 124a852787ff94201de452a952eb31376beafe12 (diff) | |
| parent | b1af8a4178b5d993b09e5682a0149ea37766ff91 (diff) | |
Merge pull request #2185 from Bond-009/scanerrors
Fix exceptions while scanning
Diffstat (limited to 'MediaBrowser.MediaEncoding/Probing/MediaChapter.cs')
| -rw-r--r-- | MediaBrowser.MediaEncoding/Probing/MediaChapter.cs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/MediaBrowser.MediaEncoding/Probing/MediaChapter.cs b/MediaBrowser.MediaEncoding/Probing/MediaChapter.cs new file mode 100644 index 000000000..6a45ccf49 --- /dev/null +++ b/MediaBrowser.MediaEncoding/Probing/MediaChapter.cs @@ -0,0 +1,32 @@ +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace MediaBrowser.MediaEncoding.Probing +{ + /// <summary> + /// Class MediaChapter. + /// </summary> + public class MediaChapter + { + [JsonPropertyName("id")] + public int Id { get; set; } + + [JsonPropertyName("time_base")] + public string TimeBase { get; set; } + + [JsonPropertyName("start")] + public long Start { get; set; } + + [JsonPropertyName("start_time")] + public string StartTime { get; set; } + + [JsonPropertyName("end")] + public long End { get; set; } + + [JsonPropertyName("end_time")] + public string EndTime { get; set; } + + [JsonPropertyName("tags")] + public IReadOnlyDictionary<string, string> Tags { get; set; } + } +} |
