Release - flickr Media - flickr media image plugin addon

  Thread Rating:
  • 4 Votes - 3.75 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ruuk Offline
Skilled Python Coder
Posts: 1,496
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #31
KidVulcan Wrote:Hi, will this work with eden, if yes then were do I find it?

Sorry for the late reply. It works with Eden, but I haven't actually updated it to be accepted for the repository yet. That's coming soon.

[Image: sig.jpg]
find quote
ruuk Offline
Skilled Python Coder
Posts: 1,496
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #32
As I'm moving to update the Addon to Eden, I was thinking of making this an App rather than plug-in.

Anyone have any thoughts on that?
Any reason I should keep the plug-in format?

Thanks.

[Image: sig.jpg]
find quote
biga888 Offline
Junior Member
Posts: 3
Joined: Jan 2012
Reputation: 0
Post: #33
Hi I tried to run under Eden but I keep getting the following. I get no chance to enter in any auth code etc.

13:32:30 T:2800753552 DEBUG: StartScript - calling plugin flickr('plugin://plugin.image.flickr/','0','')
13:32:30 T:2800753552 INFO: initializing python engine.
13:32:30 T:2800753552 DEBUG: new python thread created. id=16
13:32:30 T:2696838032 DEBUG: Thread XBPyThread start, auto delete: 0
13:32:30 T:2696838032 DEBUG: Python thread: start processing
13:32:30 T:2696838032 NOTICE: -->Python Interpreter Initialized<--
13:32:30 T:2696838032 DEBUG: Process - The source file to load is /root/.xbmc/addons/plugin.image.flickr/default.py
13:32:30 T:2696838032 DEBUG: Process - Setting the Python path to /root/.xbmc/addons/plugin.image.flickr:/root/.xbmc/addons/script.module.simplejson/lib:/root/.xbmc/addons/script.module.beautifulsoup/lib:/usr/local/share/xbmc/addons/script.module.pil/lib:/root/.xbmc/addons/script.common.plugin.cache/lib:/root/.xbmc/addons/script.module.simple.downloader/lib:/root/.xbmc/addons/script.module.parsedom/lib:/root/.xbmc/addons/script.web.viewer/lib:/root/.xbmc/addons/script.module.elementtree/lib:/usr/local/share/xbmc/addons/script.module.pysqlite/lib:/usr/local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg:/usr/local/lib/python2.6/site-packages/pip-1.0-py2.6.egg:/usr/local/lib/python26.zip:/usr/local/lib/python2.6:/usr/local/lib/python2.6/plat-linux2:/usr/local/lib/python2.6/lib-tk:/usr/local/lib/python2.6/lib-old:/usr/local/lib/python2.6/lib-dynload:/usr/local/lib/python2.6/site-packages:
13:32:30 T:2696838032 DEBUG: Process - Entering source directory /root/.xbmc/addons/plugin.image.flickr
13:32:30 T:2800753552 DEBUG: WaitOnScriptResult - waiting on the flickr plugin...
13:32:30 T:2696838032 DEBUG: Instantiating addon using automatically obtained id of "plugin.image.flickr" dependent on version 1.0 of the xbmc.python api
13:32:30 T:2696838032 NOTICE: Mode: None
13:32:30 T:2696838032 NOTICE: URL: None
13:32:30 T:2696838032 NOTICE: Name: None
13:32:30 T:2696838032 NOTICE: Page: 1
13:32:30 T:2696838032 NOTICE: [Errno -2] Name or service not known
13:32:30 T:2696838032 INFO: -->Python script returned the following error<--
13:32:30 T:2696838032 ERROR: Error Type: <class 'urllib2.URLError'>
13:32:30 T:2696838032 ERROR: Error Contents: <urlopen error [Errno -2] Name or service not known>
13:32:30 T:2696838032 ERROR: Traceback (most recent call last):
File "/root/.xbmc/addons/plugin.image.flickr/default.py", line 683, in <module>
doPlugin()
File "/root/.xbmc/addons/plugin.image.flickr/default.py", line 599, in doPlugin
if not fsession.authenticate():
File "/root/.xbmc/addons/plugin.image.flickr/default.py", line 227, in authenticate
(token, frob) = self.flickr.get_token_part_one(perms='read',auth_callback=self.doTokenDialog)
File "/root/.xbmc/addons/plugin.image.flickr/flickrapi/__init__.py", line 749, in get_token_part_one
rsp = self.auth_getFrob(auth_token=None, format='xmlnode')
File "/root/.xbmc/addons/plugin.image.flickr/flickrapi/__init__.py", line 349, in handler
parse_format=args['format'], **args)
File "/root/.xbmc/addons/plugin.image.flickr/flickrapi/__init__.py", line 427, in __wrap_in_parser
data = wrapped_method(*args, **kwargs)
File "/root/.xbmc/addons/plugin.image.flickr/flickrapi/__init__.py", line 402, in __flickr_call
flicksocket = urllib2.urlopen(url, post_data)
File "/usr/local/lib/python2.6/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/local/lib/python2.6/urllib2.py", line 391, in open
response = self._open(req, data)
File "/usr/local/lib/python2.6/urllib2.py", line 409, in _open
'_open', req)
File "/usr/local/lib/python2.6/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/usr/local/lib/python2.6/urllib2.py", line 1181, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/local/lib/python2.6/urllib2.py", line 1156, in do_open
raise URLError(err)
URLError: <urlopen error [Errno -2] Name or service not known>
13:32:30 T:2696838032 INFO: -->End of Python script error report<--
13:32:30 T:2696838032 INFO: Python script stopped
13:32:30 T:2696838032 DEBUG: Thread XBPyThread 2696838032 terminating
13:32:30 T:2800753552 DEBUG: WaitOnScriptResult - plugin exited prematurely - terminating
13:32:30 T:3041801968 ERROR: GetDirectory - Error getting plugin://plugin.image.flickr
13:32:30 T:3041801968 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.image.flickr) failed
13:32:30 T:3041801968 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/image/)
13:32:30 T:3041801968 DEBUG: ParentPath = []
13:32:30 T:2938604432 DEBUG: Thread Background Loader start, auto delete: 0
13:32:30 T:2938604432 DEBUG: Thread Background Loader 2938604432 terminating
13:32:30 T:2738801552 DEBUG: Thread Background Loader start, auto delete: 0
13:32:30 T:2738801552 DEBUG: Thread Background Loader 2738801552 terminating
13:32:30 T:3041801968 DEBUG: waiting for python thread 16 to stop
13:32:30 T:3041801968 DEBUG: python thread 16 destructed
find quote
ruuk Offline
Skilled Python Coder
Posts: 1,496
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #34
biga888 Wrote:Hi I tried to run under Eden but I keep getting the following. I get no chance to enter in any auth code etc.

I submitted a new version for Eden yesterday. It's not approved yet but try that one when it is and see if it works.

If I get a chance I'll make a zip and post a download link so you don't have to wait (though it should only take a day or so)

I'm not sure what's going on with that error. What did you do that led up to that error - for instance did the dialog show asking you to choose you authentication method and which did you select?

[Image: sig.jpg]
find quote
biga888 Offline
Junior Member
Posts: 3
Joined: Jan 2012
Reputation: 0
Post: #35
I try and click the plugin, and all I get is a script error in the lower right of the screen. I can get into the add-on settings ok, but the script will not run from the photo add-ons.

I looked at the changes for the plugin on the google repository and I did not see anything change except the version numbers. Unless I was looking in the wrong place.
find quote
ruuk Offline
Skilled Python Coder
Posts: 1,496
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #36
biga888 Wrote:I try and click the plugin, and all I get is a script error in the lower right of the screen. I can get into the add-on settings ok, but the script will not run from the photo add-ons.

I looked at the changes for the plugin on the google repository and I did not see anything change except the version numbers. Unless I was looking in the wrong place.

Try this zip:

http://flickrxbmc.googlecode.com/files/p...0.9.92.zip

It may not fix your problem, but it will be easier to debug with this version.

The error seems to be related to resolving the flickr authorization URL:

http://api.flickr.com/services/auth/

What OS are you running XBMC on? If you can, type that url into a browser on the same machine and see if resolves the page.

This doesn't look at first glance to be a problem with the addon itself, but it's really hard to tell without more info.

[Image: sig.jpg]
find quote
ruuk Offline
Skilled Python Coder
Posts: 1,496
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #37
Version 0.9.92 should now be on Eden.

Minor changes to be Eden compatible and some improvement in error handling.

[Image: sig.jpg]
find quote
biga888 Offline
Junior Member
Posts: 3
Joined: Jan 2012
Reputation: 0
Post: #38
OK, got it working.

I was messing around with my python install, and I hosed it. I just dd a reinstall and it works with both versions. Thank for the help, great to see my pictures now!
find quote
ruuk Offline
Skilled Python Coder
Posts: 1,496
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #39
Added sharing with ShareSocial.

Download v0.9.93 zip

ShareSocial thread - go here for info about the new features.

[Image: sig.jpg]
(This post was last modified: 2012-03-17 22:22 by ruuk.)
find quote
ruuk Offline
Skilled Python Coder
Posts: 1,496
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #40
View videos (finally)

Get it here:

http://flickrxbmc.googlecode.com/files/p...0.9.94.zip

[Image: sig.jpg]
find quote
ruuk Offline
Skilled Python Coder
Posts: 1,496
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #41
Small update that will only affect you if you are using ShareSocial and have an empty flickr photostream. And then it will really only change the log file entries Smile

Get it here:

http://flickrxbmc.googlecode.com/files/p...0.9.95.zip

[Image: sig.jpg]
find quote
oschmitto Offline
Junior Member
Posts: 1
Joined: Jun 2012
Reputation: 0
Post: #42
I am not able to get the Flickr code, the link you provide, seems to direct to a "dead" web
find quote
ruuk Offline
Skilled Python Coder
Posts: 1,496
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #43
(2012-06-02 15:12)oschmitto Wrote:  I am not able to get the Flickr code, the link you provide, seems to direct to a "dead" web
The credit card info I had with my registrar was out of date, but instead of notifying me, they appear to have taken my domain offline Sad. You can use .net instead of .com until I get it cleared up.

[Image: sig.jpg]
find quote
ruuk Offline
Skilled Python Coder
Posts: 1,496
Joined: Aug 2005
Reputation: 182
Location: Bremerton, WA USA
Post: #44
(2012-06-02 20:02)ruuk Wrote:  
(2012-06-02 15:12)oschmitto Wrote:  I am not able to get the Flickr code, the link you provide, seems to direct to a "dead" web
The credit card info I had with my registrar was out of date, but instead of notifying me, they appear to have taken my domain offline Sad. You can use .net instead of .com until I get it cleared up.

2ndmind.com is fixed and will be working again as soon as DNS propagates.

[Image: sig.jpg]
find quote
Kaio85 Offline
Junior Member
Posts: 12
Joined: Dec 2010
Reputation: 0
Post: #45
Hi
Thank you for this great Add-on !!!
Is there a possibilty to use this add-on on two different XBMC-setups with only one Flickr-account?
Because I´m unable to login on both htpc, it seems that the code is only valid for one setup Sad

THX
find quote
Post Reply