jellyfin/MediaBrowser.Model/Session/ClientCapabilities.cs

34 lines
1 KiB
C#
Raw Normal View History

2014-12-14 21:01:26 +01: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 22:38:13 +02:00
public List<string> SupportedCommands { get; set; }
2014-10-11 22:38:13 +02:00
public bool SupportsMediaControl { get; set; }
public string MessageCallbackUrl { get; set; }
public bool SupportsContentUploading { get; set; }
2015-01-20 06:19:13 +01:00
public bool SupportsPersistentIdentifier { get; set; }
2014-12-13 04:56:30 +01:00
public bool SupportsSync { get; set; }
2014-10-11 22:38:13 +02:00
2014-12-14 21:01:26 +01:00
public DeviceProfile DeviceProfile { get; set; }
2015-01-20 06:19:13 +01: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 06:19:13 +01:00
SupportsPersistentIdentifier = true;
}
}
}