mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
Naming fixes
This commit is contained in:
parent
6702f0e052
commit
3b3066ed47
@ -36,7 +36,7 @@ public NamingConfigModule(INamingConfigService namingConfigService,
|
|||||||
|
|
||||||
Get["/samples"] = x => GetExamples(this.Bind<NamingConfigResource>());
|
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.StandardEpisodeFormat).ValidEpisodeFormat();
|
||||||
SharedValidator.RuleFor(c => c.DailyEpisodeFormat).ValidDailyEpisodeFormat();
|
SharedValidator.RuleFor(c => c.DailyEpisodeFormat).ValidDailyEpisodeFormat();
|
||||||
SharedValidator.RuleFor(c => c.AnimeEpisodeFormat).ValidAnimeEpisodeFormat();
|
SharedValidator.RuleFor(c => c.AnimeEpisodeFormat).ValidAnimeEpisodeFormat();
|
||||||
|
@ -31,7 +31,7 @@ private void ConvertQualityTitle(IDbConnection conn, IDbTransaction tran)
|
|||||||
{
|
{
|
||||||
var currentStandard = configReader.GetString(0);
|
var currentStandard = configReader.GetString(0);
|
||||||
var currentDaily = configReader.GetString(1);
|
var currentDaily = configReader.GetString(1);
|
||||||
var currentAnime = configReader.GetString(1);
|
var currentAnime = configReader.GetString(2);
|
||||||
|
|
||||||
var newStandard = GetNewFormat(currentStandard);
|
var newStandard = GetNewFormat(currentStandard);
|
||||||
var newDaily = GetNewFormat(currentDaily);
|
var newDaily = GetNewFormat(currentDaily);
|
||||||
|
Loading…
Reference in New Issue
Block a user