jellyfin-server/MediaBrowser.Model/Session/ClientCapabilities.cs

34 lines
1.0 KiB
C#
Raw Normal View History

2014-12-14 20:01:26 +00:00
using MediaBrowser.Model.Dlna;
using System.Collections.Generic;
namespace MediaBrowser.Model.Session
{
public class ClientCapabilities
{
public List<string> PlayableMediaTypes { get; set; }
2014-10-11 20:38:13 +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; }
public ClientCapabilities()
{
PlayableMediaTypes = new List<string>();
SupportedCommands = new List<string>();
2015-01-20 05:19:13 +00:00
SupportsPersistentIdentifier = true;
}
}
}