jellyfin-server/Emby.Naming/Video/ExtraRuleType.cs
2020-11-01 11:19:22 +01:00

28 lines
764 B
C#

#pragma warning disable CS1591
namespace Emby.Naming.Video
{
public enum ExtraRuleType
{
/// <summary>
/// Match <see cref="ExtraRule.Token"/> against a suffix in the file name.
/// </summary>
Suffix = 0,
/// <summary>
/// Match <see cref="ExtraRule.Token"/> against the file name, excluding the file extension.
/// </summary>
Filename = 1,
/// <summary>
/// Match <see cref="ExtraRule.Token"/> against the file name, including the file extension.
/// </summary>
Regex = 2,
/// <summary>
/// Match <see cref="ExtraRule.Token"/> against the name of the directory containing the file.
/// </summary>
DirectoryName = 3
}
}