mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-19 07:23:05 +03:00
29 lines
834 B
C#
29 lines
834 B
C#
|
|
#nullable disable
|
||
|
|
|
||
|
|
#pragma warning disable CS1591
|
||
|
|
|
||
|
|
using System;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using System.Threading;
|
||
|
|
using MediaBrowser.Model.Entities;
|
||
|
|
|
||
|
|
namespace MediaBrowser.Controller.Persistence;
|
||
|
|
|
||
|
|
public interface IMediaStreamManager
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// Gets the media streams.
|
||
|
|
/// </summary>
|
||
|
|
/// <param name="filter">The query.</param>
|
||
|
|
/// <returns>IEnumerable{MediaStream}.</returns>
|
||
|
|
List<MediaStream> GetMediaStreams(MediaStreamQuery filter);
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Saves the media streams.
|
||
|
|
/// </summary>
|
||
|
|
/// <param name="id">The identifier.</param>
|
||
|
|
/// <param name="streams">The streams.</param>
|
||
|
|
/// <param name="cancellationToken">The cancellation token.</param>
|
||
|
|
void SaveMediaStreams(Guid id, IReadOnlyList<MediaStream> streams, CancellationToken cancellationToken);
|
||
|
|
}
|