aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Lyrics/ILyricProvider.cs
blob: 691fed1fd21dbacf9f8f68b70153d064e09317e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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);
    }
}