diff options
| author | Artiume <siderite@gmail.com> | 2020-01-09 12:14:54 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-09 12:14:54 -0500 |
| commit | a40cb7bbd865ec3a693c74669dcc341ecac85169 (patch) | |
| tree | 85aa8a335a122d87608aef3afa3ed07125722803 /MediaBrowser.MediaEncoding/Probing/MediaChapter.cs | |
| parent | 5b559979845a1c050176e3083e6307e56b43182c (diff) | |
| parent | 162c1ac7b7fde0e4929cf262b0f275e3eb15524c (diff) | |
Merge pull request #7 from jellyfin/master
nightly
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; } + } +} |
