diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2020-01-08 11:04:21 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-08 11:04:21 +0900 |
| commit | 423d50e9785e6c97b566059abcb51e7d6e3d99f0 (patch) | |
| tree | 7d671066170ba6632dc38aa11cfe98ae5514dcb1 /MediaBrowser.Controller/Persistence/IItemRepository.cs | |
| parent | 534716d9c90fd0691dcbe3ec5a3fdf8ac265cbb1 (diff) | |
| parent | 73fac50e57982ac46aea2b487e9906826c3dc3b2 (diff) | |
Merge pull request #1838 from Unhelpful/media-attachments
Add support for embedded attachments in media files
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> |
