1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-14 15:03:42 +01:00

Fixed: XBMC notifications have a minimum display time of 2 seconds

This commit is contained in:
Mark McDowall 2015-01-15 23:12:49 -08:00
parent 4f5c437ddd
commit 774eb5256d

View File

@ -13,7 +13,7 @@ public class XbmcSettingsValidator : AbstractValidator<XbmcSettings>
public XbmcSettingsValidator() public XbmcSettingsValidator()
{ {
RuleFor(c => c.Host).NotEmpty(); RuleFor(c => c.Host).NotEmpty();
RuleFor(c => c.DisplayTime).GreaterThan(0); RuleFor(c => c.DisplayTime).GreaterThanOrEqualTo(2);
} }
} }