diff options
| author | Bond-009 <bond.009@outlook.com> | 2020-01-08 18:10:17 +0100 |
|---|---|---|
| committer | Bond-009 <bond.009@outlook.com> | 2020-01-08 18:10:17 +0100 |
| commit | c3752b1a3080f6f54c77a436c7d0b309792b8872 (patch) | |
| tree | c762d033f487407f483b03e2f16ac7bec44ad22c /MediaBrowser.Controller/MediaEncoding/IAttachmentExtractor.cs | |
| parent | 9dfafb9e9fcddb253b157fe03b085b7fceef4290 (diff) | |
| parent | 124a852787ff94201de452a952eb31376beafe12 (diff) | |
Merge branch 'master' into scanerrors
Diffstat (limited to 'MediaBrowser.Controller/MediaEncoding/IAttachmentExtractor.cs')
| -rw-r--r-- | MediaBrowser.Controller/MediaEncoding/IAttachmentExtractor.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/MediaEncoding/IAttachmentExtractor.cs b/MediaBrowser.Controller/MediaEncoding/IAttachmentExtractor.cs new file mode 100644 index 000000000..7c7e84de6 --- /dev/null +++ b/MediaBrowser.Controller/MediaEncoding/IAttachmentExtractor.cs @@ -0,0 +1,17 @@ +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); + } +} |
