mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 09:59:06 -07:00
18 lines
499 B
C#
18 lines
499 B
C#
|
using System.IO;
|
||
|
using System.Threading;
|
||
|
using System.Threading.Tasks;
|
||
|
using MediaBrowser.Controller.Entities;
|
||
|
using MediaBrowser.Model.MediaInfo;
|
||
|
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);
|
||
|
}
|
||
|
}
|