Files
jellyfin-jellyfin-1/MediaBrowser.Controller/Library/IIntroProvider.cs

30 lines
782 B
C#
Raw Normal View History

#nullable disable
using System.Collections.Generic;
2018-12-27 18:27:57 -05:00
using System.Threading.Tasks;
2025-03-25 16:45:00 +01:00
using Jellyfin.Database.Implementations.Entities;
using MediaBrowser.Controller.Entities;
2018-12-27 18:27:57 -05:00
namespace MediaBrowser.Controller.Library
{
/// <summary>
/// Class BaseIntroProvider.
2018-12-27 18:27:57 -05:00
/// </summary>
public interface IIntroProvider
{
/// <summary>
/// Gets the name.
/// </summary>
/// <value>The name.</value>
string Name { get; }
2018-12-27 18:27:57 -05:00
/// <summary>
/// Gets the intros.
/// </summary>
/// <param name="item">The item.</param>
/// <param name="user">The user.</param>
/// <returns>IEnumerable{System.String}.</returns>
2025-03-25 16:45:00 +01:00
Task<IEnumerable<IntroInfo>> GetIntros(BaseItem item, User user);
2018-12-27 18:27:57 -05:00
}
}