aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Session
diff options
context:
space:
mode:
authorTim Hobbs <jesus.tesh@gmail.com>2014-04-18 00:56:43 -0700
committerTim Hobbs <jesus.tesh@gmail.com>2014-04-18 00:56:43 -0700
commit1da36ba59d7449c0f6bf3bb83456fe0ac47a56b2 (patch)
treebd3bbd9cfb3a66045a5ffc9d9dda3a8c8425a4a4 /MediaBrowser.Model/Session
parent3c11988f08c12a35cd2074eb7c5afa6fdaaa04f7 (diff)
parentb7b6f64f0089d7ce4ff8c3c5682fd8ede7311b1b (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'MediaBrowser.Model/Session')
-rw-r--r--MediaBrowser.Model/Session/PlaybackReports.cs13
-rw-r--r--MediaBrowser.Model/Session/SessionInfoDto.cs6
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; }
}
}