IExternalUrlProvider.cs 602 B

12345678910111213141516171819202122
  1. using System.Collections.Generic;
  2. using MediaBrowser.Controller.Entities;
  3. namespace MediaBrowser.Controller.Providers;
  4. /// <summary>
  5. /// Interface to include related urls for an item.
  6. /// </summary>
  7. public interface IExternalUrlProvider
  8. {
  9. /// <summary>
  10. /// Gets the external service name.
  11. /// </summary>
  12. string Name { get; }
  13. /// <summary>
  14. /// Get the list of external urls.
  15. /// </summary>
  16. /// <param name="item">The item to get external urls for.</param>
  17. /// <returns>The list of external urls.</returns>
  18. IEnumerable<string> GetExternalUrls(BaseItem item);
  19. }