Naming fixes

This commit is contained in:
Mark McDowall 2014-11-29 01:15:03 -08:00
parent 6702f0e052
commit 3b3066ed47
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ namespace NzbDrone.Api.Config
Get["/samples"] = x => GetExamples(this.Bind<NamingConfigResource>());
SharedValidator.RuleFor(c => c.MultiEpisodeStyle).InclusiveBetween(0, 3);
SharedValidator.RuleFor(c => c.MultiEpisodeStyle).InclusiveBetween(0, 4);
SharedValidator.RuleFor(c => c.StandardEpisodeFormat).ValidEpisodeFormat();
SharedValidator.RuleFor(c => c.DailyEpisodeFormat).ValidDailyEpisodeFormat();
SharedValidator.RuleFor(c => c.AnimeEpisodeFormat).ValidAnimeEpisodeFormat();

View File

@ -31,7 +31,7 @@ namespace NzbDrone.Core.Datastore.Migration
{
var currentStandard = configReader.GetString(0);
var currentDaily = configReader.GetString(1);
var currentAnime = configReader.GetString(1);
var currentAnime = configReader.GetString(2);
var newStandard = GetNewFormat(currentStandard);
var newDaily = GetNewFormat(currentDaily);