IIntroProvider.cs 782 B

1234567891011121314151617181920212223242526272829
  1. #nullable disable
  2. using System.Collections.Generic;
  3. using System.Threading.Tasks;
  4. using Jellyfin.Database.Implementations.Entities;
  5. using MediaBrowser.Controller.Entities;
  6. namespace MediaBrowser.Controller.Library
  7. {
  8. /// <summary>
  9. /// Class BaseIntroProvider.
  10. /// </summary>
  11. public interface IIntroProvider
  12. {
  13. /// <summary>
  14. /// Gets the name.
  15. /// </summary>
  16. /// <value>The name.</value>
  17. string Name { get; }
  18. /// <summary>
  19. /// Gets the intros.
  20. /// </summary>
  21. /// <param name="item">The item.</param>
  22. /// <param name="user">The user.</param>
  23. /// <returns>IEnumerable{System.String}.</returns>
  24. Task<IEnumerable<IntroInfo>> GetIntros(BaseItem item, User user);
  25. }
  26. }