Immich: Upload ohne Album möglich
Schalter „In Album einsortieren / Ohne Album“ im Upload-Fenster (⌘U, Ziel Immich) und in den Einstellungen. Ohne Album landen die Bilder nur in der Bibliothek; die Album-Muster bleiben gespeichert. 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
223d8b0610
commit
50d03fc4d7
4 files changed
+19
-3
No files matched your search
@@ -96,8 +96,15 @@ struct UploadWindow: View {
|
||||
} else if target == "immich" {
|
||||
LKSectionLabel(title: "Optionen").padding(.top, 4)
|
||||
VStack(spacing: 0) {
|
||||
optionRow("Album-Muster") {
|
||||
TextField("{event}", text: $state.settings.immich.albumName).textFieldStyle(.plain).lkField()
|
||||
optionRow("Album") {
|
||||
LKSegmented(options: [(true, "In Album einsortieren"), (false, "Ohne Album")],
|
||||
selection: $state.settings.immich.useAlbum)
|
||||
}
|
||||
if state.settings.immich.useAlbum {
|
||||
divider
|
||||
optionRow("Album-Muster") {
|
||||
TextField("{event}", text: $state.settings.immich.albumName).textFieldStyle(.plain).lkField()
|
||||
}
|
||||
}
|
||||
divider
|
||||
optionRow("Dateien") {
|
||||
@@ -163,6 +170,7 @@ struct UploadWindow: View {
|
||||
}
|
||||
|
||||
private var albumPreview: String {
|
||||
guard state.settings.immich.useAlbum else { return "ohne Album" }
|
||||
let albums = Set(state.selectedItems.map { state.immichAlbum(for: $0) }.filter { !$0.isEmpty })
|
||||
return albums.isEmpty ? "kein Album" : "Album: " + albums.sorted().joined(separator: ", ")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user