aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Session
diff options
context:
space:
mode:
authortikuf <admin@nyalindee.com>2014-04-02 08:55:36 +1100
committertikuf <admin@nyalindee.com>2014-04-02 08:55:36 +1100
commit8882925dab080eb236a5cc896f48ed99711d76a8 (patch)
treecbfa2811dfff4c818d34de926f68be2ef8a78948 /MediaBrowser.Model/Session
parent241be6dd93f6e0ec96ef88f0182b8985eb275995 (diff)
parent4afe2c3f731562efbe42147d1bcbdc0a7542cfeb (diff)
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
Diffstat (limited to 'MediaBrowser.Model/Session')
-rw-r--r--MediaBrowser.Model/Session/GeneralCommand.cs (renamed from MediaBrowser.Model/Session/GenericCommand.cs)6
-rw-r--r--MediaBrowser.Model/Session/PlayRequest.cs14
-rw-r--r--MediaBrowser.Model/Session/SystemCommand.cs14
3 files changed, 14 insertions, 20 deletions
diff --git a/MediaBrowser.Model/Session/GenericCommand.cs b/MediaBrowser.Model/Session/GeneralCommand.cs
index f7ea0a84a..0de7d6dd8 100644
--- a/MediaBrowser.Model/Session/GenericCommand.cs
+++ b/MediaBrowser.Model/Session/GeneralCommand.cs
@@ -3,7 +3,7 @@ using System.Collections.Generic;
namespace MediaBrowser.Model.Session
{
- public class GenericCommand
+ public class GeneralCommand
{
public string Name { get; set; }
@@ -11,7 +11,7 @@ namespace MediaBrowser.Model.Session
public Dictionary<string, string> Arguments { get; set; }
- public GenericCommand()
+ public GeneralCommand()
{
Arguments = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
}
@@ -20,7 +20,7 @@ namespace MediaBrowser.Model.Session
/// <summary>
/// This exists simply to identify a set of known commands.
/// </summary>
- public enum CoreGenericCommand
+ public enum GeneralCommandType
{
MoveUp = 0,
MoveDown = 1,
diff --git a/MediaBrowser.Model/Session/PlayRequest.cs b/MediaBrowser.Model/Session/PlayRequest.cs
index 949274a5d..74d7a70a3 100644
--- a/MediaBrowser.Model/Session/PlayRequest.cs
+++ b/MediaBrowser.Model/Session/PlayRequest.cs
@@ -39,14 +39,22 @@ namespace MediaBrowser.Model.Session
/// <summary>
/// The play now
/// </summary>
- PlayNow,
+ PlayNow = 0,
/// <summary>
/// The play next
/// </summary>
- PlayNext,
+ PlayNext = 1,
/// <summary>
/// The play last
/// </summary>
- PlayLast
+ PlayLast = 2,
+ /// <summary>
+ /// The play instant mix
+ /// </summary>
+ PlayInstantMix = 3,
+ /// <summary>
+ /// The play shuffle
+ /// </summary>
+ PlayShuffle = 4
}
} \ No newline at end of file
diff --git a/MediaBrowser.Model/Session/SystemCommand.cs b/MediaBrowser.Model/Session/SystemCommand.cs
deleted file mode 100644
index 2fcaef6e3..000000000
--- a/MediaBrowser.Model/Session/SystemCommand.cs
+++ /dev/null
@@ -1,14 +0,0 @@
-
-namespace MediaBrowser.Model.Session
-{
- public enum SystemCommand
- {
- GoHome,
- GoToSettings,
- VolumeUp,
- VolumeDown,
- Mute,
- Unmute,
- ToggleMute
- }
-}