Release - PicasaWeb - Picasa Web Albums Image Plugin Addon

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
domyrat Offline
Junior Member
Posts: 2
Joined: Aug 2014
Reputation: 0
Post: #196
(2014-08-18 23:10)ruuk Wrote:  
(2014-08-18 22:19)domyrat Wrote:  Can anyone tell me how this plugin can read photos uploaded to Google Drive? From what i've seen i can only read photos uploaded directly to picasaweb/google+ even though they integrated drive pictures.

It can't and (from a little research I just did) I don't think I can add it yet. When Google makes a Google+ API for accessing photos then maybe it will be possible, but right now there is only the PicasaWeb API which doesn't have that functionality.

sad panda Sad

Is there any active developer request at google for it?
(This post was last modified: 2014-08-19 07:53 by domyrat.)
find quote
ruuk Offline
Skilled Python Coder
Posts: 1,547
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #197
(2014-08-19 07:52)domyrat Wrote:  
(2014-08-18 23:10)ruuk Wrote:  
(2014-08-18 22:19)domyrat Wrote:  Can anyone tell me how this plugin can read photos uploaded to Google Drive? From what i've seen i can only read photos uploaded directly to picasaweb/google+ even though they integrated drive pictures.

It can't and (from a little research I just did) I don't think I can add it yet. When Google makes a Google+ API for accessing photos then maybe it will be possible, but right now there is only the PicasaWeb API which doesn't have that functionality.

sad panda Sad

Is there any active developer request at google for it?
I believe it is something that Google is working on now that they've basically merged Picasa Web Albums into Google+.

[Image: sig.jpg]
find quote
robl45 Offline
Fan
Posts: 360
Joined: Mar 2011
Reputation: 0
Post: #198
Hello,

I added this tonight to test out so I could see my kids on the big screen. While it works, it seems the only way to see full photos is to do the slideshow? Am I missing something? I thought I could just click on the name and bring up a fullsize photo but there seems no option for that? Also my wife and I bought have accounts, can I add both of them?

Thanks
find quote
ruuk Offline
Skilled Python Coder
Posts: 1,547
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #199
You should be able to click on an image and it will be displayed. If that isn't working for you, I'll probably need a log.

[Image: sig.jpg]
find quote
robl45 Offline
Fan
Posts: 360
Joined: Mar 2011
Reputation: 0
Post: #200
(2014-09-21 13:13)ruuk Wrote:  You should be able to click on an image and it will be displayed. If that isn't working for you, I'll probably need a log.

Excellent, I tried it with my other XBMC and it works. Thanks for this. It doesn't work on the Kodi alpha 3 which I installed last night. Is there anyway to add two Picassa web accounts?
find quote
ruuk Offline
Skilled Python Coder
Posts: 1,547
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #201
Not yet. I guess I better add that ability as people keep asking for it Smile

[Image: sig.jpg]
find quote
robl45 Offline
Fan
Posts: 360
Joined: Mar 2011
Reputation: 0
Post: #202
(2014-09-21 17:37)ruuk Wrote:  Not yet. I guess I better add that ability as people keep asking for it Smile

well my wife has a cell phone and I have a cell phone. We each backup to google+ and then can view the files through gallery on the android app. One thing that I just found is the cyanogen gallery for android lets me add both user accounts and then combines the photos together rather than having to look at one or the other. I don't know if thats easy or hard, but it would be nice if that could be an option.
find quote
ruuk Offline
Skilled Python Coder
Posts: 1,547
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #203
(2014-09-21 19:18)robl45 Wrote:  
(2014-09-21 17:37)ruuk Wrote:  Not yet. I guess I better add that ability as people keep asking for it Smile

well my wife has a cell phone and I have a cell phone. We each backup to google+ and then can view the files through gallery on the android app. One thing that I just found is the cyanogen gallery for android lets me add both user accounts and then combines the photos together rather than having to look at one or the other. I don't know if thats easy or hard, but it would be nice if that could be an option.
I'll be adding multi-user support, but I'm not likely to add the ability to view multiple accounts together. It's more complicated than I have time for.

[Image: sig.jpg]
find quote
ruuk Offline
Skilled Python Coder
Posts: 1,547
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #204
While I'm on the subject, as I don't actually use PicasaWeb, this addon probably doesn't get the love it deserves. While I'm perfectly happy to continue maintaining this addon, I would not be offended if someone wanted to add features (ie with pull requests) or create a new addon whether it existed alongside or supplanted this one.

[Image: sig.jpg]
find quote
ruuk Offline
Skilled Python Coder
Posts: 1,547
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Information  v1.0.14
Post: #205
Version 1.0.14

Changes:
  • Added the ability to have multiple users


On my REPO.

When this new version is first run, it will give the current user the name 'default'. Currently the only way to change the name is to create a new user with the desired name and then you can delete the user named 'default'. I'll add a way to change the name - maybe tomorrow. I ran out of time today.

The name you are asked to enter when adding a user can be anything you want. It has nothing to do with your PicasaWeb name or anything, it's just whatever you want to use to identify the account you are adding.

Please let me know if everything goes OK or if there are issues so I can fix them and submit this to the official repository.

[Image: sig.jpg]
(This post was last modified: 2014-09-27 01:18 by ruuk.)
find quote
ruuk Offline
Skilled Python Coder
Posts: 1,547
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Information  v10.015
Post: #206
Version 1.0.15

Changes:
  • Moved token/user handling to the OAuth helper module
  • Added the ability to change user names

On my REPO.

I changed a bunch of stuff under the hood from the last version, so hopefully nothing is broken Smile

I'd definitely love some feedback on how the new stuff is working from both people using for the first time and from those upgrading so I can be sure the changes are working OK.

[Image: sig.jpg]
find quote
Frank-NL Offline
Donor
Posts: 148
Joined: Sep 2012
Reputation: 1
Post: #207
I upgraded from the previous version and the Oauth stuff is working really well for me. Thanks for your work on the plugin.

The only issue I have got is that loading an image from a big folder takes quite long but after that it's working... I guess the plug in tries to download a preview for all images first, is that right?
find quote
ruuk Offline
Skilled Python Coder
Posts: 1,547
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #208
(2014-09-28 13:50)Frank-NL Wrote:  I upgraded from the previous version and the Oauth stuff is working really well for me. Thanks for your work on the plugin.

The only issue I have got is that loading an image from a big folder takes quite long but after that it's working... I guess the plug in tries to download a preview for all images first, is that right?

Nope, the URLs for the thumbnails are passed to XBMC, which then loads them asynchronously in the backround.
How long is quite long? And there is a noticeable difference between folders with few items and folders with many items?

[Image: sig.jpg]
(This post was last modified: 2014-09-28 18:30 by ruuk.)
find quote
Frank-NL Offline
Donor
Posts: 148
Joined: Sep 2012
Reputation: 1
Post: #209
Three minutes for 115 photos. I cannot really share the debug log since the URLs that are logged contain photos that are visible even when not logged in with my own google account. That's actually kinda scary... (they do have a limited life span it seems)

Here's a snippet without the proper URLs:

19:44:10 T:140471083784000 DEBUG: LIRC: Update - NEW at 37266:160 0 KEY_OK devinput (KEY_OK)
19:44:10 T:140471083784000 DEBUG: OnKey: 11 (0x0b) pressed, action is Select
19:44:10 T:140471083784000 DEBUG: CAnnouncementManager - Announcement: OnClear from xbmc
19:44:10 T:140471083784000 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnClear
19:44:11 T:140471083784000 DEBUG: CCurlFile::GetMimeType - https://lh6.googleusercontent.com/-***.jpg -> image/jpeg
19:44:11 T:140471083784000 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
19:44:11 T:140471083784000 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
19:44:11 T:140471083784000 DEBUG: AddOnLog: Tvheadend Client: pvr.tvh - Announce(flag=Playlist, sender=xbmc, message=OnAdd)
19:44:12 T:140471083784000 DEBUG: CCurlFile::GetMimeType - https://lh3.googleusercontent.com/-***.jpg -> image/jpeg
19:44:12 T:140471083784000 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
19:44:12 T:140471083784000 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
19:44:12 T:140471083784000 DEBUG: AddOnLog: Tvheadend Client: pvr.tvh - Announce(flag=Playlist, sender=xbmc, message=OnAdd)
19:44:12 T:140471083784000 DEBUG: CCurlFile::GetMimeType - https://lh5.googleusercontent.com/-***.jpg -> image/jpeg
19:44:12 T:140471083784000 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
19:44:12 T:140471083784000 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
19:44:14 T:140471083784000 DEBUG: CCurlFile::GetMimeType - https://lh6.googleusercontent.com/-***.jpg -> image/jpeg
19:44:14 T:140471083784000 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
19:44:14 T:140471083784000 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd

this continues for a while until

19:47:11 T:140471083784000 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
19:47:11 T:140471083784000 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
19:47:13 T:140471083784000 DEBUG: CCurlFile::GetMimeType - https://lh4.googleusercontent.com/-***.jpg -> image/jpeg
19:47:13 T:140471083784000 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
19:47:13 T:140471083784000 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
19:47:13 T:140471083784000 DEBUG: UPnP: Building didl for object ''
19:47:13 T:140471083784000 DEBUG: Activating window ID: 12007
19:47:13 T:140471083784000 DEBUG: ------ Window Deinit (MyPics.xml) ------
19:47:13 T:140471083784000 DEBUG: ------ Window Init (SlideShow.xml) ------
19:47:13 T:140471083784000 INFO: Loading skin file: SlideShow.xml, load type: KEEP_IN_MEMORY
19:47:13 T:140471083784000 DEBUG: Loading the current image 0: https://lh6.googleusercontent.com/-***.jpg
19:47:13 T:140469614913280 NOTICE: Thread BgPicLoader start, auto delete: false
19:47:13 T:140469614913280 DEBUG: CurlFile::Open(0x7fc18807a920) https://lh6.googleusercontent.com/-***.jpg

The more images, the longer it takes to load. Roughly a second per image.
Does that help?
(This post was last modified: 2014-09-28 20:25 by Frank-NL.)
find quote
ruuk Offline
Skilled Python Coder
Posts: 1,547
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #210
(2014-09-28 20:17)Frank-NL Wrote:  Three minutes for 115 photos. I cannot really share the debug log since the URLs that are logged contain photos that are visible even when not logged in with my own google account. That's actually kinda scary... (they do have a limited life span it seems)

Here's a snippet without the proper URLs:

19:44:10 T:140471083784000 DEBUG: LIRC: Update - NEW at 37266:160 0 KEY_OK devinput (KEY_OK)
19:44:10 T:140471083784000 DEBUG: OnKey: 11 (0x0b) pressed, action is Select
19:44:10 T:140471083784000 DEBUG: CAnnouncementManager - Announcement: OnClear from xbmc
19:44:10 T:140471083784000 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnClear
19:44:11 T:140471083784000 DEBUG: CCurlFile::GetMimeType - https://lh6.googleusercontent.com/-***.jpg -> image/jpeg
19:44:11 T:140471083784000 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
19:44:11 T:140471083784000 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
19:44:11 T:140471083784000 DEBUG: AddOnLog: Tvheadend Client: pvr.tvh - Announce(flag=Playlist, sender=xbmc, message=OnAdd)
19:44:12 T:140471083784000 DEBUG: CCurlFile::GetMimeType - https://lh3.googleusercontent.com/-***.jpg -> image/jpeg
19:44:12 T:140471083784000 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
19:44:12 T:140471083784000 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
19:44:12 T:140471083784000 DEBUG: AddOnLog: Tvheadend Client: pvr.tvh - Announce(flag=Playlist, sender=xbmc, message=OnAdd)
19:44:12 T:140471083784000 DEBUG: CCurlFile::GetMimeType - https://lh5.googleusercontent.com/-***.jpg -> image/jpeg
19:44:12 T:140471083784000 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
19:44:12 T:140471083784000 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
19:44:14 T:140471083784000 DEBUG: CCurlFile::GetMimeType - https://lh6.googleusercontent.com/-***.jpg -> image/jpeg
19:44:14 T:140471083784000 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
19:44:14 T:140471083784000 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd

this continues for a while until

19:47:11 T:140471083784000 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
19:47:11 T:140471083784000 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
19:47:13 T:140471083784000 DEBUG: CCurlFile::GetMimeType - https://lh4.googleusercontent.com/-***.jpg -> image/jpeg
19:47:13 T:140471083784000 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
19:47:13 T:140471083784000 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
19:47:13 T:140471083784000 DEBUG: UPnP: Building didl for object ''
19:47:13 T:140471083784000 DEBUG: Activating window ID: 12007
19:47:13 T:140471083784000 DEBUG: ------ Window Deinit (MyPics.xml) ------
19:47:13 T:140471083784000 DEBUG: ------ Window Init (SlideShow.xml) ------
19:47:13 T:140471083784000 INFO: Loading skin file: SlideShow.xml, load type: KEEP_IN_MEMORY
19:47:13 T:140471083784000 DEBUG: Loading the current image 0: https://lh6.googleusercontent.com/-***.jpg
19:47:13 T:140469614913280 NOTICE: Thread BgPicLoader start, auto delete: false
19:47:13 T:140469614913280 DEBUG: CurlFile::Open(0x7fc18807a920) https://lh6.googleusercontent.com/-***.jpg

The more images, the longer it takes to load. Roughly a second per image.
Does that help?

I did some investigating and this seems to be an XBMC issue. When you click on a photo, XBMC starts a slideshow for the folder that contains that photo. I'm not sure exactly what it does while doing that (though it seems like it downloads all the images) but this explains the issue. It is the same with my flickr addon. I'll have to check a nightly build to see if it's still an issue and then file a bug report.

A workaround for now is to set the per page to something lower like 10 - 50. You can still do a slideshow of the whole folder by using the recursive slideshow option in the slide-out menu.

[Image: sig.jpg]
find quote
Post Reply