| | | 1 | | #nullable disable |
| | | 2 | | #pragma warning disable CS1591 |
| | | 3 | | |
| | | 4 | | using System; |
| | | 5 | | using System.Collections.Generic; |
| | | 6 | | using System.ComponentModel; |
| | | 7 | | using Jellyfin.Data.Enums; |
| | | 8 | | using MediaBrowser.Model.Dlna; |
| | | 9 | | |
| | | 10 | | namespace MediaBrowser.Model.Session |
| | | 11 | | { |
| | | 12 | | public class ClientCapabilities |
| | | 13 | | { |
| | | 14 | | public ClientCapabilities() |
| | | 15 | | { |
| | 15 | 16 | | PlayableMediaTypes = Array.Empty<MediaType>(); |
| | 15 | 17 | | SupportedCommands = Array.Empty<GeneralCommandType>(); |
| | 15 | 18 | | SupportsPersistentIdentifier = true; |
| | 15 | 19 | | } |
| | | 20 | | |
| | | 21 | | public IReadOnlyList<MediaType> PlayableMediaTypes { get; set; } |
| | | 22 | | |
| | | 23 | | public IReadOnlyList<GeneralCommandType> SupportedCommands { get; set; } |
| | | 24 | | |
| | | 25 | | public bool SupportsMediaControl { get; set; } |
| | | 26 | | |
| | | 27 | | public bool SupportsPersistentIdentifier { get; set; } |
| | | 28 | | |
| | | 29 | | public DeviceProfile DeviceProfile { get; set; } |
| | | 30 | | |
| | | 31 | | public string AppStoreUrl { get; set; } |
| | | 32 | | |
| | | 33 | | public string IconUrl { get; set; } |
| | | 34 | | |
| | | 35 | | // TODO: Remove after 10.9 |
| | | 36 | | [Obsolete("Unused")] |
| | | 37 | | [DefaultValue(false)] |
| | 15 | 38 | | public bool? SupportsContentUploading { get; set; } = false; |
| | | 39 | | |
| | | 40 | | // TODO: Remove after 10.9 |
| | | 41 | | [Obsolete("Unused")] |
| | | 42 | | [DefaultValue(false)] |
| | 15 | 43 | | public bool? SupportsSync { get; set; } = false; |
| | | 44 | | } |
| | | 45 | | } |