You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
476 B
18 lines
476 B
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);
|
|
}
|
|
}
|