diff options
| author | 1hitsong <3330318+1hitsong@users.noreply.github.com> | 2022-09-15 20:49:25 -0400 |
|---|---|---|
| committer | 1hitsong <3330318+1hitsong@users.noreply.github.com> | 2022-09-15 20:49:25 -0400 |
| commit | f4fd908f8d7ffcdea6acaf75928f6c2960ed6338 (patch) | |
| tree | 25d932b8f5734491380b5305ae2f7810e3c5a165 /MediaBrowser.Controller/Lyrics/ILyricProvider.cs | |
| parent | d9be3874ba3842d5888c5cbbe583614ed990849e (diff) | |
Create ILyricManager
Diffstat (limited to 'MediaBrowser.Controller/Lyrics/ILyricProvider.cs')
| -rw-r--r-- | MediaBrowser.Controller/Lyrics/ILyricProvider.cs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Lyrics/ILyricProvider.cs b/MediaBrowser.Controller/Lyrics/ILyricProvider.cs new file mode 100644 index 0000000000..691fed1fd2 --- /dev/null +++ b/MediaBrowser.Controller/Lyrics/ILyricProvider.cs @@ -0,0 +1,29 @@ +using System.Collections.Generic; +using MediaBrowser.Controller.Entities; + +namespace MediaBrowser.Controller.Lyrics +{ + /// <summary> + /// Interface ILyricsProvider. + /// </summary> + public interface ILyricProvider + { + /// <summary> + /// Gets a value indicating the provider name. + /// </summary> + string Name { get; } + + /// <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> + /// <param name="item">The item to to process.</param> + /// <returns>Task{LyricResponse}.</returns> + LyricResponse? GetLyrics(BaseItem item); + } +} |
