From 13f6da1bf43e592264afbf48f0c99015435b8c7e Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 18 Jun 2013 15:16:27 -0400 Subject: removed chapters from baseitem --- .../Persistence/IItemRepository.cs | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'MediaBrowser.Controller/Persistence/IItemRepository.cs') diff --git a/MediaBrowser.Controller/Persistence/IItemRepository.cs b/MediaBrowser.Controller/Persistence/IItemRepository.cs index d854d0e207..534e64a3f0 100644 --- a/MediaBrowser.Controller/Persistence/IItemRepository.cs +++ b/MediaBrowser.Controller/Persistence/IItemRepository.cs @@ -51,6 +51,30 @@ namespace MediaBrowser.Controller.Persistence /// The type. /// BaseItem. BaseItem RetrieveItem(Guid id, Type type); + + /// + /// Gets chapters for an item + /// + /// + /// + IEnumerable GetChapters(Guid id); + + /// + /// Gets a single chapter for an item + /// + /// + /// + /// + ChapterInfo GetChapter(Guid id, int index); + + /// + /// Saves the chapters. + /// + /// The id. + /// The chapters. + /// The cancellation token. + /// Task. + Task SaveChapters(Guid id, IEnumerable chapters, CancellationToken cancellationToken); } /// -- cgit v1.2.3