< Summary - Jellyfin

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

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using MediaBrowser.Model.Entities;
 4
 5namespace MediaBrowser.Model.Lyrics;
 6
 7/// <summary>
 8/// Lyric search request.
 9/// </summary>
 10public class LyricSearchRequest : IHasProviderIds
 11{
 12    /// <summary>
 13    /// Gets or sets the media path.
 14    /// </summary>
 15    public string? MediaPath { get; set; }
 16
 17    /// <summary>
 18    /// Gets or sets the artist name.
 19    /// </summary>
 20    public IReadOnlyList<string>? ArtistNames { get; set; }
 21
 22    /// <summary>
 23    /// Gets or sets the album name.
 24    /// </summary>
 25    public string? AlbumName { get; set; }
 26
 27    /// <summary>
 28    /// Gets or sets the song name.
 29    /// </summary>
 30    public string? SongName { get; set; }
 31
 32    /// <summary>
 33    /// Gets or sets the track duration in ticks.
 34    /// </summary>
 35    public long? Duration { get; set; }
 36
 37    /// <inheritdoc />
 038    public Dictionary<string, string> ProviderIds { get; set; } = new(StringComparer.OrdinalIgnoreCase);
 39
 40    /// <summary>
 41    /// Gets or sets a value indicating whether to search all providers.
 42    /// </summary>
 43    public bool SearchAllProviders { get; set; } = true;
 44
 45    /// <summary>
 46    /// Gets or sets the list of disabled lyric fetcher names.
 47    /// </summary>
 48    public IReadOnlyList<string> DisabledLyricFetchers { get; set; } = [];
 49
 50    /// <summary>
 51    /// Gets or sets the order of lyric fetchers.
 52    /// </summary>
 53    public IReadOnlyList<string> LyricFetcherOrder { get; set; } = [];
 54
 55    /// <summary>
 56    /// Gets or sets a value indicating whether this request is automated.
 57    /// </summary>
 58    public bool IsAutomated { get; set; }
 59}

Methods/Properties

.ctor()