2019-12-13 19:11:37 +00:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2018-09-12 17:26:21 +00:00
|
|
|
namespace Emby.Naming.Video
|
|
|
|
{
|
|
|
|
public enum ExtraRuleType
|
|
|
|
{
|
|
|
|
/// <summary>
|
2020-04-01 16:53:19 +00:00
|
|
|
/// Match <see cref="ExtraRule.Token"/> against a suffix in the file name.
|
2018-09-12 17:26:21 +00:00
|
|
|
/// </summary>
|
|
|
|
Suffix = 0,
|
2019-12-13 19:11:37 +00:00
|
|
|
|
2018-09-12 17:26:21 +00:00
|
|
|
/// <summary>
|
2020-04-05 13:47:20 +00:00
|
|
|
/// Match <see cref="ExtraRule.Token"/> against the file name, excluding the file extension.
|
2018-09-12 17:26:21 +00:00
|
|
|
/// </summary>
|
|
|
|
Filename = 1,
|
2019-12-13 19:11:37 +00:00
|
|
|
|
2018-09-12 17:26:21 +00:00
|
|
|
/// <summary>
|
2020-04-05 13:47:20 +00:00
|
|
|
/// Match <see cref="ExtraRule.Token"/> against the file name, including the file extension.
|
2018-09-12 17:26:21 +00:00
|
|
|
/// </summary>
|
2020-04-01 16:53:19 +00:00
|
|
|
Regex = 2,
|
|
|
|
|
|
|
|
/// <summary>
|
2020-04-01 17:04:00 +00:00
|
|
|
/// Match <see cref="ExtraRule.Token"/> against the name of the directory containing the file.
|
2020-04-01 16:53:19 +00:00
|
|
|
/// </summary>
|
|
|
|
DirectoryName = 3,
|
2018-09-12 17:26:21 +00:00
|
|
|
}
|
|
|
|
}
|