diff options
| author | Tim Hobbs <jesus.tesh@gmail.com> | 2014-03-20 21:44:00 -0700 |
|---|---|---|
| committer | Tim Hobbs <jesus.tesh@gmail.com> | 2014-03-20 21:44:00 -0700 |
| commit | 6239bef199795cabdf53aa343e66c8e8a40305ff (patch) | |
| tree | bc0f8711e24b8c0765d90996deb2302831ab4466 /MediaBrowser.Model/Session | |
| parent | fc9c9a98486567ea225e97df980c750b55278921 (diff) | |
| parent | 74d1ffd67689c5203870dbdbfa21a0e4d79f6db1 (diff) | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'MediaBrowser.Model/Session')
| -rw-r--r-- | MediaBrowser.Model/Session/BrowseRequest.cs | 8 | ||||
| -rw-r--r-- | MediaBrowser.Model/Session/SessionCapabilities.cs | 15 | ||||
| -rw-r--r-- | MediaBrowser.Model/Session/SessionInfoDto.cs | 6 |
3 files changed, 21 insertions, 8 deletions
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 /// <value>The context.</value> 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 @@ -136,6 +136,12 @@ namespace MediaBrowser.Model.Session public string DeviceId { get; set; } /// <summary> + /// Gets or sets a value indicating whether [supports fullscreen toggle]. + /// </summary> + /// <value><c>true</c> if [supports fullscreen toggle]; otherwise, <c>false</c>.</value> + public bool SupportsFullscreenToggle { get; set; } + + /// <summary> /// Gets or sets a value indicating whether [supports remote control]. /// </summary> /// <value><c>true</c> if [supports remote control]; otherwise, <c>false</c>.</value> |
