mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
Naming Settings fixed up
This commit is contained in:
parent
fd88f17ead
commit
680f366c94
@ -24,7 +24,7 @@ public NamingModule(INamingConfigService namingConfigService)
|
||||
SharedValidator.RuleFor(c => c.MultiEpisodeStyle).InclusiveBetween(0, 3);
|
||||
SharedValidator.RuleFor(c => c.NumberStyle).InclusiveBetween(0, 3);
|
||||
SharedValidator.RuleFor(c => c.SeasonFolderFormat).NotEmpty();
|
||||
SharedValidator.RuleFor(c => c.Separator).NotEmpty();
|
||||
SharedValidator.RuleFor(c => c.Separator).Matches(@"\s|\s\-\s|\.");
|
||||
}
|
||||
|
||||
private NamingConfigResource UpdateNamingConfig(NamingConfigResource resource)
|
||||
|
Loading…
Reference in New Issue
Block a user