Merge branch 'media-attachments' of github.com:Unhelpful/jellyfin into media-attachments

This commit is contained in:
Andrew Mahone
2019-11-07 11:58:13 -05:00
3 changed files with 4 additions and 1 deletions

View File

@@ -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;