20 lines
667 B
C#
20 lines
667 B
C#
|
using MediaBrowser.Controller.Entities;
|
|||
|
using MediaBrowser.Model.Dto;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Threading;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace MediaBrowser.Controller.Library
|
|||
|
{
|
|||
|
public interface IMediaSourceProvider
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Gets the media sources.
|
|||
|
/// </summary>
|
|||
|
/// <param name="item">The item.</param>
|
|||
|
/// <param name="cancellationToken">The cancellation token.</param>
|
|||
|
/// <returns>Task<IEnumerable<MediaSourceInfo>>.</returns>
|
|||
|
Task<IEnumerable<MediaSourceInfo>> GetMediaSources(IHasMediaSources item, CancellationToken cancellationToken);
|
|||
|
}
|
|||
|
}
|