diff --git a/Emby.Server.Implementations/Library/MediaSourceManager.cs b/Emby.Server.Implementations/Library/MediaSourceManager.cs
index df6f0e77f6..9574a28e9e 100644
--- a/Emby.Server.Implementations/Library/MediaSourceManager.cs
+++ b/Emby.Server.Implementations/Library/MediaSourceManager.cs
@@ -143,6 +143,7 @@ namespace Emby.Server.Implementations.Library
});
}
+ ///
public List GetMediaAttachments(Guid itemId)
{
return GetMediaAttachments(new MediaAttachmentQuery
diff --git a/MediaBrowser.Controller/Library/IMediaSourceManager.cs b/MediaBrowser.Controller/Library/IMediaSourceManager.cs
index 961028b046..dda8d397a1 100644
--- a/MediaBrowser.Controller/Library/IMediaSourceManager.cs
+++ b/MediaBrowser.Controller/Library/IMediaSourceManager.cs
@@ -44,11 +44,13 @@ namespace MediaBrowser.Controller.Library
/// The item identifier.
/// IEnumerable<MediaAttachment>.
List GetMediaAttachments(Guid itemId);
+
///
/// Gets the media attachments.
///
/// The The media source identifier.
/// IEnumerable<MediaAttachment>.
+
List GetMediaAttachments(string mediaSourceId);
///
/// Gets the media attachments.
diff --git a/MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs b/MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
index d18463cb5a..f5f5d213f9 100644
--- a/MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
+++ b/MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
@@ -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;