mandarons / icloud-docker

Dockerized iCloud Client - make a local copy of your iCloud documents and photos, and keep it automatically up-to-date.
BSD 3-Clause "New" or "Revised" License
1.06k stars 49 forks source link

Option to keep the original file name #170

Closed Hant0r closed 10 months ago

Hant0r commented 10 months ago

Would it be possible to add an option to keep the original file names of the images after downloading?

Currently the file names are called e.g: IMG_1234originalQVhWvENlSW1lL4FCOZZoVnYwVRpFYlRIbXM4MQ==.JPG

Why aren't they just called like the original "IMG_1234.JPG"?

Or am I doing something wrong?

mandarons commented 10 months ago

This naming scheme is required for downloading all the photos. The app gives options to download certain quality of photos (original, medium or thumbnail). Hence, quality is included in the file name. There was a problem with multiple iCloud albums containing different photos but with same filename. This created a conflict in downloading that image to all folder - hence the unique ID is included in the filename.

There is no option to keep original filename as it will break the all photos and/or all qualities use case.