boredazfcuk / docker-icloudpd

An Alpine Linux container for the iCloud Photos Downloader command line utility
1.57k stars 149 forks source link

SharedLibrary not synced #573

Closed sepl2604 closed 1 month ago

sepl2604 commented 1 month ago

Dear all

First off: many thanks for this great library, works (almost) perfectly.

I currently have two docker containers running. One for myself and one for my wife. I have different config files and different destination folders for the media files. The config files are identical except apple_id, obviously.

agentid=
albums_with_dates=false
apple_id=foo@bar.baz
auth_china=false
authentication_type=MFA
auto_delete=false
bark_device_key=
bark_server=
content_source_url=
convert_heic_to_jpeg=false
debug_logging=false
delete_accompanying=false
delete_after_download=false
delete_notifications=true
dingtalk_token=
directory_permissions=750
discord_id=
discord_token=
download_notifications=true
download_path=
file_permissions=640
folder_structure={:%Y/%m/%d}
gotify_app_token=
gotify_https=
gotify_server_url=
group=group
group_id=1000
icloud_china=
iyuu_token=
jpeg_path=
jpeg_quality=90
libraries_with_dates=true
media_id_delete=
media_id_download=
media_id_expiration=
media_id_startup=
media_id_warning=
nextcloud_delete=false
nextcloud_password=
nextcloud_upload=false
nextcloud_url=
nextcloud_username=
notification_days=7
notification_type=
photo_album=
photo_library="all libraries"
photo_size=original
prowl_api_key=
pushover_sound=
pushover_token=
pushover_user=
recent_only=
set_exif_datetime=false
single_pass=false
skip_album=
skip_check=false
skip_download=false
skip_library=
skip_live_photos=false
skip_videos=false
startup_notification=true
synchronisation_delay=0
synchronisation_interval=86400
synology_ignore_path=false
telegram_chat_id=
telegram_polling=true
telegram_server=
telegram_silent_file_notifications=
telegram_token=
touser=
trigger_nextlcoudcli_synchronisation=
until_found=
user_id=1000
webhook_https=false
webhook_id=
webhook_path=/api/webhook/
webhook_port=8123
webhook_server=
wecom_id=
wecom_proxy=
wecom_secret=

My container created a PrimarySync and SharedSync-XXX, but the wife's one didn't.

9324

Am I missing something or could a setting be different in my wife's iCloud?

Many thanks for any hints or feedbacks. Stefan

sepl2604 commented 1 month ago

enabled DEBUG log mode and saw, that the shared library does not appear for my wife's account

image

boredazfcuk commented 1 month ago

This is correct. Shared libraries only appear for the Apple ID that creates the library.

If you log into icloud.com you should see the same.

sepl2604 commented 1 month ago

Many thanks for the quick reply.

When I log in with my wife’s account I have the possibility to switch between her account only and combined (hers and the shared one) see here

https://support.apple.com/guide/icloud/use-icloud-shared-photo-library-mm544e1bd039/icloud#:~:text=Switch%20between%20your%20Photos%20Libraries%20views&text=In%20Photos%20on%20iCloud.com%2C%20click%20the%20pop%2Dup,what%20you're%20currently%20viewing.

This popup appears on her and mine account.

But in this case I will split mine and the shared library in two different docker containers so I can reference the shared one in immich.

Thanks a lot!

Cheers Stefan