icloud-drive-docker icon indicating copy to clipboard operation
icloud-drive-docker copied to clipboard

[QUESTION/BUG] Shared albums aren't downloaded by default

Open PedroS11 opened this issue 9 months ago • 4 comments

I'm trying to run this using Docker. I successfully connected to Icloud, but my downloaded photos do not include my Shared albums. Am I missing something in my config?

app:
  logger:
    # level - debug, info (default), warning or error
    level: "info"
    # log filename icloud.log (default)
    filename: "/config/icloud.log"
  credentials:
    # iCloud drive username
    username: "[email protected]"
    # Retry login interval - default is 10 minutes, specifying -1 will retry login only once and exit
    retry_login_interval: 3600
  # Drive destination
  root: "/icloud"
  telegram:
   bot_token: "TOKEN"
   chat_id: "-CHATID"
  region: global # For China server users, set this to - china (default: global)
photos:
  destination: "photos"
  # Remove local photos that are not present on server (i.e. photos delete on server)
  remove_obsolete: false
  sync_interval: 1800
  all_albums: true # Optional, default false. If true preserve album structure. If same photo is in multiple albums creates duplicates on filesystem
  # folder_format: "%Y-%m" # optional, if set put photos in subfolders according to format. Format cheatsheet - https://strftime.org
  filters:
    # List of libraries to download. If omitted (default), photos from all libraries (own and shared) are downloaded. If included, photos only
    # from the listed libraries are downloaded.
    # libraries:
    #   - PrimarySync # Name of the own library

    # if all_albums is false - albums list is used as filter-in, if all_albums is true - albums list is used as filter-out
    # if albums list is empty and all_albums is false download all photos to "all" folder. if empty and all_albums is true download all folders
    albums:
    #  - "Test"
    file_sizes: # valid values are original, medium and/or thumb
      - "original"
      # - "medium"
      # - "thumb"
    extensions: # Optional, media extensions to be included in syncing iCloud Photos content
    # - jpg
    # - heic
    # - png

PedroS11 avatar Mar 26 '25 23:03 PedroS11

I tried to hardcode a valid SharedSync album (accessed my cloud account, opened a shared album, got the uuid from the URL and appended SharedSync to it but got no luck.

This doesn't download the shared albums, if I try to specify a shared one, it fails

app:
  logger:
    # level - debug, info (default), warning or error
    level: "info"
    # log filename icloud.log (default)
    filename: "/config/icloud.log"
  credentials:
    # iCloud drive username
    username: "[email protected]"
    # Retry login interval - default is 10 minutes, specifying -1 will retry login only once and exit
    retry_login_interval: 60
  # Drive destination
  root: "/icloud"
  telegram:
   bot_token: "TOKEN"
   chat_id: "-CHATID"
  region: global # For China server users, set this to - china (default: global)
photos:
  destination: "photos"
  # Remove local photos that are not present on server (i.e. photos delete on server)
  remove_obsolete: false
  sync_interval: 60
  all_albums: false # Optional, default false. If true preserve album structure. If same photo is in multiple albums creates duplicates on filesystem
  # folder_format: "%Y-%m" # optional, if set put photos in subfolders according to format. Format cheatsheet - https://strftime.org
  filters:
   libraries:
     - SharedSync-9DD9B767-XXXXXXXX
   file_sizes: # valid values are original, medium and/or thumb
      - "original"
Image

PedroS11 avatar Mar 30 '25 01:03 PedroS11

@mandarons can you help with this? Am I missing something to include my shared albums?

PedroS11 avatar Apr 03 '25 22:04 PedroS11

Shared albums aren't supported yet (#263) but shared library is. Try removing libraries filter and it should download photos from all libraries (primary and shared).

mandarons avatar Apr 05 '25 19:04 mandarons

Ahhh ok, i'll wait for the shared albums to be implemented then, that would make this repo even better for people who want to keep data backed up in some physical storage other than just icloud so hoping for it to available soon 🤞 🤞

PedroS11 avatar Apr 07 '25 10:04 PedroS11

Could you please elaborate on what the difference is between shared albums and shared libraries?

brujoand avatar Jul 15 '25 14:07 brujoand

@brujoand https://appleinsider.com/inside/icloud/vs/icloud-shared-photo-library-vs-shared-albums-in-photos

mandarons avatar Oct 22 '25 16:10 mandarons