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