aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Session
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-07-09 12:11:16 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-07-09 12:11:16 -0400
commit66624293ac2208020d25456801664d10ddd2450a (patch)
treea8369c3cfc2a75e7cd7ffdd0d06080c1b5c530d8 /MediaBrowser.Model/Session
parent48265fefa445d2b9e62c4f050fca3da783e6123f (diff)
Display client version in the dashboard
Diffstat (limited to 'MediaBrowser.Model/Session')
-rw-r--r--MediaBrowser.Model/Session/PlaystateCommand.cs (renamed from MediaBrowser.Model/Session/PlaystateRequest.cs)26
-rw-r--r--MediaBrowser.Model/Session/SessionInfoDto.cs6
2 files changed, 13 insertions, 19 deletions
diff --git a/MediaBrowser.Model/Session/PlaystateRequest.cs b/MediaBrowser.Model/Session/PlaystateCommand.cs
index 78551060f..01f7068ac 100644
--- a/MediaBrowser.Model/Session/PlaystateRequest.cs
+++ b/MediaBrowser.Model/Session/PlaystateCommand.cs
@@ -2,25 +2,6 @@
namespace MediaBrowser.Model.Session
{
/// <summary>
- /// Class PlaystateRequest
- /// </summary>
- public class PlaystateRequest
- {
- /// <summary>
- /// Gets or sets the command.
- /// </summary>
- /// <value>The command.</value>
- public PlaystateCommand Command { get; set; }
-
- /// <summary>
- /// Gets or sets the seek position.
- /// Only applicable to seek commands.
- /// </summary>
- /// <value>The seek position.</value>
- public long? SeekPosition { get; set; }
- }
-
- /// <summary>
/// Enum PlaystateCommand
/// </summary>
public enum PlaystateCommand
@@ -50,4 +31,11 @@ namespace MediaBrowser.Model.Session
/// </summary>
Seek
}
+
+ public class PlayStateRequest
+ {
+ public PlaystateCommand Command { get; set; }
+
+ public long? SeekPosition { get; set; }
+ }
}
diff --git a/MediaBrowser.Model/Session/SessionInfoDto.cs b/MediaBrowser.Model/Session/SessionInfoDto.cs
index 294e6a264..93d531806 100644
--- a/MediaBrowser.Model/Session/SessionInfoDto.cs
+++ b/MediaBrowser.Model/Session/SessionInfoDto.cs
@@ -22,6 +22,12 @@ namespace MediaBrowser.Model.Session
/// </summary>
/// <value>The name of the user.</value>
public string UserName { get; set; }
+
+ /// <summary>
+ /// Gets or sets the application version.
+ /// </summary>
+ /// <value>The application version.</value>
+ public string ApplicationVersion { get; set; }
/// <summary>
/// Gets or sets the type of the client.