mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 15:48:03 +00:00
Some checks are pending
CodeQL / Analyze (csharp) (push) Waiting to run
OpenAPI / OpenAPI - HEAD (push) Waiting to run
OpenAPI / OpenAPI - BASE (push) Waiting to run
OpenAPI / OpenAPI - Difference (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Unstable Spec (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Stable Spec (push) Blocked by required conditions
Tests / run-tests (macos-latest) (push) Waiting to run
Tests / run-tests (ubuntu-latest) (push) Waiting to run
Tests / run-tests (windows-latest) (push) Waiting to run
Project Automation / Project board (push) Waiting to run
Merge Conflict Labeler / Labeling (push) Waiting to run
65 lines
1.7 KiB
C#
65 lines
1.7 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using MediaBrowser.Model.Entities;
|
|
|
|
namespace MediaBrowser.Model.Lyrics;
|
|
|
|
/// <summary>
|
|
/// Lyric search request.
|
|
/// </summary>
|
|
public class LyricSearchRequest : IHasProviderIds
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the media path.
|
|
/// </summary>
|
|
public string? MediaPath { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the album artist names.
|
|
/// </summary>
|
|
public IReadOnlyList<string>? AlbumArtistsNames { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the artist names.
|
|
/// </summary>
|
|
public IReadOnlyList<string>? ArtistNames { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the album name.
|
|
/// </summary>
|
|
public string? AlbumName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the song name.
|
|
/// </summary>
|
|
public string? SongName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the track duration in ticks.
|
|
/// </summary>
|
|
public long? Duration { get; set; }
|
|
|
|
/// <inheritdoc />
|
|
public Dictionary<string, string> ProviderIds { get; set; } = new(StringComparer.OrdinalIgnoreCase);
|
|
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether to search all providers.
|
|
/// </summary>
|
|
public bool SearchAllProviders { get; set; } = true;
|
|
|
|
/// <summary>
|
|
/// Gets or sets the list of disabled lyric fetcher names.
|
|
/// </summary>
|
|
public IReadOnlyList<string> DisabledLyricFetchers { get; set; } = [];
|
|
|
|
/// <summary>
|
|
/// Gets or sets the order of lyric fetchers.
|
|
/// </summary>
|
|
public IReadOnlyList<string> LyricFetcherOrder { get; set; } = [];
|
|
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether this request is automated.
|
|
/// </summary>
|
|
public bool IsAutomated { get; set; }
|
|
}
|