Files
ersatztv/ErsatzTV.Core/Api/Settings/FFmpegSettingsResponseModel.cs
T
timothyandClaude Fable 5 57905bc0f4 feat(api): settings read/write endpoints (#93)
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>
2026-07-07 09:22:50 +02:00

25 lines
730 B
C#

using System.Text.Json.Serialization;
using ErsatzTV.FFmpeg.OutputFormat;
namespace ErsatzTV.Core.Api.Settings;
#nullable enable
public record FFmpegSettingsResponseModel(
string FFmpegPath,
string FFprobePath,
int DefaultFFmpegProfileId,
string PreferredAudioLanguageCode,
bool UseEmbeddedSubtitles,
bool ExtractEmbeddedSubtitles,
bool ProbeForInterlacedFrames,
bool SaveReports,
int? GlobalWatermarkId,
int? GlobalFallbackFillerId,
int HlsSegmenterIdleTimeout,
int WorkAheadSegmenterLimit,
int InitialSegmentCount,
[property: JsonConverter(typeof(JsonStringEnumConverter<OutputFormatKind>))]
OutputFormatKind HlsDirectOutputFormat,
string DefaultMpegTsScript);