From f7cd7182d55779b623c8da34bb3ca3b524194830 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 5 Jun 2014 20:39:02 -0400 Subject: display additional transcoding info in dashboard --- MediaBrowser.Model/Session/PlayerStateInfo.cs | 11 +++++++++++ MediaBrowser.Model/Session/SessionInfoDto.cs | 2 ++ 2 files changed, 13 insertions(+) (limited to 'MediaBrowser.Model/Session') diff --git a/MediaBrowser.Model/Session/PlayerStateInfo.cs b/MediaBrowser.Model/Session/PlayerStateInfo.cs index c9afef8e0..24f9ef3e0 100644 --- a/MediaBrowser.Model/Session/PlayerStateInfo.cs +++ b/MediaBrowser.Model/Session/PlayerStateInfo.cs @@ -56,4 +56,15 @@ /// The play method. public PlayMethod? PlayMethod { get; set; } } + + public class TranscodingInfo + { + public string AudioCodec { get; set; } + public string VideoCodec { get; set; } + public string Container { get; set; } + public int? Bitrate { get; set; } + + public float? Framerate { get; set; } + public double? CompletionPercentage { get; set; } + } } \ No newline at end of file diff --git a/MediaBrowser.Model/Session/SessionInfoDto.cs b/MediaBrowser.Model/Session/SessionInfoDto.cs index 46e214d24..7217e28f4 100644 --- a/MediaBrowser.Model/Session/SessionInfoDto.cs +++ b/MediaBrowser.Model/Session/SessionInfoDto.cs @@ -137,6 +137,8 @@ namespace MediaBrowser.Model.Session public PlayerStateInfo PlayState { get; set; } + public TranscodingInfo TranscodingInfo { get; set; } + public event PropertyChangedEventHandler PropertyChanged; public SessionInfoDto() -- cgit v1.2.3