using MediaBrowser.Model.Entities; using MediaType = Emby.Naming.Common.MediaType; namespace Emby.Naming.Video { /// /// A rule used to match a file path with an . /// public class ExtraRule { /// /// Initializes a new instance of the class. /// /// Type of extra. /// Type of rule. /// Token. /// Media type. public ExtraRule(ExtraType extraType, ExtraRuleType ruleType, string token, MediaType mediaType) { Token = token; ExtraType = extraType; RuleType = ruleType; MediaType = mediaType; } /// /// Gets or sets the token to use for matching against the file path. /// public string Token { get; set; } /// /// Gets or sets the type of the extra to return when matched. /// public ExtraType ExtraType { get; set; } /// /// Gets or sets the type of the rule. /// public ExtraRuleType RuleType { get; set; } /// /// Gets or sets the type of the media to return when matched. /// public MediaType MediaType { get; set; } } }