* 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
17 lines
458 B
C#
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();
|
|
}
|
|
}
|
|
}
|