From f3a7307ebb9a1a484a82563c4cfab6bf461c7631 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 20 May 2013 23:16:43 -0400 Subject: reduce requests against tvdb by getting entire series metadata at once --- .../Library/ILibraryPrescanTask.cs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 MediaBrowser.Controller/Library/ILibraryPrescanTask.cs (limited to 'MediaBrowser.Controller/Library/ILibraryPrescanTask.cs') diff --git a/MediaBrowser.Controller/Library/ILibraryPrescanTask.cs b/MediaBrowser.Controller/Library/ILibraryPrescanTask.cs new file mode 100644 index 000000000..6a48ba777 --- /dev/null +++ b/MediaBrowser.Controller/Library/ILibraryPrescanTask.cs @@ -0,0 +1,20 @@ +using System; +using System.Threading; +using System.Threading.Tasks; + +namespace MediaBrowser.Controller.Library +{ + /// + /// An interface for tasks that run prior to the media library scan + /// + public interface ILibraryPrescanTask + { + /// + /// Runs the specified progress. + /// + /// The progress. + /// The cancellation token. + /// Task. + Task Run(IProgress progress, CancellationToken cancellationToken); + } +} -- cgit v1.2.3