mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-03 19:17:24 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			527 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			527 B
		
	
	
	
		
			C#
		
	
	
	
	
	
#nullable disable
 | 
						|
 | 
						|
#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);
 | 
						|
    }
 | 
						|
}
 |