jonagh / gapi-querier

Tool for running Google APIs, and to play with google auth and stuff.
GNU General Public License v3.0
100 stars 35 forks source link

Add command that creates an album with all not-in-album photos #11

Open maximan3000 opened 1 year ago

maximan3000 commented 1 year ago

It would be much better to create another album that accumulates all photos you need to sort/remove. Solution: add command that creates an album and fills it with photos Pros:

  1. You can immediately see all photos that are not in albums instead of clicking on links
  2. You can easyly add any photo to another album or delete it using google-photos app in any time/place
FdelMazo commented 1 year ago

Would love to see this @jonagh! Would you give me a quick onboarding to the source code, and I can try to add this feature?

jonagh commented 1 year ago

Ya sure. The reason I didn't do this was 1) I didn't want it for my own purposes, 2) I wanted to avoid getting write permissions, just so it was "safer". But, I totally see how putting the photos into an album could be useful for many.

Regarding the code...

Hope that was somewhat helpful :)

FdelMazo commented 1 year ago

Sorry :(

I ended up scratching my itch with another method* and have no need to code this feature for now. Thanks for detailing it for the next person that reads this!

* I wanted to see every non-albumed picture within the photos app to categorize them in new albums. Considering I never used the google photos archive feature I simply archived every albumed picture and ended up having every non-albumed picture in the main photos screen. After classifying those pictures, I de-archived everything!

Alexkurd commented 8 months ago

At the moment Google Photos API allows creating photos and albums with API. But even with full write access you can't add photos you already own to the new album.

https://issuetracker.google.com/issues/132274769