#pragma warning disable CS1591
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Model.Dto;
namespace MediaBrowser.Controller.Library
{
public interface IMediaSourceProvider
{
///
/// Gets the media sources.
///
/// The item.
/// The cancellation token.
/// Task<IEnumerable<MediaSourceInfo>>.
Task> GetMediaSources(BaseItem item, CancellationToken cancellationToken);
///
/// Opens the media source.
///
Task OpenMediaSource(string openToken, List currentLiveStreams, CancellationToken cancellationToken);
}
}