docker-icloudpd icon indicating copy to clipboard operation
docker-icloudpd copied to clipboard

folder structure when using shared library

Open blackfox33 opened this issue 1 year ago • 7 comments

I could not manage to get my desired folder structure for the shared library. In the old container I got it like this: .../apple/iCloud_Backup_Shared/ and then year/month. For example: .../apple/iCloud_Backup_Shared/2023/12/file1234.heic

I managed to set Folder Structure: {:%Y/%m} by using libraries_with_dates: true. But now it does create a subfolder using the name of the shared library, so it looks like that: .../apple/iCloud_Backup_Shared/SharedSync-{ID_of_the_shared_library}/2023/12/file1234.heic

How can I get rid of the subfolder with the shared library ID and set it to the old structure?

blackfox33 avatar Dec 29 '23 16:12 blackfox33

Hi, are you using the 'iCloud Shared Photo Library' and is icloudpd downloading all photos and videos from the shared library?

Thanks!

rustig136 avatar Jan 14 '24 18:01 rustig136

Hi, yes I do and it is downloading all photos and videos correctly. It is just this subfolder with the name + ID from the Shared Library that I would like to get rid of and instead download to my desired directory.

blackfox33 avatar Jan 14 '24 19:01 blackfox33

Cool, I understand and using a quick network web inspector I could find my ID. Thanks for your prompt reply!

rustig136 avatar Jan 14 '24 19:01 rustig136

For some reason is my icloudpd not downloading the items from the shared library. I have tried photo_library="all libraries" and "PrimarySync,SharedSync-########-####-####-####-############". So far only my personal library was 100% synced.. Do you want to share your anonymised config with me please?

rustig136 avatar Jan 14 '24 20:01 rustig136

I see that you opened your own issue as this belongs not here. I will reply to you there.

blackfox33 avatar Jan 22 '24 11:01 blackfox33

Possible you missing that config: libraries_with_dates: true ? Is default to false and I get into the same problem and read that. @blackfox33 @rustig136

mafis avatar Feb 01 '24 14:02 mafis

Hello @mafis I appreciate your feedback greatly—it worked wonders. I have to confess that initially, the new setting didn't take effect when I added it to the compose-docker.yml file as an environment variable. However, upon closer inspection of the icloudpd.conf, I noticed "libraries_with_dates:false." This led me to believe that the new setting wasn't applied. After manually modifying the conf file, everything started working as anticipated, and I now have my two libraries in the folder structure as desired.

Thank you very much!

rustig136 avatar Feb 01 '24 19:02 rustig136