ClientCapabilities.cs 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #nullable disable
  2. #pragma warning disable CS1591
  3. using System;
  4. using System.Collections.Generic;
  5. using Jellyfin.Data.Enums;
  6. using MediaBrowser.Model.Dlna;
  7. namespace MediaBrowser.Model.Session
  8. {
  9. public class ClientCapabilities
  10. {
  11. public ClientCapabilities()
  12. {
  13. PlayableMediaTypes = Array.Empty<MediaType>();
  14. SupportedCommands = Array.Empty<GeneralCommandType>();
  15. SupportsPersistentIdentifier = true;
  16. }
  17. public IReadOnlyList<MediaType> PlayableMediaTypes { get; set; }
  18. public IReadOnlyList<GeneralCommandType> SupportedCommands { get; set; }
  19. public bool SupportsMediaControl { get; set; }
  20. public bool SupportsContentUploading { get; set; }
  21. public string MessageCallbackUrl { get; set; }
  22. public bool SupportsPersistentIdentifier { get; set; }
  23. public bool SupportsSync { get; set; }
  24. public DeviceProfile DeviceProfile { get; set; }
  25. public string AppStoreUrl { get; set; }
  26. public string IconUrl { get; set; }
  27. }
  28. }