2020-04-05 18:10:56 +02:00
|
|
|
#nullable disable
|
2020-02-04 01:49:27 +01:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 21:02:23 +01:00
|
|
|
using System;
|
2020-11-21 19:37:22 +01:00
|
|
|
using System.Collections.Generic;
|
2023-05-13 20:44:31 +02:00
|
|
|
using Jellyfin.Data.Enums;
|
2019-01-13 20:26:15 +01:00
|
|
|
using MediaBrowser.Model.Dlna;
|
2018-12-28 00:27:57 +01:00
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Session
|
|
|
|
{
|
|
|
|
public class ClientCapabilities
|
|
|
|
{
|
2021-02-20 23:13:04 +01:00
|
|
|
public ClientCapabilities()
|
|
|
|
{
|
2023-05-13 20:44:31 +02:00
|
|
|
PlayableMediaTypes = Array.Empty<MediaType>();
|
2021-02-20 23:13:04 +01:00
|
|
|
SupportedCommands = Array.Empty<GeneralCommandType>();
|
|
|
|
SupportsPersistentIdentifier = true;
|
|
|
|
}
|
|
|
|
|
2023-05-13 20:44:31 +02:00
|
|
|
public IReadOnlyList<MediaType> PlayableMediaTypes { get; set; }
|
2018-12-28 00:27:57 +01:00
|
|
|
|
2020-11-21 19:37:22 +01:00
|
|
|
public IReadOnlyList<GeneralCommandType> SupportedCommands { get; set; }
|
2018-12-28 00:27:57 +01:00
|
|
|
|
|
|
|
public bool SupportsMediaControl { get; set; }
|
2020-06-15 23:43:52 +02:00
|
|
|
|
2018-12-28 00:27:57 +01:00
|
|
|
public bool SupportsContentUploading { get; set; }
|
2020-06-15 23:43:52 +02:00
|
|
|
|
2018-12-28 00:27:57 +01:00
|
|
|
public string MessageCallbackUrl { get; set; }
|
|
|
|
|
|
|
|
public bool SupportsPersistentIdentifier { get; set; }
|
2020-06-15 23:43:52 +02:00
|
|
|
|
2018-12-28 00:27:57 +01:00
|
|
|
public bool SupportsSync { get; set; }
|
|
|
|
|
|
|
|
public DeviceProfile DeviceProfile { get; set; }
|
|
|
|
|
|
|
|
public string AppStoreUrl { get; set; }
|
2020-06-15 23:43:52 +02:00
|
|
|
|
2018-12-28 00:27:57 +01:00
|
|
|
public string IconUrl { get; set; }
|
|
|
|
}
|
2018-12-27 22:43:48 +01:00
|
|
|
}
|