aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Session
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model/Session')
-rw-r--r--MediaBrowser.Model/Session/SessionCapabilities.cs14
-rw-r--r--MediaBrowser.Model/Session/SessionInfoDto.cs7
2 files changed, 13 insertions, 8 deletions
diff --git a/MediaBrowser.Model/Session/SessionCapabilities.cs b/MediaBrowser.Model/Session/SessionCapabilities.cs
index 7b3b04ce92..290b0e4d47 100644
--- a/MediaBrowser.Model/Session/SessionCapabilities.cs
+++ b/MediaBrowser.Model/Session/SessionCapabilities.cs
@@ -1,19 +1,17 @@
-
+using System.Collections.Generic;
+
namespace MediaBrowser.Model.Session
{
public class SessionCapabilities
{
- public string[] PlayableMediaTypes { get; set; }
-
- public bool SupportsFullscreenToggle { get; set; }
+ public List<string> PlayableMediaTypes { get; set; }
- public bool SupportsOsdToggle { get; set; }
+ public List<string> SupportedCommands { get; set; }
- public bool SupportsNavigationControl { get; set; }
-
public SessionCapabilities()
{
- PlayableMediaTypes = new string[] {};
+ PlayableMediaTypes = new List<string>();
+ SupportedCommands = new List<string>();
}
}
}
diff --git a/MediaBrowser.Model/Session/SessionInfoDto.cs b/MediaBrowser.Model/Session/SessionInfoDto.cs
index 09a8375d81..5349a6360f 100644
--- a/MediaBrowser.Model/Session/SessionInfoDto.cs
+++ b/MediaBrowser.Model/Session/SessionInfoDto.cs
@@ -16,6 +16,12 @@ namespace MediaBrowser.Model.Session
public bool CanSeek { get; set; }
/// <summary>
+ /// Gets or sets the supported commands.
+ /// </summary>
+ /// <value>The supported commands.</value>
+ public List<string> SupportedCommands { get; set; }
+
+ /// <summary>
/// Gets or sets the remote end point.
/// </summary>
/// <value>The remote end point.</value>
@@ -167,6 +173,7 @@ namespace MediaBrowser.Model.Session
PlayableMediaTypes = new List<string>();
QueueableMediaTypes = new List<string>();
+ SupportedCommands = new List<string>();
}
}