aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Chapters/IChapterManager.cs
diff options
context:
space:
mode:
authorhatharry <hatharry@hotmail.com>2016-10-11 17:10:00 +1300
committerGitHub <noreply@github.com>2016-10-11 17:10:00 +1300
commit9b0ac4bde5beb74703a258d582f477c6411ec6ec (patch)
treea59864414d58bd01c86085a36355fc553dd43736 /MediaBrowser.Controller/Chapters/IChapterManager.cs
parent71386f0ceb15ce0bac2e588f90781a4bd274fe68 (diff)
parentcb26cb94579b772fa7825c6769dc7ace38217168 (diff)
Merge pull request #28 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Controller/Chapters/IChapterManager.cs')
-rw-r--r--MediaBrowser.Controller/Chapters/IChapterManager.cs47
1 files changed, 1 insertions, 46 deletions
diff --git a/MediaBrowser.Controller/Chapters/IChapterManager.cs b/MediaBrowser.Controller/Chapters/IChapterManager.cs
index 27e06fb8d..4b39e66cc 100644
--- a/MediaBrowser.Controller/Chapters/IChapterManager.cs
+++ b/MediaBrowser.Controller/Chapters/IChapterManager.cs
@@ -1,6 +1,4 @@
-using MediaBrowser.Controller.Entities;
-using MediaBrowser.Model.Chapters;
-using System.Collections.Generic;
+using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using MediaBrowser.Model.Configuration;
@@ -14,12 +12,6 @@ namespace MediaBrowser.Controller.Chapters
public interface IChapterManager
{
/// <summary>
- /// Adds the parts.
- /// </summary>
- /// <param name="chapterProviders">The chapter providers.</param>
- void AddParts(IEnumerable<IChapterProvider> chapterProviders);
-
- /// <summary>
/// Gets the chapters.
/// </summary>
/// <param name="itemId">The item identifier.</param>
@@ -36,43 +28,6 @@ namespace MediaBrowser.Controller.Chapters
Task SaveChapters(string itemId, List<ChapterInfo> chapters, CancellationToken cancellationToken);
/// <summary>
- /// Searches the specified video.
- /// </summary>
- /// <param name="video">The video.</param>
- /// <param name="cancellationToken">The cancellation token.</param>
- /// <returns>Task{IEnumerable{RemoteChapterResult}}.</returns>
- Task<IEnumerable<RemoteChapterResult>> Search(Video video, CancellationToken cancellationToken);
-
- /// <summary>
- /// Searches the specified request.
- /// </summary>
- /// <param name="request">The request.</param>
- /// <param name="cancellationToken">The cancellation token.</param>
- /// <returns>Task{IEnumerable{RemoteChapterResult}}.</returns>
- Task<IEnumerable<RemoteChapterResult>> Search(ChapterSearchRequest request, CancellationToken cancellationToken);
-
- /// <summary>
- /// Gets the chapters.
- /// </summary>
- /// <param name="id">The identifier.</param>
- /// <param name="cancellationToken">The cancellation token.</param>
- /// <returns>Task{ChapterResponse}.</returns>
- Task<ChapterResponse> GetChapters(string id, CancellationToken cancellationToken);
-
- /// <summary>
- /// Gets the providers.
- /// </summary>
- /// <param name="itemId">The item identifier.</param>
- /// <returns>IEnumerable{ChapterProviderInfo}.</returns>
- IEnumerable<ChapterProviderInfo> GetProviders(string itemId);
-
- /// <summary>
- /// Gets the providers.
- /// </summary>
- /// <returns>IEnumerable{ChapterProviderInfo}.</returns>
- IEnumerable<ChapterProviderInfo> GetProviders();
-
- /// <summary>
/// Gets the configuration.
/// </summary>
/// <returns>ChapterOptions.</returns>