ExtraRuleType.cs 869 B

12345678910111213141516171819202122232425262728
  1. namespace Emby.Naming.Video
  2. {
  3. /// <summary>
  4. /// Extra rules type to determine against what <see cref="ExtraRule.Token"/> should be matched.
  5. /// </summary>
  6. public enum ExtraRuleType
  7. {
  8. /// <summary>
  9. /// Match <see cref="ExtraRule.Token"/> against a suffix in the file name.
  10. /// </summary>
  11. Suffix = 0,
  12. /// <summary>
  13. /// Match <see cref="ExtraRule.Token"/> against the file name, excluding the file extension.
  14. /// </summary>
  15. Filename = 1,
  16. /// <summary>
  17. /// Match <see cref="ExtraRule.Token"/> against the file name, including the file extension.
  18. /// </summary>
  19. Regex = 2,
  20. /// <summary>
  21. /// Match <see cref="ExtraRule.Token"/> against the name of the directory containing the file.
  22. /// </summary>
  23. DirectoryName = 3
  24. }
  25. }