From 74d1ffd67689c5203870dbdbfa21a0e4d79f6db1 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 20 Mar 2014 23:31:40 -0400 Subject: fixes #712 - multi-version grouping --- MediaBrowser.Model/Session/BrowseRequest.cs | 8 -------- MediaBrowser.Model/Session/SessionCapabilities.cs | 15 +++++++++++++++ MediaBrowser.Model/Session/SessionInfoDto.cs | 6 ++++++ 3 files changed, 21 insertions(+), 8 deletions(-) create mode 100644 MediaBrowser.Model/Session/SessionCapabilities.cs (limited to 'MediaBrowser.Model/Session') diff --git a/MediaBrowser.Model/Session/BrowseRequest.cs b/MediaBrowser.Model/Session/BrowseRequest.cs index e2cdcc1b2..bcf72e143 100644 --- a/MediaBrowser.Model/Session/BrowseRequest.cs +++ b/MediaBrowser.Model/Session/BrowseRequest.cs @@ -32,12 +32,4 @@ namespace MediaBrowser.Model.Session /// The context. public string Context { get; set; } } - - public class ItemContext - { - public const string Music = "Music"; - public const string Movies = "Movies"; - public const string TvShows = "TvShows"; - public const string Games = "Games"; - } } \ No newline at end of file diff --git a/MediaBrowser.Model/Session/SessionCapabilities.cs b/MediaBrowser.Model/Session/SessionCapabilities.cs new file mode 100644 index 000000000..731ebaccc --- /dev/null +++ b/MediaBrowser.Model/Session/SessionCapabilities.cs @@ -0,0 +1,15 @@ + +namespace MediaBrowser.Model.Session +{ + public class SessionCapabilities + { + public string[] PlayableMediaTypes { get; set; } + + public bool SupportsFullscreenToggle { get; set; } + + public SessionCapabilities() + { + PlayableMediaTypes = new string[] {}; + } + } +} diff --git a/MediaBrowser.Model/Session/SessionInfoDto.cs b/MediaBrowser.Model/Session/SessionInfoDto.cs index 083d1ef79..d44bbeaeb 100644 --- a/MediaBrowser.Model/Session/SessionInfoDto.cs +++ b/MediaBrowser.Model/Session/SessionInfoDto.cs @@ -135,6 +135,12 @@ namespace MediaBrowser.Model.Session /// The device id. public string DeviceId { get; set; } + /// + /// Gets or sets a value indicating whether [supports fullscreen toggle]. + /// + /// true if [supports fullscreen toggle]; otherwise, false. + public bool SupportsFullscreenToggle { get; set; } + /// /// Gets or sets a value indicating whether [supports remote control]. /// -- cgit v1.2.3