Release - PicasaWeb - Picasa Web Albums Image Plugin Addon [DEPRECATED]

  Thread Rating:
  • 4 Vote(s) - 3.25 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
krakout Offline
Member
Posts: 84
Joined: Apr 2014
Reputation: 0
Post: #286
Count me in if you need more testers!!
find quote
dmdsoftware Offline
Posting Freak
Posts: 1,000
Joined: Sep 2013
Reputation: 37
Post: #287
I've dug and dug, looking for some way around collecting the album information without the now-broken Picasa API, and there is no way without emulating the browser or app. That is typically the last resort one wants to make, but it is still doable.

For dealing with shared albums, I did think of a clever workaround that I want to know if there is any interest in. It is possible to have the recipient create dummy folders in their Google Photos portion in Google Drive. Google Drive won't understand what purpose they are for, but I can have the KODI app interpret them. It would allow folks an easy way to load albums that are shared with them in a very quick turnaround (as in 1 day of effort to implement into code).

Thoughts?
(This post was last modified: 2016-08-26 19:58 by dmdsoftware.)
find quote
sabrex Offline
Junior Member
Posts: 15
Joined: Aug 2016
Reputation: 0
Post: #288
@dmdsoftware ... I'm curious. Since the only public APIs available seems to be for PicasaWeb and Google Drive, are you thinking of fixing the issues with the existing PicasaWeb add-on, adding the albums functionality to your gdrive add-on, or creating a Google Photos add-on from scratch?

I haven't been able to use the PicasaWeb add-on properly after installing it and associating my google account, likely due to the changes in API starting May 2016. It installs and associates the Google account easily enough, but the search and browse functions simply don't work.
(This post was last modified: 2016-08-26 20:16 by sabrex.)
find quote
dmdsoftware Offline
Posting Freak
Posts: 1,000
Joined: Sep 2013
Reputation: 37
Post: #289
(2016-08-26 20:09)sabrex Wrote:  @dmdsoftware ... I'm curious. Since the only public APIs available seems to be for PicasaWeb and Google Drive, are you thinking of fixing the issues with the existing PicasaWeb add-on, adding the albums functionality to your gdrive add-on, or creating a Google Photos add-on from scratch?

I haven't been able to use the PicasaWeb add-on properly after installing it and associating my google account, likely due to the changes in API starting May 2016. It installs and associates the Google account easily enough, but the search and browse functions simply don't work.

Since for about 2 years ago, my plugins adopt a CloudService API. Although they all reside independently still, if they all work the same, eventually they'll all plug in together. That is my eventual goal is to have a single plugin and you select the cloud service(s) that you want to enlist. This way it is a unified experience across whichever supplies the cloud service (Amazon Cloud Drive, Google Drive, Box, MediaFire, OneDrive, BOX, etc). Whether this Google Photos plugin will take the form of a dedicated plugin or start out in Google Drive or CloudStream, I'll be implementing it using the same framework that I use for the other plugins. The goal here is when someone comes up with a good idea for a feature they want, when it gets implemented, if it applies to other services, it'll be made available with minimum effort.

Anyways.... to get albums working, it is possible to get limp by with the Google Drive plugin with some hacks to get albums linked. My focus will be on improving photo support and giving people a way to load albums on their KODI. There is a search already implemented in my plugin, but it is not what you would expect, and it wouldn't match against photos if you were searching for photo characteristics (like location). But now there is a API3 for Google Drive, and with the additional photo elements, it may be possible to workaround this as well, and implement a search that would only search across your photos, and may be able to accomplish the same as Google Photos app.

After all the research I've been doing into Google Photos and what direction Google is taking, I don't believe they will ever release a replacement for Picasa API. They updated the Google Drive API this year to v3, and the major differences is leveraging more of the photo elements that wasn't available in Google Drive prior. They even reference "albums" in the API spec but that is it... a single reference, no explanation or detail on how to load them.

The intention in May is clear from communication from Google that those who have already setup a OAUTH2 token will be able to continue to use it until it expires, but they don't want anyone developing new apps on the API, and they are not allowing users to log into apps if they haven't already.

To get an KODI app that does everything Google Photo does will take time since you have to emulate the web app rather then implement an open API. Until all that work can be accomplished, the intermediate would be to update the Google Drive plugin with hacks to get people the albums and search support.
find quote
sabrex Offline
Junior Member
Posts: 15
Joined: Aug 2016
Reputation: 0
Post: #290
(2016-08-26 20:50)dmdsoftware Wrote:  After all the research I've been doing into Google Photos and what direction Google is taking, I don't believe they will ever release a replacement for Picasa API. They updated the Google Drive API this year to v3, and the major differences is leveraging more of the photo elements that wasn't available in Google Drive prior. They even reference "albums" in the API spec but that is it... a single reference, no explanation or detail on how to load them.

The intention in May is clear from communication from Google that those who have already setup a OAUTH2 token will be able to continue to use it until it expires, but they don't want anyone developing new apps on the API, and they are not allowing users to log into apps if they haven't already.

To get an KODI app that does everything Google Photo does will take time since you have to emulate the web app rather then implement an open API. Until all that work can be accomplished, the intermediate would be to update the Google Drive plugin with hacks to get people the albums and search support.

Thank you for the detailed explanation. It explains my own experience with ruuk's PicasaWeb add-on perfectly. I have to say that with the update to your gdrive-testing add-on to 0.8.x, the ability to browser personal videos and photos from Google Photos is fast and very reliable! If you can somehow show content in personal or shared albums as well, that would be amazing. It certainly sounds like you have some ideas on making this happen. I would be OK personally with creating an "Albums" folder in my Google Photos folder from gdrive, and then creating dummy folders in there matching the names of the Google Photos albums I'd like to access. Is that kind of what you're thinking?

One interesting thing to note is that even picasaweb.google.com doesn't currently show all of the albums that were defined in Google Photos. Either that, or it takes a few days for a new album created in Google Photos to show up on PicasaWeb. This may mean that PicasaWeb API, even if you managed to use it, may not be able to give reliable access to Google Photos albums.

The Google Drive v3 API will hopefully be able to give access to Google Photos albums in a reliable way. Best of luck Smile
(This post was last modified: 2016-08-26 21:20 by sabrex.)
find quote
ruuk Offline
Team-Kodi Member
Posts: 2,128
Joined: Aug 2005
Reputation: 198
Location: Bremerton, WA USA
Post: #291
Just wanted to mention that I marked this topic as deprecated. I'm not trying to discourage discussion here, but I do want the status to be clear. I'll also be marking the addon as broken in the repository.

[Image: sig.jpg]
find quote
Post Reply