[RELEASE] Facebook-Media - Facebook Photo/Video Addon

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ruuk Online
Skilled Python Coder
Posts: 898
Joined: Aug 2005
Reputation: 128
Location: Bremerton, WA USA
Post: #21
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

I really hope you can help me. Thanks in advance!

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 xbmc@2ndmind.net.
find quote
ruuk Online
Skilled Python Coder
Posts: 898
Joined: Aug 2005
Reputation: 128
Location: Bremerton, WA USA
Post: #22
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 really hope you can help me. Thanks in advance!

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 Smile

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 Smile
Code:
#
23:52:15 T:3952 M:922587136   DEBUG: CFileCurl::GetMimeType - http://sphotos.ak.fbcdn.net/photos-ak-snc1/v1967/183/68/619811332/n619811332_1673506_3270.jpg -> image/jpeg
#
23:52:15 T:3952 M:922505216   DEBUG: CPlayerCoreFactory::GetPlayers(http://sphotos.ak.fbcdn.net/photos-ak-snc1/v1967/183/68/619811332/n619811332_1673506_3270.jpg)
#
23:52:15 T:3952 M:922505216   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
#
23:52:15 T:3952 M:922505216   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
#
23:52:15 T:3952 M:922505216   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
#
23:52:15 T:3952 M:922505216   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/rtmp/mms/udp
#
23:52:15 T:3952 M:922505216   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
#
23:52:15 T:3952 M:922505216   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
#
23:52:15 T:3952 M:922505216   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
#
23:52:15 T:3952 M:922505216   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: streams
#
23:52:15 T:3952 M:922505216   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: flv/aacp/sdp
#
23:52:15 T:3952 M:922505216   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mp2
#
23:52:15 T:3952 M:922505216   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
#
23:52:15 T:3952 M:922505216   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdfile
#
23:52:15 T:3952 M:922505216   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
#
23:52:15 T:3952 M:922505216   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
#
23:52:15 T:3952 M:922505216   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
#
23:52:15 T:3952 M:922505216   DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
#
23:52:15 T:3952 M:922505216   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
#
23:52:15 T:3952 M:922505216   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
#
23:52:15 T:3952 M:922505216   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
#
23:52:15 T:3952 M:922505216   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
#
23:52:15 T:3952 M:922505216   DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
#
23:52:15 T:3952 M:922243072  NOTICE: DVDPlayer: Opening: http://sphotos.ak.fbcdn.net/photos-ak-snc1/v1967/183/68/619811332/n619811332_1673506_3270.jpg
find quote
ruuk Online
Skilled Python Coder
Posts: 898
Joined: Aug 2005
Reputation: 128
Location: Bremerton, WA USA
Post: #23
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 Smile )
And some speed optimizations.
find quote
MarioXD Offline
Junior Member
Posts: 21
Joined: Jul 2010
Reputation: 0
Post: #24
I cant enter in my friend
find quote
ruuk Online
Skilled Python Coder
Posts: 898
Joined: Aug 2005
Reputation: 128
Location: Bremerton, WA USA
Post: #25
MarioXD Wrote:I cant enter in my friend

Can you please be more specific. I'm not sure what you are trying to say Smile
find quote
MarioXD Offline
Junior Member
Posts: 21
Joined: Jul 2010
Reputation: 0
Post: #26
The addon works fine, but when I go to my friends bug me.

[Image: screenshot002bza.png]

sorry my english
find quote
ruuk Online
Skilled Python Coder
Posts: 898
Joined: Aug 2005
Reputation: 128
Location: Bremerton, WA USA
Post: #27
MarioXD Wrote:The addon works fine, but when I go to my friends bug me.
sorry my english

Could you send a copy of the xbmc.log file to to xbmc@2ndmind.net

This link will show you where to look for the log file:
http://wiki.xbmc.org/index.php?title=Log_File
find quote
MarioXD Offline
Junior Member
Posts: 21
Joined: Jul 2010
Reputation: 0
Post: #28
I already sent, thx
find quote
ruuk Online
Skilled Python Coder
Posts: 898
Joined: Aug 2005
Reputation: 128
Location: Bremerton, WA USA
Post: #29
MarioXD Wrote:I already sent, thx

I think I fixed it. Try installing the zip located below:

http://facebookphotos-xbmc.googlecode.co...-0.9.5.zip
find quote
MarioXD Offline
Junior Member
Posts: 21
Joined: Jul 2010
Reputation: 0
Post: #30
ohh now works, ty Smile
find quote
Post Reply