< Summary - Jellyfin

Information
Class: MediaBrowser.Model.MediaInfo.PlaybackInfoResponse
Assembly: MediaBrowser.Model
File(s): /srv/git/jellyfin/MediaBrowser.Model/MediaInfo/PlaybackInfoResponse.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
Total lines: 39
Line coverage: 0%
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

Metrics

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

File(s)

/srv/git/jellyfin/MediaBrowser.Model/MediaInfo/PlaybackInfoResponse.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using MediaBrowser.Model.Dlna;
 4using MediaBrowser.Model.Dto;
 5
 6namespace MediaBrowser.Model.MediaInfo
 7{
 8    /// <summary>
 9    /// Class PlaybackInfoResponse.
 10    /// </summary>
 11    public class PlaybackInfoResponse
 12    {
 13        /// <summary>
 14        /// Initializes a new instance of the <see cref="PlaybackInfoResponse" /> class.
 15        /// </summary>
 16        public PlaybackInfoResponse()
 17        {
 018            MediaSources = Array.Empty<MediaSourceInfo>();
 019        }
 20
 21        /// <summary>
 22        /// Gets or sets the media sources.
 23        /// </summary>
 24        /// <value>The media sources.</value>
 25        public IReadOnlyList<MediaSourceInfo> MediaSources { get; set; }
 26
 27        /// <summary>
 28        /// Gets or sets the play session identifier.
 29        /// </summary>
 30        /// <value>The play session identifier.</value>
 31        public string? PlaySessionId { get; set; }
 32
 33        /// <summary>
 34        /// Gets or sets the error code.
 35        /// </summary>
 36        /// <value>The error code.</value>
 37        public PlaybackErrorCode? ErrorCode { get; set; }
 38    }
 39}

Methods/Properties

.ctor()