2022-09-15 20:49:25 -04:00
|
|
|
using MediaBrowser.Controller.Entities;
|
|
|
|
|
2022-09-17 17:37:38 -04:00
|
|
|
namespace MediaBrowser.Controller.Lyrics;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Interface ILyricManager.
|
|
|
|
/// </summary>
|
|
|
|
public interface ILyricManager
|
2022-09-15 20:49:25 -04:00
|
|
|
{
|
2022-09-17 17:37:38 -04:00
|
|
|
/// <summary>
|
|
|
|
/// Gets the lyrics.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="item">The media item.</param>
|
|
|
|
/// <returns>Lyrics for passed item.</returns>
|
|
|
|
LyricResponse GetLyrics(BaseItem item);
|
2022-09-15 20:49:25 -04:00
|
|
|
|
2022-09-17 17:37:38 -04:00
|
|
|
/// <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 lyric file; otherwise false.</returns>
|
|
|
|
bool HasLyricFile(BaseItem item);
|
2022-09-15 20:49:25 -04:00
|
|
|
}
|