2022-09-15 23:45:26 +00:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using MediaBrowser.Controller.Entities;
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Lyrics
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Interface ILyricsProvider.
|
|
|
|
/// </summary>
|
2022-09-16 00:49:25 +00:00
|
|
|
public interface ILyricProvider
|
2022-09-15 23:45:26 +00:00
|
|
|
{
|
2022-09-16 00:49:25 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets a value indicating the provider name.
|
|
|
|
/// </summary>
|
|
|
|
string Name { get; }
|
|
|
|
|
2022-09-15 23:45:26 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets the supported media types for this provider.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The supported media types.</value>
|
|
|
|
IEnumerable<string> SupportedMediaTypes { get; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the lyrics.
|
|
|
|
/// </summary>
|
2022-09-17 00:52:40 +00:00
|
|
|
/// <param name="item">The media item.</param>
|
|
|
|
/// <returns>If found, returns lyrics for passed item; otherwise, null.</returns>
|
2022-09-15 23:45:26 +00:00
|
|
|
LyricResponse? GetLyrics(BaseItem item);
|
|
|
|
}
|
|
|
|
}
|