[RELEASE] flickr Media - flickr media image plugin addon

  Thread Rating:
  • 2 Votes - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ruuk Offline
Skilled Python Coder
Posts: 898
Joined: Aug 2005
Reputation: 128
Location: Bremerton, WA USA
Thumbs Up  [RELEASE] flickr Media - flickr media image plugin addon Post: #1
[Image: flickr.jpg]

flickr image plugin currently available from the Addon manager.

Newest bleeding edge updates available on my REPO.

Browse your photostream, collections, sets, galleries, tags, places, and favorites. Browse your contacts and their content. Search you or your contacts photostream, or search flickr. View today's interesting photos.

First time use will require authentication on a machine with a browser or via Web Viewer if installed. Follow the instructions from the dialogs in the plugin.

Please let me know about bugs, authentication problems, or bad translations.

Enjoy!

ruuk
(This post was last modified: 2013-01-24 19:38 by ruuk.)
find quote
sandos Offline
Member
Posts: 99
Joined: May 2008
Reputation: 0
Post: #2
Sets and collections crashes the script for me. Any way to get a log?
find quote
ruuk Offline
Skilled Python Coder
Posts: 898
Joined: Aug 2005
Reputation: 128
Location: Bremerton, WA USA
Post: #3
The log file shoud be located in:

Windows: C:\Documents and Settings\[username]\Application Data\XBMC\temp\xbmc.log
Vista: C:\Users\[username]\AppData\Roaming\XBMC\temp\xbmc.log
Linux: home/[username]/.xbmc/temp/xbmc.log
OSX: /Users/[username]/Library/Application Support/XBMC/temp/xbmc.log

if you could check that out right after it crashes and find and post the error that would help.
Any information about your setup is usually useful as well (for instance so I don't have to find all the possible locations of the log file location Smile )
Also info about how many sets you have, whether collections crashes when you first select it or when you are somewhere down the tree, etc

Thanks
ruuk
find quote
ruuk Offline
Skilled Python Coder
Posts: 898
Joined: Aug 2005
Reputation: 128
Location: Bremerton, WA USA
Post: #4
Fixed a bug with handling non-ascii characters for version 0.9.5
I think that will solve your collections and sets problems, sandos.

ruuk
find quote
swalter Offline
Junior Member
Posts: 12
Joined: May 2010
Reputation: 0
Post: #5
Ruuk,

I got through the authentication process once but the script failed after I had entered all the info. Wasn't sure why, uninstalled and re-installed, but now it doesn't even give me the option to go to the web site and authenticate. The relevant portion of the logfile is:

01:26:56 T:3116 M:2845368320 NOTICE: -->Python Interpreter Initialized<--
01:26:59 T:3116 M:2841915392 NOTICE: Mode: None
01:26:59 T:3116 M:2841915392 NOTICE: URL: None
01:26:59 T:3116 M:2841915392 NOTICE: Name: None
01:26:59 T:3116 M:2841915392 NOTICE: Page: 1
01:27:00 T:3116 M:2838863872 ERROR: Error Type: flickrapi.exceptions.FlickrError
01:27:00 T:3116 M:2838863872 ERROR: Error Contents: Error: 1: User not found
01:27:00 T:3116 M:2838863872 ERROR: Traceback (most recent call last):
File "C:\Users\<user name>\AppData\Roaming\XBMC\addons\plugin.image.flickr\default.py", line 600, in ?
doPlugin()
File "C:\Users\<user name>\AppData\Roaming\XBMC\addons\plugin.image.flickr\default.py", line 516, in doPlugin
fsession.authenticate()
File "C:\Users\<user name>\AppData\Roaming\XBMC\addons\plugin.image.flickr\default.py", line 164, in authenticate
user = self.flickr.people_findByUsername(username=self.username)
File "C:\Users\<user name>\AppData\Roaming\XBMC\addons\plugin.image.flickr\flickrapi\__init__.py", line 349, in handler
parse_format=args['format'], **args)
File "C:\Users\<user name>\AppData\Roaming\XBMC\addons\plugin.image.flickr\flickrapi\__init__.py", line 435, in __wrap_in_parser
return parser(self, data)
File "C:\Users\<user name>\AppData\Roaming\XBMC\addons\plugin.image.flickr\flickrapi\__init__.py", line 278, in parse_etree
raise FlickrError(u'Error: %(code)s: %(msg)s' % err.attrib)
FlickrError: Error: 1: User not found
01:27:01 T:1836 M:2838814720 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.image.flickr/
01:27:01 T:1836 M:2838814720 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.image.flickr/) failed

Thanks for any input on how to resolve this.
find quote
ruuk Offline
Skilled Python Coder
Posts: 898
Joined: Aug 2005
Reputation: 128
Location: Bremerton, WA USA
Post: #6
swalter Wrote:Ruuk,

I got through the authentication process once but the script failed after I had entered all the info. Wasn't sure why, uninstalled and re-installed, but now it doesn't even give me the option to go to the web site and authenticate. The relevant portion of the logfile is:

FlickrError: Error: 1: User not found

Thanks for any input on how to resolve this.

It appears that it the username the script has for you is not being found on flickr. Check the addon's settings and see if the username matches exactly your flicker account. Try making the username blank (backspace over all the characters) You don't actually need to set the username yourself. Once you authenticate the script can get it from flickr. That should probably work. But thanks for bringing this up. I should make the script handle this error with a message.
find quote
ruuk Offline
Skilled Python Coder
Posts: 898
Joined: Aug 2005
Reputation: 128
Location: Bremerton, WA USA
Post: #7
Posted to repository.

Adds Chinese (Traditional) Language - thanks to Ramius
find quote
eos33 Offline
Junior Member
Posts: 2
Joined: Dec 2010
Reputation: 0
Post: #8
Hi Ruuk,
I was trying to install the flickrXBMC on my XBMC Live.
And set the user name in addon's setting.
While trying to open the flickrXBMC from the main menu,
the dialog will ask the email and ID.
The email is the username@yahoo.com,right?
And the ID == "the user name in addon's"?

Thank you so much..
find quote
ruuk Offline
Skilled Python Coder
Posts: 898
Joined: Aug 2005
Reputation: 128
Location: Bremerton, WA USA
Post: #9
eos33 Wrote:Hi Ruuk,
I was trying to install the flickrXBMC on my XBMC Live.
And set the user name in addon's setting.
While trying to open the flickrXBMC from the main menu,
the dialog will ask the email and ID.
The email is the username@yahoo.com,right?
And the ID == "the user name in addon's"?

Thank you so much..

When you first use the addon, it directs you to go to http://2ndmind.com/flickrxbmc (My personal domain)

When you go there it re-directs to flickr authorization which re-directs to a page asking for a secret code and your email address. What email address and code you put here are not important, they are just a means for generating a unique id for the next step.

After you submit the code and email you go back to XBMC and enter the same email and code you entered on the site.

The addon then connects to the 2ndmind site and uses this info to find your access token which allows the addon to access your flickr info.

I hope that made sense Smile

I know this is annoying but you only have to do it the first time (normally).

I am working on a way to do it all within XBMC, but that isn't ready yet.

Hope that helped Smile
find quote
eos33 Offline
Junior Member
Posts: 2
Joined: Dec 2010
Reputation: 0
Post: #10
Hi Ruuk,
Appreciate for your reply.
I was linking to http://2ndmind.com/flickrxbmc with my laptop.
As you said,it really did need to submit the secret code and email.
And it shows up "Enter the above email and code into the dialogs on flickrXBMC.
Expires in 1 hour."
So what I need to do is re-enter the email and code into the flickrXBMC of XBMC Live again...right?
I think there is no built-in web browser in XBMC Live.
It might cause the re-direct to http://2ndmind.com/flickrxbmc failed...

Just want to say thank you the addons.
They are really useful and fancy for my families who are not fimiliar with computers.
find quote
Post Reply