ClientCapabilities.cs 905 B

12345678910111213141516171819202122232425262728293031323334
  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 SupportsPersistentIdentifier { get; set; }
  21. public DeviceProfile DeviceProfile { get; set; }
  22. public string AppStoreUrl { get; set; }
  23. public string IconUrl { get; set; }
  24. }
  25. }