aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Session/PlaystateCommand.cs
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/PlaystateCommand.cs
parent48265fefa445d2b9e62c4f050fca3da783e6123f (diff)
Display client version in the dashboard
Diffstat (limited to 'MediaBrowser.Model/Session/PlaystateCommand.cs')
-rw-r--r--MediaBrowser.Model/Session/PlaystateCommand.cs41
1 files changed, 41 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Session/PlaystateCommand.cs b/MediaBrowser.Model/Session/PlaystateCommand.cs
new file mode 100644
index 0000000000..01f7068ac7
--- /dev/null
+++ b/MediaBrowser.Model/Session/PlaystateCommand.cs
@@ -0,0 +1,41 @@
+
+namespace MediaBrowser.Model.Session
+{
+ /// <summary>
+ /// Enum PlaystateCommand
+ /// </summary>
+ public enum PlaystateCommand
+ {
+ /// <summary>
+ /// The stop
+ /// </summary>
+ Stop,
+ /// <summary>
+ /// The pause
+ /// </summary>
+ Pause,
+ /// <summary>
+ /// The unpause
+ /// </summary>
+ Unpause,
+ /// <summary>
+ /// The next track
+ /// </summary>
+ NextTrack,
+ /// <summary>
+ /// The previous track
+ /// </summary>
+ PreviousTrack,
+ /// <summary>
+ /// The seek
+ /// </summary>
+ Seek
+ }
+
+ public class PlayStateRequest
+ {
+ public PlaystateCommand Command { get; set; }
+
+ public long? SeekPosition { get; set; }
+ }
+}