mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-24 02:02:29 -04:00
Update MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
formatting Co-Authored-By: Bond-009 <bond.009@outlook.com>
This commit is contained in:
parent
743685110c
commit
2f728fd2a1
@ -89,7 +89,7 @@ namespace MediaBrowser.MediaEncoding.Attachments
|
||||
MediaAttachment mediaAttachment,
|
||||
CancellationToken cancellationToken)
|
||||
{
|
||||
var inputFiles = new[] {mediaSource.Path};
|
||||
var inputFiles = new[] { mediaSource.Path };
|
||||
var attachmentPath = await GetReadableFile(mediaSource.Path, inputFiles, mediaSource.Protocol, mediaAttachment, cancellationToken).ConfigureAwait(false);
|
||||
var stream = await GetAttachmentStream(attachmentPath, cancellationToken).ConfigureAwait(false);
|
||||
return stream;
|
||||
|
Loading…
x
Reference in New Issue
Block a user