2021-05-06 18:39:20 -04:00
|
|
|
#nullable disable
|
|
|
|
|
2019-01-13 15:01:16 -05:00
|
|
|
using System.Collections.Generic;
|
2018-12-27 18:27:57 -05:00
|
|
|
using System.Threading.Tasks;
|
2019-01-13 14:25:32 -05:00
|
|
|
using MediaBrowser.Controller.Entities;
|
2018-12-27 18:27:57 -05:00
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Library
|
|
|
|
{
|
|
|
|
/// <summary>
|
2020-06-15 18:37:52 -04:00
|
|
|
/// Class BaseIntroProvider.
|
2018-12-27 18:27:57 -05:00
|
|
|
/// </summary>
|
|
|
|
public interface IIntroProvider
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the intros.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="item">The item.</param>
|
|
|
|
/// <param name="user">The user.</param>
|
|
|
|
/// <returns>IEnumerable{System.String}.</returns>
|
2020-05-12 22:10:35 -04:00
|
|
|
Task<IEnumerable<IntroInfo>> GetIntros(BaseItem item, Jellyfin.Data.Entities.User user);
|
2018-12-27 18:27:57 -05:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets all intro files.
|
|
|
|
/// </summary>
|
|
|
|
/// <returns>IEnumerable{System.String}.</returns>
|
|
|
|
IEnumerable<string> GetAllIntroFiles();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the name.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The name.</value>
|
|
|
|
string Name { get; }
|
|
|
|
}
|
|
|
|
}
|