mvysny / photocloud-frame-slideshow

Android Digital Photo Frame
https://www.android-photo-frame.eu
15 stars 1 forks source link

Google Photos - No images found #164

Open piotr-zawodni opened 3 years ago

piotr-zawodni commented 3 years ago

I have installed PhotoCloud Frame Slideshow and unlocked "Nagging Dialog". I only have Google Photos in my sources. When I start a slideshow, I only get the message "No images Found. Please make sure that there are photos located at Google Photos". Of course, I have thousands of photos in Google Photos.

At https://myaccount.google.com/permissions, I can see that the app has access to my photo library. I added an album and I can see it in the app, but I'd rather have access to the entire library instead of adding everything to a special album. I have the same problem on my phone (Asus Zenfone 5z Android 10) and tablet (Samsung Galaxy Tab 4 SM-235 Android 9)

Best regards, Piotr

Screenshot_20210928-140058_PhotoCloud_Slideshow .

mvysny commented 3 years ago

Hi, thank you for letting me know! PhotoCloud is using three Google Photos APIs to search for the photos:

It sounds like the mediaItems.list API returns zero images, which sounds pretty ridiculous, so perhaps there is something very basic that we're missing. Perhaps the API only lists photos somehow marked "public" or similar?

There is an app which uses the same API: https://github.com/pavelfomin/gphoto-manager . Could you please try it out, to see whether it would find any photos?

Also, can you please visit the PhotoCloud file browser and see whether there are any albums visible there? I'm just wondering whether the albums.list+mediaItems.search is able to provide more images than the mediaItems.list API - if yes, I can modify PhotoCloud accordingly.

EDIT: I've taken a look at my Google Photos account, and it looks like all of my photos are organized within albums. Could it be a fundamental limitation of the Google Photos API that it only provides photos stored within albums?

piotr-zawodni commented 3 years ago

I don't know how to use gphoto-manager. In PhotoCloud when browsing GooglePhoto I can see one album (created to test) and photos inside, but not whole library. [image: Screenshot_20211004-114615927.jpg]

pon., 4 paź 2021 o 10:35 Martin Vysny @.***> napisał(a):

Hi, thank you for letting me know! PhotoCloud is using two Google APIs to search for the photos:

It sounds like the mediaItems.list API returns zero images, which sounds pretty ridiculous, so perhaps there is something very basic that we're missing. Perhaps the API only lists photos somehow marked "public" or similar?

There is an app which uses the same API: https://github.com/pavelfomin/gphoto-manager . Could you please try it out, to see whether it would find any photos?

Also, can you please visit the PhotoCloud file browser and see whether there are any albums visible there? I'm just wondering whether the albums.list+mediaItems.search is able to provide more images than the mediaItems.list API - if yes, I can modify PhotoCloud accordingly.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mvysny/photocloud-frame-slideshow/issues/164#issuecomment-933267030, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV34YUUPWK7SFQCXB3GJHOTUFFROBANCNFSM5FETNDMQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

popartmalta commented 5 months ago

Hi don't know if this has been fixed, but when I add google photos I get no photos found too. I can browse the albums and start each one manually. But cannot start the slideshow from root.