diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-04-02 17:55:19 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-04-02 17:55:19 -0400 |
| commit | 0200911afc125051b4f5e652ef1bebeca984b571 (patch) | |
| tree | d6f00cd6b521dd2232bf0ac1f9d110773e3abe7e /MediaBrowser.Model/Session | |
| parent | dcf2e70f039a79dd93ac4f6f3cd5b2c8c9a4dcc8 (diff) | |
add latest translations
Diffstat (limited to 'MediaBrowser.Model/Session')
| -rw-r--r-- | MediaBrowser.Model/Session/SessionCapabilities.cs | 14 | ||||
| -rw-r--r-- | MediaBrowser.Model/Session/SessionInfoDto.cs | 7 |
2 files changed, 13 insertions, 8 deletions
diff --git a/MediaBrowser.Model/Session/SessionCapabilities.cs b/MediaBrowser.Model/Session/SessionCapabilities.cs index 7b3b04ce9..290b0e4d4 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 09a8375d8..5349a6360 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>(); } } |
