diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-04-18 01:03:01 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-04-18 01:03:01 -0400 |
| commit | 7f320ce0638cd3c26b45bb75184d526f03b18651 (patch) | |
| tree | 7af43a7b7006f10ae78e933c79df6b66978c49c3 /MediaBrowser.Model/Session | |
| parent | 818d7990915ef8970a95a226aa4be1851ba3b9e6 (diff) | |
add basic dlna server browsing
Diffstat (limited to 'MediaBrowser.Model/Session')
| -rw-r--r-- | MediaBrowser.Model/Session/PlaybackReports.cs | 13 | ||||
| -rw-r--r-- | MediaBrowser.Model/Session/SessionInfoDto.cs | 6 |
2 files changed, 19 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Session/PlaybackReports.cs b/MediaBrowser.Model/Session/PlaybackReports.cs index 24594fcb1..80524c06e 100644 --- a/MediaBrowser.Model/Session/PlaybackReports.cs +++ b/MediaBrowser.Model/Session/PlaybackReports.cs @@ -90,6 +90,19 @@ namespace MediaBrowser.Model.Session /// </summary> /// <value>The volume level.</value> public int? VolumeLevel { get; set; } + + /// <summary> + /// Gets or sets the play method. + /// </summary> + /// <value>The play method.</value> + public PlayMethod PlayMethod { get; set; } + } + + public enum PlayMethod + { + Transcode = 0, + DirectStream = 1, + DirectPlay = 2 } /// <summary> diff --git a/MediaBrowser.Model/Session/SessionInfoDto.cs b/MediaBrowser.Model/Session/SessionInfoDto.cs index b9dcf996e..686af4849 100644 --- a/MediaBrowser.Model/Session/SessionInfoDto.cs +++ b/MediaBrowser.Model/Session/SessionInfoDto.cs @@ -233,5 +233,11 @@ namespace MediaBrowser.Model.Session /// </summary> /// <value>The now playing media version identifier.</value> public string MediaSourceId { get; set; } + + /// <summary> + /// Gets or sets the play method. + /// </summary> + /// <value>The play method.</value> + public PlayMethod? PlayMethod { get; set; } } } |
