jellyfin/MediaBrowser.Model/Session/ClientCapabilities.cs
Luke Pulverenti 792e4c4f1b sync updates
2015-01-30 00:18:32 -05:00

35 lines
1.1 KiB
C#

using MediaBrowser.Model.Dlna;
using System.Collections.Generic;
namespace MediaBrowser.Model.Session
{
public class ClientCapabilities
{
public List<string> PlayableMediaTypes { get; set; }
public List<string> SupportedCommands { get; set; }
public bool SupportsMediaControl { get; set; }
public string MessageCallbackUrl { get; set; }
public bool SupportsContentUploading { get; set; }
public bool SupportsPersistentIdentifier { get; set; }
public bool SupportsSync { get; set; }
public bool SupportsOfflineAccess { get; set; }
public DeviceProfile DeviceProfile { get; set; }
/// <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>();
SupportsPersistentIdentifier = true;
}
}
}