mirror of https://github.com/lidarr/Lidarr
parent
a720e5f3b5
commit
48f70815a3
|
@ -12,6 +12,8 @@ namespace NzbDrone.Core.Download.Clients.RTorrent
|
||||||
RuleFor(c => c.Host).ValidHost();
|
RuleFor(c => c.Host).ValidHost();
|
||||||
RuleFor(c => c.Port).InclusiveBetween(0, 65535);
|
RuleFor(c => c.Port).InclusiveBetween(0, 65535);
|
||||||
RuleFor(c => c.TvCategory).NotEmpty();
|
RuleFor(c => c.TvCategory).NotEmpty();
|
||||||
|
.WithMessage("A category is recommended")
|
||||||
|
.AsWarning();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue