Vereins-Variablen für Immich-Album und Umbenennen
{vereina}/{vereinb} (= {home}/{away}, {heim}/{gast}), {homeshort}/{awayshort}, {competition}, {round},
{season} … aus dem Spieltag des Bildes oder aus dem IPTC-Ereignis („Liga: A - B“). Gilt für das
Immich-Album und das FTP-Umbenennungsmuster, z. B. „{vereina} - {vereinb} | {date}“.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012bGzgsxrmbBhDzeMV2L57D
This commit is contained in:
1 parent
3a2c8253ac
commit
fff701674a
5 files changed
+62
-3
No files matched your search
@@ -227,7 +227,7 @@ struct ImmichSettingsView: View {
|
||||
.onChange(of: apiKey) { _, k in Keychain.set(k, account: ImmichSettings.keychainAccount); state.uploads.resetImmich() }
|
||||
TextField("Album", text: $state.settings.immich.albumName, prompt: Text("{event}"))
|
||||
TextField("Album, wenn kein Ereignis im IPTC", text: $state.settings.immich.albumFallback, prompt: Text("{isodate} {city}"))
|
||||
Text("Variablen aus IPTC/EXIF pro Bild, z. B. {event}, {headline}, {city}, {sublocation}, {isodate}, {date}, {year4}, {creator}. Fehlende Alben werden angelegt, leer = kein Album.")
|
||||
Text("Variablen aus IPTC/EXIF pro Bild, z. B. {event}, {headline}, {city}, {sublocation}, {isodate}, {date}, {year4}, {creator}. Vereine: {vereina} - {vereinb} (= {home}/{away}, kurz {homeshort}/{awayshort}), dazu {competition}, {round}, {season} – aus dem Spieltag oder dem Ereignis. Beispiel: {vereina} - {vereinb} | {date}. Fehlende Alben werden angelegt, leer = kein Album.")
|
||||
.font(.caption).foregroundStyle(.secondary)
|
||||
if let first = state.selectedItems.first {
|
||||
LabeledContent("Beispiel (\(first.filename))", value: state.immichAlbum(for: first).isEmpty ? "– kein Album –" : state.immichAlbum(for: first))
|
||||
|
||||
Reference in new issue
Block a user