ClientCapabilities.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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 bool SupportsOfflineAccess { get; set; }
  15. public DeviceProfile DeviceProfile { get; set; }
  16. /// <summary>
  17. /// Usage should be migrated to SupportsPersistentIdentifier. Keeping this to preserve data.
  18. /// </summary>
  19. public bool? SupportsUniqueIdentifier { get; set; }
  20. public ClientCapabilities()
  21. {
  22. PlayableMediaTypes = new List<string>();
  23. SupportedCommands = new List<string>();
  24. SupportsPersistentIdentifier = true;
  25. }
  26. }
  27. }