From 2a44efaa42e17bbaea591fc602a93972d1cb9303 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 13 Oct 2013 13:52:57 -0400 Subject: fixes #585 - Use tmdb updates api for people --- MediaBrowser.Controller/Library/ILibraryManager.cs | 2 ++ .../Library/IPeoplePrescanTask.cs | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 MediaBrowser.Controller/Library/IPeoplePrescanTask.cs (limited to 'MediaBrowser.Controller/Library') diff --git a/MediaBrowser.Controller/Library/ILibraryManager.cs b/MediaBrowser.Controller/Library/ILibraryManager.cs index f930385d3..059c427bb 100644 --- a/MediaBrowser.Controller/Library/ILibraryManager.cs +++ b/MediaBrowser.Controller/Library/ILibraryManager.cs @@ -166,6 +166,7 @@ namespace MediaBrowser.Controller.Library /// The item comparers. /// The prescan tasks. /// The postscan tasks. + /// The people prescan tasks. /// The savers. void AddParts(IEnumerable rules, IEnumerable pluginFolders, @@ -174,6 +175,7 @@ namespace MediaBrowser.Controller.Library IEnumerable itemComparers, IEnumerable prescanTasks, IEnumerable postscanTasks, + IEnumerable peoplePrescanTasks, IEnumerable savers); /// diff --git a/MediaBrowser.Controller/Library/IPeoplePrescanTask.cs b/MediaBrowser.Controller/Library/IPeoplePrescanTask.cs new file mode 100644 index 000000000..04d179bae --- /dev/null +++ b/MediaBrowser.Controller/Library/IPeoplePrescanTask.cs @@ -0,0 +1,20 @@ +using System; +using System.Threading; +using System.Threading.Tasks; + +namespace MediaBrowser.Controller.Library +{ + /// + /// Interface IPeoplePrescanTask + /// + public interface IPeoplePrescanTask + { + /// + /// Runs the specified progress. + /// + /// The progress. + /// The cancellation token. + /// Task. + Task Run(IProgress progress, CancellationToken cancellationToken); + } +} -- cgit v1.2.3