Files
ersatztv/ErsatzTV/Validators/RemoteMediaSourcePathReplacementEditViewModelValidator.cs
T
Jason DoveandGitHub 50529ee6ad add emby media source (#201)
* properly scope jellyfin disconnect

* add emby entities

* add emby media source page

* add emby media source editor

* sync emby libraries

* enable emby library sync toggle

* add emby path replacements editor

* add emby movie synchronization

* fix emby artwork

* sync emby television

* code cleanup

* add jellyfin/emby address placeholder

* tweak jellyfin/emby address form
2021-05-23 03:05:23 -05:00

17 lines
458 B
C#

using ErsatzTV.ViewModels;
using FluentValidation;
namespace ErsatzTV.Validators
{
public class
RemoteMediaSourcePathReplacementEditViewModelValidator : AbstractValidator<
RemoteMediaSourcePathReplacementEditViewModel>
{
public RemoteMediaSourcePathReplacementEditViewModelValidator()
{
RuleFor(vm => vm.RemotePath).NotEmpty();
RuleFor(vm => vm.LocalPath).NotEmpty();
}
}
}