fixes #712 - multi-version grouping

This commit is contained in:
Luke Pulverenti
2014-03-20 23:31:40 -04:00
parent 0d518ebf17
commit 74d1ffd676
18 changed files with 160 additions and 223 deletions

View File

@@ -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";
}
}

View File

@@ -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[] {};
}
}
}

View File

@@ -135,6 +135,12 @@ namespace MediaBrowser.Model.Session
/// <value>The device id.</value>
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>