jellyfin/Emby.Naming/Video/ExtraRuleType.cs

29 lines
869 B
C#
Raw Normal View History

2018-09-12 13:26:21 -04:00
namespace Emby.Naming.Video
{
2020-11-10 11:11:48 -05:00
/// <summary>
/// Extra rules type to determine against what <see cref="ExtraRule.Token"/> should be matched.
/// </summary>
2018-09-12 13:26:21 -04:00
public enum ExtraRuleType
{
/// <summary>
/// Match <see cref="ExtraRule.Token"/> against a suffix in the file name.
2018-09-12 13:26:21 -04:00
/// </summary>
Suffix = 0,
2018-09-12 13:26:21 -04:00
/// <summary>
/// Match <see cref="ExtraRule.Token"/> against the file name, excluding the file extension.
2018-09-12 13:26:21 -04:00
/// </summary>
Filename = 1,
2018-09-12 13:26:21 -04:00
/// <summary>
/// Match <see cref="ExtraRule.Token"/> against the file name, including the file extension.
2018-09-12 13:26:21 -04:00
/// </summary>
Regex = 2,
/// <summary>
2020-04-01 13:04:00 -04:00
/// Match <see cref="ExtraRule.Token"/> against the name of the directory containing the file.
/// </summary>
2020-11-01 05:19:22 -05:00
DirectoryName = 3
2018-09-12 13:26:21 -04:00
}
}