* configure channel and global fallback filler * play random item from configured channel/global fallback filler as needed
20 lines
476 B
C#
20 lines
476 B
C#
using ErsatzTV.Core;
|
|
using ErsatzTV.Core.Domain;
|
|
using LanguageExt;
|
|
using MediatR;
|
|
|
|
namespace ErsatzTV.Application.Channels.Commands
|
|
{
|
|
public record UpdateChannel
|
|
(
|
|
int ChannelId,
|
|
string Name,
|
|
string Number,
|
|
int FFmpegProfileId,
|
|
string Logo,
|
|
string PreferredLanguageCode,
|
|
StreamingMode StreamingMode,
|
|
int? WatermarkId,
|
|
int? FallbackFillerId) : IRequest<Either<BaseError, ChannelViewModel>>;
|
|
}
|