2018-12-27 23:27:57 +00:00
|
|
|
namespace MediaBrowser.Controller.Library
|
|
|
|
{
|
2024-02-06 21:35:38 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Service responsible for monitoring library filesystems for changes.
|
|
|
|
/// </summary>
|
|
|
|
public interface ILibraryMonitor
|
2018-12-27 23:27:57 +00:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Starts this instance.
|
|
|
|
/// </summary>
|
|
|
|
void Start();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Stops this instance.
|
|
|
|
/// </summary>
|
|
|
|
void Stop();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Reports the file system change beginning.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="path">The path.</param>
|
|
|
|
void ReportFileSystemChangeBeginning(string path);
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Reports the file system change complete.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="path">The path.</param>
|
|
|
|
/// <param name="refreshPath">if set to <c>true</c> [refresh path].</param>
|
|
|
|
void ReportFileSystemChangeComplete(string path, bool refreshPath);
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Reports the file system changed.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="path">The path.</param>
|
|
|
|
void ReportFileSystemChanged(string path);
|
|
|
|
}
|
2019-01-13 19:30:58 +00:00
|
|
|
}
|