< Summary - Jellyfin

Information
Class: MediaBrowser.Model.Session.ClientCapabilities
Assembly: MediaBrowser.Model
File(s): /srv/git/jellyfin/MediaBrowser.Model/Session/ClientCapabilities.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 34
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Coverage history

Coverage history 0 25 50 75 100 11/7/2025 - 12:11:55 AM Line coverage: 100% (6/6) Total lines: 451/29/2026 - 12:13:32 AM Line coverage: 100% (4/4) Total lines: 34

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor()100%11100%

File(s)

/srv/git/jellyfin/MediaBrowser.Model/Session/ClientCapabilities.cs

#LineLine coverage
 1#nullable disable
 2#pragma warning disable CS1591
 3
 4using System;
 5using System.Collections.Generic;
 6using Jellyfin.Data.Enums;
 7using MediaBrowser.Model.Dlna;
 8
 9namespace MediaBrowser.Model.Session
 10{
 11    public class ClientCapabilities
 12    {
 13        public ClientCapabilities()
 14        {
 1515            PlayableMediaTypes = Array.Empty<MediaType>();
 1516            SupportedCommands = Array.Empty<GeneralCommandType>();
 1517            SupportsPersistentIdentifier = true;
 1518        }
 19
 20        public IReadOnlyList<MediaType> PlayableMediaTypes { get; set; }
 21
 22        public IReadOnlyList<GeneralCommandType> SupportedCommands { get; set; }
 23
 24        public bool SupportsMediaControl { get; set; }
 25
 26        public bool SupportsPersistentIdentifier { get; set; }
 27
 28        public DeviceProfile DeviceProfile { get; set; }
 29
 30        public string AppStoreUrl { get; set; }
 31
 32        public string IconUrl { get; set; }
 33    }
 34}

Methods/Properties

.ctor()