IResolverIgnoreRule.cs 673 B

12345678910111213141516171819
  1. using MediaBrowser.Controller.Entities;
  2. using MediaBrowser.Model.IO;
  3. namespace MediaBrowser.Controller.Resolvers
  4. {
  5. /// <summary>
  6. /// Provides a base "rule" that anyone can use to have paths ignored by the resolver.
  7. /// </summary>
  8. public interface IResolverIgnoreRule
  9. {
  10. /// <summary>
  11. /// Checks whether or not the file should be ignored.
  12. /// </summary>
  13. /// <param name="fileInfo">The file information.</param>
  14. /// <param name="parent">The parent BaseItem.</param>
  15. /// <returns>True if the file should be ignored.</returns>
  16. bool ShouldIgnore(FileSystemMetadata fileInfo, BaseItem? parent);
  17. }
  18. }