mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-17 19:08:53 -07:00
20 lines
508 B
C#
20 lines
508 B
C#
#pragma warning disable CS1591
|
|
|
|
using System.IO;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using MediaBrowser.Controller.Entities;
|
|
using MediaBrowser.Model.Entities;
|
|
|
|
namespace MediaBrowser.Controller.MediaEncoding
|
|
{
|
|
public interface IAttachmentExtractor
|
|
{
|
|
Task<(MediaAttachment attachment, Stream stream)> GetAttachment(
|
|
BaseItem item,
|
|
string mediaSourceId,
|
|
int attachmentStreamIndex,
|
|
CancellationToken cancellationToken);
|
|
}
|
|
}
|