Fix: Absturz beim Entfernen von Teams (Bindings per ID); Matchday nur per Schalter (Einstellungen, Bild-Menü ⌘⌥M, Trikot-Erkennung); Ereignis/Datum vom aktuellen Bild; 'Spieler:innen'

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012bGzgsxrmbBhDzeMV2L57D
This commit is contained in:
Lichtkasten DevandClaude Opus 5.5 committed 2026-11-04 15:59:49 +00:00
1 parent cea5decdb6
commit 2989e51553
7 files changed
+60 -23

No files matched your search

@@ -67,14 +67,19 @@ struct LightroomSettings: Codable, Hashable {
/// Jersey number recognition settings (teams of the current match).
struct JerseySettings: Codable, Hashable {
enum CodingKeys: String, CodingKey {
case teams, useShirt, useShorts, minConfidence, autoAfterIngest, separator
case matchday = "matchdayEnabled" // new key: the old default (on) is not carried over
}
var teams: [JerseyTeam] = []
var useShirt = true
var useShorts = true
var minConfidence = 0.35
var autoAfterIngest = false
var separator = ", "
/// Matchday view (team header, player list, team-colored cards) when two teams are set up
var matchday = true
/// Matchday view (team header, player list, team-colored cards) – opt-in, needs two teams
var matchday = false
init() {}
init(from decoder: Decoder) throws {