using ErsatzTV.Application.Configuration; namespace ErsatzTV.Controllers.Api.Requests; /// /// IPTV output settings. is the optional advertised base URL applied to /// absolute M3U/XMLTV URLs; send an empty string to clear it and use the incoming request's origin. /// public record UpdateIptvSettingsRequest(string BaseUrl) { public UpdateIptvSettings ToCommand() => new(new IptvSettingsViewModel { BaseUrl = BaseUrl }); }