2019-01-13 20:01:16 +00:00
|
|
|
using System;
|
2018-12-27 23:27:57 +00:00
|
|
|
using System.Threading;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Library
|
|
|
|
{
|
|
|
|
/// <summary>
|
2020-06-15 22:37:52 +00:00
|
|
|
/// An interface for tasks that run after the media library scan.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
public interface ILibraryPostScanTask
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Runs the specified progress.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="progress">The progress.</param>
|
|
|
|
/// <param name="cancellationToken">The cancellation token.</param>
|
|
|
|
/// <returns>Task.</returns>
|
|
|
|
Task Run(IProgress<double> progress, CancellationToken cancellationToken);
|
|
|
|
}
|
|
|
|
}
|