aboutsummaryrefslogtreecommitdiff
path: root/Emby.Naming/Video/ExtraRuleType.cs
blob: 324319505790a2b2157803e844bff56ac01bd792 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
namespace Emby.Naming.Video
{
    /// <summary>
    /// Extra rules type to determine against what <see cref="ExtraRule.Token"/> should be matched.
    /// </summary>
    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
    }
}