2020-04-05 12:10:56 -04:00
|
|
|
#nullable disable
|
2020-02-03 19:49:27 -05:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 15:02:23 -05:00
|
|
|
using System;
|
2020-11-21 13:37:22 -05:00
|
|
|
using System.Collections.Generic;
|
2024-02-06 16:16:41 -05:00
|
|
|
using System.ComponentModel;
|
2023-05-13 14:44:31 -04:00
|
|
|
using Jellyfin.Data.Enums;
|
2019-01-13 14:26:15 -05:00
|
|
|
using MediaBrowser.Model.Dlna;
|
2018-12-27 18:27:57 -05:00
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Session
|
|
|
|
{
|
|
|
|
public class ClientCapabilities
|
|
|
|
{
|
2021-02-20 17:13:04 -05:00
|
|
|
public ClientCapabilities()
|
|
|
|
{
|
2023-05-13 14:44:31 -04:00
|
|
|
PlayableMediaTypes = Array.Empty<MediaType>();
|
2021-02-20 17:13:04 -05:00
|
|
|
SupportedCommands = Array.Empty<GeneralCommandType>();
|
|
|
|
SupportsPersistentIdentifier = true;
|
|
|
|
}
|
|
|
|
|
2023-05-13 14:44:31 -04:00
|
|
|
public IReadOnlyList<MediaType> PlayableMediaTypes { get; set; }
|
2018-12-27 18:27:57 -05:00
|
|
|
|
2020-11-21 13:37:22 -05:00
|
|
|
public IReadOnlyList<GeneralCommandType> SupportedCommands { get; set; }
|
2018-12-27 18:27:57 -05:00
|
|
|
|
|
|
|
public bool SupportsMediaControl { get; set; }
|
2020-06-15 17:43:52 -04:00
|
|
|
|
2018-12-27 18:27:57 -05:00
|
|
|
public bool SupportsPersistentIdentifier { get; set; }
|
2020-06-15 17:43:52 -04:00
|
|
|
|
2018-12-27 18:27:57 -05:00
|
|
|
public DeviceProfile DeviceProfile { get; set; }
|
|
|
|
|
|
|
|
public string AppStoreUrl { get; set; }
|
2020-06-15 17:43:52 -04:00
|
|
|
|
2018-12-27 18:27:57 -05:00
|
|
|
public string IconUrl { get; set; }
|
2024-02-06 16:16:41 -05:00
|
|
|
|
|
|
|
// TODO: Remove after 10.9
|
|
|
|
[Obsolete("Unused")]
|
|
|
|
[DefaultValue(false)]
|
|
|
|
public bool? SupportsContentUploading { get; set; }
|
|
|
|
|
|
|
|
// TODO: Remove after 10.9
|
|
|
|
[Obsolete("Unused")]
|
|
|
|
[DefaultValue(false)]
|
|
|
|
public bool? SupportsSync { get; set; }
|
2018-12-27 18:27:57 -05:00
|
|
|
}
|
2018-12-27 16:43:48 -05:00
|
|
|
}
|