aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Lyrics/ILyricProvider.cs
diff options
context:
space:
mode:
authorNiels van Velzen <git@ndat.nl>2023-06-20 16:51:07 +0200
committerNiels van Velzen <git@ndat.nl>2023-06-23 21:13:20 +0200
commit6de56f05186b77042a611112d82208b8fa8675fb (patch)
treefc240188be55246860d6b091cccbb4a81813fd66 /MediaBrowser.Controller/Lyrics/ILyricProvider.cs
parenta1eb2f6ea8cd78d527f1ae395378419f016208ab (diff)
Add support for lyric provider plugins
Diffstat (limited to 'MediaBrowser.Controller/Lyrics/ILyricProvider.cs')
-rw-r--r--MediaBrowser.Controller/Lyrics/ILyricProvider.cs36
1 files changed, 0 insertions, 36 deletions
diff --git a/MediaBrowser.Controller/Lyrics/ILyricProvider.cs b/MediaBrowser.Controller/Lyrics/ILyricProvider.cs
deleted file mode 100644
index 2a04c6152..000000000
--- a/MediaBrowser.Controller/Lyrics/ILyricProvider.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using System.Collections.Generic;
-using System.Threading.Tasks;
-using MediaBrowser.Controller.Entities;
-using MediaBrowser.Controller.Resolvers;
-
-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 priority.
- /// </summary>
- /// <value>The priority.</value>
- ResolverPriority Priority { get; }
-
- /// <summary>
- /// Gets the supported media types for this provider.
- /// </summary>
- /// <value>The supported media types.</value>
- IReadOnlyCollection<string> SupportedMediaTypes { get; }
-
- /// <summary>
- /// Gets the lyrics.
- /// </summary>
- /// <param name="item">The media item.</param>
- /// <returns>A task representing found lyrics.</returns>
- Task<LyricResponse?> GetLyrics(BaseItem item);
-}