GET/PUT /api/settings/{ffmpeg,playout,xmltv,scanner,logging,ui,hdhr}
wrapping the existing MediatR settings handlers, plus custom resolution
list/create/delete under /api/settings/resolutions. String-enum OpenAPI
schemas extended to OutputFormatKind + LogEventLevel.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
9 lines
204 B
C#
9 lines
204 B
C#
using ErsatzTV.Application.HDHR;
|
|
|
|
namespace ErsatzTV.Controllers.Api.Requests;
|
|
|
|
public record UpdateHdhrSettingsRequest(int TunerCount)
|
|
{
|
|
public UpdateHDHRTunerCount ToCommand() => new(TunerCount);
|
|
}
|