* handle artwork timeouts so they aren't reported * catch some more cancellation errors * add free space validation on startup * add downgrade health check * update dependencies
18 lines
566 B
C#
18 lines
566 B
C#
using ErsatzTV.Core;
|
|
|
|
namespace ErsatzTV.Services.RunOnce;
|
|
|
|
public class EndpointValidatorService(ILogger<EndpointValidatorService> logger) : BackgroundService
|
|
{
|
|
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
|
|
{
|
|
await Task.Yield();
|
|
|
|
logger.LogInformation(
|
|
"Server will listen on streaming port {StreamingPort}, UI port {UiPort} - try UI at {UI}",
|
|
Settings.StreamingPort,
|
|
Settings.UiPort,
|
|
$"http://localhost:{Settings.UiPort}{SystemEnvironment.BaseUrl}");
|
|
}
|
|
}
|