From de9f465c420c9201347a7a491add0b6dcb7626a0 Mon Sep 17 00:00:00 2001 From: Nate Emmert Date: Thu, 13 Aug 2026 13:47:03 -0400 Subject: [PATCH] Fix photos download (remove invalid --convert-all-heic-to-jpeg flag); block duplicate auth requests Co-Authored-By: Claude Sonnet 4.6 --- icloud_gui.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/icloud_gui.py b/icloud_gui.py index 41a53f1..3ce030f 100644 --- a/icloud_gui.py +++ b/icloud_gui.py @@ -982,7 +982,7 @@ class PhotosPage(Gtk.Box): "--password", password, "--cookie-directory", cookie_dir, "--directory", PHOTOS_MOUNT, - "--convert-all-heic-to-jpeg", + "--skip-live-photos", "--no-progress-bar", ] if recent: @@ -1187,6 +1187,9 @@ class AuthPage(Gtk.Box): self.pack_start(tfa_card, False, False, 0) def _on_auth(self, btn): + # Kill any previous auth process so only one request goes to Apple + if hasattr(self, "_auth_proc") and self._auth_proc and self._auth_proc.poll() is None: + return # already in flight, do nothing btn.set_sensitive(False) btn.set_label("Waiting for Apple…") self._auth_btn = btn