Improve uploader client connection and diagnostics

This commit is contained in:
Codex Agent
2026-01-12 20:40:40 +01:00
parent 19c8a67ce0
commit fd24014852
10 changed files with 306 additions and 15 deletions

View File

@@ -13,6 +13,9 @@ public sealed class PhotoboothConnectResponse
public sealed class PhotoboothConnectPayload
{
[JsonPropertyName("event_name")]
public string? EventName { get; set; }
[JsonPropertyName("upload_url")]
public string? UploadUrl { get; set; }

View File

@@ -3,9 +3,12 @@ namespace PhotoboothUploader.Models;
public sealed class PhotoboothSettings
{
public string? BaseUrl { get; set; }
public string? EventName { get; set; }
public string? UploadUrl { get; set; }
public string? Username { get; set; }
public string? Password { get; set; }
public string? ResponseFormat { get; set; }
public string? WatchFolder { get; set; }
public string? LastError { get; set; }
public string? LastErrorAt { get; set; }
}