Open landall opened 4 years ago
@landall
@landall
274 is my answer, hope it can help you
Thanks for reply. It is close to my intuition. And I find a bug in my code that I cannot save the image with photo.filename because filename is not a unique field. I use photo.id to help change filename now.
@landall yes, i also found that id problem. yet further more, photo.id(master recordName) is just a piece of checksum of asset(you can find this lead in http response data), so it still may be not unique in some case or if you have dup assets.
At last I change my file id to asset recordName
. It is something really unique.
@landall yes, i also found that id problem. yet further more, photo.id(master recordName) is just a piece of checksum of asset(you can find this lead in http response data), so it still may be not unique in some case or if you have dup assets.
At last I change my file id to asset
recordName
. It is something really unique.
I find asset recordName is also not unique. I get 66413 items in my 'All Photos' album but 66502 unique asset recordName and 65751 unique master recordName. Do you know why?
When I download the photos of an album, I record the photo.id of those downloaded. When my program is killed, I restart the download and skip those id recorded. But I find they are not always on the top of the download list.
And I get only 6269 files from an album with 7523 photo assets. It seems there is a bug.