Sync from shared libraries#489
Sync from shared libraries#489pneff wants to merge 2 commits intoicloud-photos-downloader:masterfrom
Conversation
Can download photos from the shared library. Does not yet handle deletions or moves between personal and shared library.
|
This is great thanks @pneff ! Looking forward to it being merged into the main release, for now I've taken your branch and hacked together a working docker image. |
|
@lloydw Is that a docker image you'd be willing to share so I can start an initial backup of my shared library? |
|
@ianmagnone it looks like @boredazfcuk has a working image here: https://hub.docker.com/r/boredazfcuk/icloudpd |
|
Using this via @boredazfcuk docker container results in ZONE_NOT_FOUND when trying to list libraries. No issue with the version without Shared Library support. |
|
Hey @jcbshw, looks like you need the web api activated on your account. Simply login to iCloud.com and it should activate within a few minutes. See https://github.com/icloud-photos-downloader/icloud_photos_downloader#error-on-first-run |
Thanks but I don't think that's it. I can use iCloudPD without this patch with no issues. I have also logged into iCloud.com multiple times in the past few months and as recently as yesterday. |
|
I'm testing this feature and checked out your branches for icloud_photos_downloader and pyicloud and pip installed the local versions and am trying to get a list of my iOS 16 shared libraries but I get this error: I can see in .local/lib/python-3.10/site-packages/pyicloud/services/photos.py that the PhotosService shows a libraries attribute, anything I'm doing wrong here? |
This is because the actual fix is inside the dependency library "pyicloud". First this PullRequest ( icloud-photos-downloader/pyicloud#8 ) must be merged and then we can update the dependency. |
Using the
--list-librariesand--libraryoptions it is now possible to synchronize media from shared libraries.This also requires icloud-photos-downloader/pyicloud#8.