Facebook-Media - Facebook Photo/Video Addon - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Picture Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=150) +---- Thread: Facebook-Media - Facebook Photo/Video Addon (/showthread.php?tid=82500) |
- ruuk - 2011-01-06 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. - Rainmak3r - 2011-01-06 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! - reta - 2011-01-08 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? - ruuk - 2011-01-08 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. - reta - 2011-01-08 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! - ruuk - 2011-01-08 reta Wrote: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 Loading the list of friends or albums will be slow because it needs to download all the thumbnails before display (you can turn off thumbnails for these in the addon settings) Other slowness is a combination of factors. Part of it is the fact that a plugin has to load the whole script for every directory you show. I could probably optimize that a bit. I'll try to do that for the next release. I don't know why it's failing to display photos. Your debug log doesn't show any errors. Are the thumbnails displaying? The thing is, once the directory is displayed, XBMC handles the actual fetching of the URL and displaying the image. You say you get an error message. What is the message? Perhaps you could give me more log info (the bit you sent had very little of the actual facebook activity) If you want to send the whole log you could send it to [email protected]. - ruuk - 2011-01-08 reta Wrote: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 was looking through your logs and I found the bit shown below. It looks like for some reason XBMC is unable to find the right kind of player for the image. If you look at the beginning, it identifies the mime type properly as image/jpeg, but then at the end it ends up using the DVDPlayer to play the image, which fails (shown later in the log, not in this snippet) I'm not sure why this is happening for you, but I don't think it has anything to do with the plugin. The logs don't seem to indicate something external to the plugin and none of the 4000+ users of this addon has reported this problem before. Also, It sounds like you have a somewhat unique setup Hopefully I've been somewhat helpful. Let me know if you still have questions. Also, if anyone else knows what is going on here please feel free to chime in Code: # Version 0.9.4 - ruuk - 2011-01-09 Submitted... may take some time to appear on the repo. Biggest change is that authorizations are now handled in XBMC via my new Web Viewer addon. Now displays more than 25 photos (I can't believe I didn't notice this before ) And some speed optimizations. - MarioXD - 2011-01-13 I cant enter in my friend - ruuk - 2011-01-13 MarioXD Wrote:I cant enter in my friend Can you please be more specific. I'm not sure what you are trying to say - MarioXD - 2011-01-13 The addon works fine, but when I go to my friends bug me. sorry my english - ruuk - 2011-01-13 MarioXD Wrote:The addon works fine, but when I go to my friends bug me. Could you send a copy of the xbmc.log file to to [email protected] This link will show you where to look for the log file: http://wiki.xbmc.org/index.php?title=Log_File - MarioXD - 2011-01-13 I already sent, thx - ruuk - 2011-01-13 MarioXD Wrote:I already sent, thx I think I fixed it. Try installing the zip located below: http://facebookphotos-xbmc.googlecode.com/files/plugin.image.facebook-0.9.5.zip - MarioXD - 2011-01-13 ohh now works, ty |