You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.1 KiB
38 lines
1.1 KiB
2 years ago
|
#nullable disable
|
||
|
|
||
|
#pragma warning disable CS1591
|
||
|
|
||
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Threading;
|
||
|
using System.Threading.Tasks;
|
||
|
using MediaBrowser.Controller.Entities;
|
||
|
using MediaBrowser.Model.Configuration;
|
||
|
using MediaBrowser.Model.Providers;
|
||
|
|
||
|
namespace MediaBrowser.Controller.Lyrics
|
||
|
{
|
||
|
public interface ILyricManager
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Adds the parts.
|
||
|
/// </summary>
|
||
|
/// <param name="lyricProviders">The lyric providers.</param>
|
||
|
void AddParts(IEnumerable<ILyricProvider> lyricProviders);
|
||
|
|
||
|
/// <summary>
|
||
|
/// Gets the lyrics.
|
||
|
/// </summary>
|
||
|
/// <param name="item">The media item.</param>
|
||
|
/// <returns>Lyrics for passed item.</returns>
|
||
|
LyricResponse GetLyric(BaseItem item);
|
||
|
|
||
|
/// <summary>
|
||
|
/// Checks if requested item has a matching local lyric file.
|
||
|
/// </summary>
|
||
|
/// <param name="item">The media item.</param>
|
||
|
/// <returns>True if item has a matching lyrics file; otherwise false.</returns>
|
||
|
bool HasLyricFile(BaseItem item);
|
||
|
}
|
||
|
}
|