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/Persistence/IItemRepository.cs | |
| parent | 9dfafb9e9fcddb253b157fe03b085b7fceef4290 (diff) | |
| parent | 124a852787ff94201de452a952eb31376beafe12 (diff) | |
Merge branch 'master' into scanerrors
Diffstat (limited to 'MediaBrowser.Controller/Persistence/IItemRepository.cs')
| -rw-r--r-- | MediaBrowser.Controller/Persistence/IItemRepository.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Persistence/IItemRepository.cs b/MediaBrowser.Controller/Persistence/IItemRepository.cs index 47e0f3453..5a5b7f58f 100644 --- a/MediaBrowser.Controller/Persistence/IItemRepository.cs +++ b/MediaBrowser.Controller/Persistence/IItemRepository.cs @@ -79,6 +79,21 @@ namespace MediaBrowser.Controller.Persistence void SaveMediaStreams(Guid id, List<MediaStream> streams, CancellationToken cancellationToken); /// <summary> + /// Gets the media attachments. + /// </summary> + /// <param name="query">The query.</param> + /// <returns>IEnumerable{MediaAttachment}.</returns> + List<MediaAttachment> GetMediaAttachments(MediaAttachmentQuery query); + + /// <summary> + /// Saves the media attachments. + /// </summary> + /// <param name="id">The identifier.</param> + /// <param name="attachments">The attachments.</param> + /// <param name="cancellationToken">The cancellation token.</param> + void SaveMediaAttachments(Guid id, IReadOnlyList<MediaAttachment> attachments, CancellationToken cancellationToken); + + /// <summary> /// Gets the item ids. /// </summary> /// <param name="query">The query.</param> |
