2014-12-14 20:01:26 +00:00
|
|
|
|
using MediaBrowser.Model.Dlna;
|
|
|
|
|
using System.Collections.Generic;
|
2014-05-08 20:26:20 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Session
|
|
|
|
|
{
|
|
|
|
|
public class ClientCapabilities
|
|
|
|
|
{
|
|
|
|
|
public List<string> PlayableMediaTypes { get; set; }
|
2014-10-11 20:38:13 +00:00
|
|
|
|
|
2014-05-08 20:26:20 +00:00
|
|
|
|
public List<string> SupportedCommands { get; set; }
|
|
|
|
|
|
2014-10-11 20:38:13 +00:00
|
|
|
|
public bool SupportsMediaControl { get; set; }
|
|
|
|
|
|
|
|
|
|
public string MessageCallbackUrl { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool SupportsContentUploading { get; set; }
|
2015-01-20 05:19:13 +00:00
|
|
|
|
public bool SupportsPersistentIdentifier { get; set; }
|
2014-12-13 03:56:30 +00:00
|
|
|
|
public bool SupportsSync { get; set; }
|
2014-10-11 20:38:13 +00:00
|
|
|
|
|
2014-12-14 20:01:26 +00:00
|
|
|
|
public DeviceProfile DeviceProfile { get; set; }
|
|
|
|
|
|
2015-01-20 05:19:13 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Usage should be migrated to SupportsPersistentIdentifier. Keeping this to preserve data.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool? SupportsUniqueIdentifier { get; set; }
|
|
|
|
|
|
2014-05-08 20:26:20 +00:00
|
|
|
|
public ClientCapabilities()
|
|
|
|
|
{
|
|
|
|
|
PlayableMediaTypes = new List<string>();
|
|
|
|
|
SupportedCommands = new List<string>();
|
2015-01-20 05:19:13 +00:00
|
|
|
|
SupportsPersistentIdentifier = true;
|
2014-05-08 20:26:20 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|