using System.Threading.Tasks;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Resolvers;
namespace MediaBrowser.Providers.Lyric;
///
/// Interface ILyricsProvider.
///
public interface ILyricProvider
{
///
/// Gets a value indicating the provider name.
///
string Name { get; }
///
/// Gets the priority.
///
/// The priority.
ResolverPriority Priority { get; }
///
/// Checks if an item has lyrics available.
///
/// The media item.
/// Whether lyrics where found or not.
bool HasLyrics(BaseItem item);
///
/// Gets the lyrics.
///
/// The media item.
/// A task representing found lyrics.
Task GetLyrics(BaseItem item);
}