Skip to content

The Free Software Media System - Server Backend & API

905 B
Raw Blame
#nullable disable
#pragma warning disable CS1591

using System;
using System.Collections.Generic;
using Jellyfin.Data.Enums;
using MediaBrowser.Model.Dlna;

namespace MediaBrowser.Model.Session
{
    public class ClientCapabilities
    {
        public ClientCapabilities()
        {
            PlayableMediaTypes = Array.Empty<MediaType>();
            SupportedCommands = Array.Empty<GeneralCommandType>();
            SupportsPersistentIdentifier = true;
        }

        public IReadOnlyList<MediaType> PlayableMediaTypes { get; set; }

        public IReadOnlyList<GeneralCommandType> SupportedCommands { get; set; }

        public bool SupportsMediaControl { get; set; }

        public bool SupportsPersistentIdentifier { get; set; }

        public DeviceProfile DeviceProfile { get; set; }

        public string AppStoreUrl { get; set; }

        public string IconUrl { get; set; }
    }
}