ClientCapabilities.cs 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. using MediaBrowser.Model.Dlna;
  2. using System.Collections.Generic;
  3. namespace MediaBrowser.Model.Session
  4. {
  5. public class ClientCapabilities
  6. {
  7. public List<string> PlayableMediaTypes { get; set; }
  8. public List<string> SupportedCommands { get; set; }
  9. public bool SupportsMediaControl { get; set; }
  10. public string MessageCallbackUrl { get; set; }
  11. public bool SupportsContentUploading { get; set; }
  12. public bool SupportsPersistentIdentifier { get; set; }
  13. public bool SupportsSync { get; set; }
  14. public DeviceProfile DeviceProfile { get; set; }
  15. /// <summary>
  16. /// Usage should be migrated to SupportsPersistentIdentifier. Keeping this to preserve data.
  17. /// </summary>
  18. public bool? SupportsUniqueIdentifier { get; set; }
  19. public ClientCapabilities()
  20. {
  21. PlayableMediaTypes = new List<string>();
  22. SupportedCommands = new List<string>();
  23. SupportsPersistentIdentifier = true;
  24. }
  25. }
  26. }