speed32219 Wrote:Is there anyway that the authorization handshake could take place right from the plugin?It is possible, but not easy.
I may get around to attempting to make it work one day.
ruuk
Skilled Python Coder Joined: Aug 2005 Reputation: 133 Location: Bremerton, WA USA |
2010-11-28 23:31
Post: #11
speed32219 Wrote:Is there anyway that the authorization handshake could take place right from the plugin?It is possible, but not easy. I may get around to attempting to make it work one day. |
| find quote |
dormamu
Member Joined: Sep 2010 Reputation: 0 |
2010-12-29 14:33
Post: #12
V0.9.33 works like charm...
Thanks for this great picture add-on Asrock ION 330Ht, Ubuntu Lucid, XBMC Eden final, Lightbox Zotac Zbox HD-ID11, Ubuntu Ocelot, XBMC Eden final, Xperience1080 |
| find quote |
mcborzu
Skilled Skinner Joined: Feb 2009 Reputation: 15 Location: dsf |
2010-12-31 01:51
Post: #13
Any thoughts on making this available on Home in the same way Recently added is for Movies? Like Recently added pics from friends or even just a random pics from Facebook friends?
I can cheat a use special://profile/addon_data/plugin.image.facebook/cache/ for the random pics but I think more people would rather have Recently added pics if possible... Check out The Carmichael - A Skin For XBMC Check out Night - A Skin For XBMC Check out Unfinished - A Skin For XBMC |
| find quote |
ruuk
Skilled Python Coder Joined: Aug 2005 Reputation: 133 Location: Bremerton, WA USA |
2011-01-04 21:05
Post: #14
mcborzu Wrote:Any thoughts on making this available on Home in the same way Recently added is for Movies? Like Recently added pics from friends or even just a random pics from Facebook friends? Sorry about the late reply :o Interesting idea. That would involve some form of skin integration wouldn't it? (ie a skin would have to be modified to use it) I'd be open to it at some point. Right now I'm busy with one last addon that will help my other addons by allowing authorization within XBMC. |
| find quote |
Rainmak3r
Junior Member Posts: 9 Joined: Jan 2011 Reputation: 0 |
2011-01-06 16:58
Post: #15
Hi,
I've just started playing with XBMC (a couple of days), and of course also tried the FB plugin. I managed to login and have a look at my photos and videos. It generally seems to work fine, except for the fact that it is VERY slow at times, and sometimes fails. For instance, when getting the Friends list, it seems to go on forever (taking like 3-4 seconds for every friend, and I have many), and then failing before completion (script failed popup appears). This is what the log tells about it: Code: IOError: [Errno socket error] The read operation timed outwhich suggest that at some point the slow becomes stalled or something alike. Trying again starts from where it left, but so far I haven't been able to complete the friends directory listing, since it always fails after a while, and I gave up. Is this a known bug or problem? I don't know if it's relevant, but I'm using XBMC on Fedora, which uses Python 2.7: I've already found out how to fix the Youtube plugin which had a problem because of that, and so I was wondering whether it may be the case for the FB plugin as well. Thanks for the great work you've put in the plugin so far! |
| find quote |
ruuk
Skilled Python Coder Joined: Aug 2005 Reputation: 133 Location: Bremerton, WA USA |
2011-01-06 18:11
Post: #16
Rainmak3r Wrote:Hi, I can't really diagnose the problem without more of the log output. My guess is that it times out fetching one of the 'friends' photos. Since you have large number of friends this probably increases the chance of this happening. Normally with a plugin you can give xbmc the photo and it will handle retrieving it in a nice threaded fashion. For some reason with the friends photos that doesn't work, so to display them I have to fetch them all in order to display the list with the photos. There is an option in the addon settings that allows you to disable fetching these photos. Try turning that off for now. I will modify the code so that a failure on one photo doesn't prevent it from finishing the list and put that in the next update. It will still be slow getting all the photos, but there is not much I can do about that, but it caches them so it only has to do this once. I'm finishing up code to allow users to authorize the plugin from within XBMC, and after that is done I will release an update. Also in looking at the code just now I realized that the plugin is only showing the first 25 photos in each album with no paging options I'll add that in the next update as well.
|
| find quote |
Rainmak3r
Junior Member Posts: 9 Joined: Jan 2011 Reputation: 0 |
2011-01-06 18:22
Post: #17
ruuk Wrote:I can't really diagnose the problem without more of the log output. My guess is that it times out fetching one of the 'friends' photos. Since you have large number of friends this probably increases the chance of this happening. I eventually managed to get the friends list: I guess the last "bad" picture (the one causing the plugin to fail) was finally retrieved and the plugin managed to get the remaining ones flawlessly ![]() Once done with that, the plugin went much faster, so I guess that since it's only slow the first time the plugin is setup that's not a great issue! I also noticed the 25 photos limitation by playing with my friends photos: thanks for fixing this! |
| find quote |
reta
Senior Member Joined: Jan 2006 Reputation: 0 |
2011-01-08 00:25
Post: #18
The addon asks me to re-authorize and refers me to the address "http://2ndmind.com/facebook..." and I don't really know the rest of it... could someone help and paste the whole address?
|
| find quote |
ruuk
Skilled Python Coder Joined: Aug 2005 Reputation: 133 Location: Bremerton, WA USA |
2011-01-08 00:37
Post: #19
reta Wrote:The addon asks me to re-authorize and refers me to the address "http://2ndmind.com/facebook..." and I don't really know the rest of it... could someone help and paste the whole address? It's http://2ndmind.com/facebookphotos I guess your skin uses a larger font The upcoming version will not require you to leave XBMC for authorization. |
| find quote |
reta
Senior Member Joined: Jan 2006 Reputation: 0 |
2011-01-08 01:06
Post: #20
ruuk Wrote:It's http://2ndmind.com/facebookphotos Hehe thanks, I actually figured it out minutes earlier by looking at the python file, but I actually have two other questions, I would really appreciate it if you could help me out. First of all, all directories open very slowly (10-20 seconds each directory I enter) but maybe that's the way it is for everyone? (I have a 100mbit internet connection, so the bandwith is definetly not the restriction/problem). The other question I have regards opening the actual photos. Nothing happens when I try to open up a photo and after a while I get a error message. Here is the end of my log: http://pastebin.com/v1trUJNS I really hope you can help me. Thanks in advance! |
| find quote |