2015-02-07 22:03:09 +01:00
|
|
|
|
using MediaBrowser.Controller.Persistence;
|
|
|
|
|
using MediaBrowser.Model.Entities;
|
2015-03-03 08:03:17 +01:00
|
|
|
|
using System;
|
2015-02-07 22:03:09 +01:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Library
|
|
|
|
|
{
|
|
|
|
|
public interface IMediaSourceManager
|
|
|
|
|
{
|
2015-03-03 08:03:17 +01:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the media streams.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="itemId">The item identifier.</param>
|
|
|
|
|
/// <returns>IEnumerable<MediaStream>.</returns>
|
|
|
|
|
IEnumerable<MediaStream> GetMediaStreams(Guid itemId);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the media streams.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="mediaSourceId">The media source identifier.</param>
|
|
|
|
|
/// <returns>IEnumerable<MediaStream>.</returns>
|
|
|
|
|
IEnumerable<MediaStream> GetMediaStreams(string mediaSourceId);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the media streams.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="query">The query.</param>
|
|
|
|
|
/// <returns>IEnumerable<MediaStream>.</returns>
|
2015-02-07 22:03:09 +01:00
|
|
|
|
IEnumerable<MediaStream> GetMediaStreams(MediaStreamQuery query);
|
|
|
|
|
}
|
|
|
|
|
}
|