Validation and integration test for SeriesFolderFormat

This commit is contained in:
Mark McDowall
2014-01-17 10:43:15 -08:00
parent 43a2f39106
commit 7bb8a9db5f
4 changed files with 21 additions and 1 deletions
@@ -39,6 +39,9 @@ namespace NzbDrone.Core.Organizer
public static readonly Regex AirDateRegex = new Regex(@"\{Air(\s|\W|_)Date\}", RegexOptions.Compiled | RegexOptions.IgnoreCase);
public static readonly Regex SeriesTitleRegex = new Regex(@"(?<token>\{(?:Series)(?<separator>\s|\.|-|_)Title\})",
RegexOptions.Compiled | RegexOptions.IgnoreCase);
public FileNameBuilder(INamingConfigService namingConfigService,
ICacheManger cacheManger,
Logger logger)