Introducing Flickr For Your Xbox Media Center

Access all of your archived photos from your living room. The perfect addition to Xbox Media Center, flickr. Now you have one more place to show off all of your photos, your living room. Flickr is a natural addition to one of the best media centers available. Its one more reason to hop on the Xbmc train.
Versioning:
Beta2:
Ripped out the settings manager. Add your email and choose your screen aspect at the top of the flickr.py file now.
Script can be installed anywhere now. (Thanks Alexandre Perret)
Note: A bug has been found involving your buddy icon. If you don’t have a custom buddy icon in your flickr account, the plugin will crash. For now, set one. This will be fixed soon. This should explain the crashes that random people have been experiencing.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License.


great work! I’ve been waiting for this ;)
Comment by GuilleBe — July 10, 2005 @ 7:36 am
Wow, that’s really cool. I had no idea that you could do this kinda stuff with Xboxes.
This makes me really want to get a Xbox 360 when it comes out… (still deciding what console to get).
Comment by shorty114 — July 11, 2005 @ 8:54 am
This is awesome.
Comment by Brad — July 11, 2005 @ 9:15 am
This is really nice. One question, though. Is there a way to include your password for pictures that are only availabe to family and friends?
Comment by Lance — July 11, 2005 @ 2:01 pm
can you do this for the regular media center pc? This would be awesome. Can you just download the software, or do you have to rewrite the code?
Comment by Michael — July 12, 2005 @ 12:54 pm
Xbmc and Microsoft Media Center are 2 different animals completely. So no this won’t work. I have no idea how easy it is to plugin to MS media center, but i’m sure its not that easy. Xbmc simply uses python, so its trivial. I’m not a Windows user so I really dont know much about their media center’s capabilities, except that its totally crippled as far as codecs go.
Comment by Jon — July 12, 2005 @ 12:57 pm
Hmmm….I can’t get it to work. I am running XBMC - not sure what version - how can I tell? It’s maybe 3? months old. I put the Flickr dir in the scripts folder then I ran it by going to the far right corner and clicking the uparrow button and choosing scripts, choosing flickr, then running the .py file. I went to setting and entered my flickr email address (is that right? not my username? nevermind - I tried my username and that didn’t work either) and saved it. Then I rebooted and tried running it and it still says “Oops enter an email address” and when I go there it has the email address I entered so i know it was saved.
Any ideas? Do I need the latest and greatest XBMC for this to work?
Thanks,
Brian
http://myvogonpoetry.com
Comment by Brian P — July 14, 2005 @ 6:52 pm
well, 3 months is pretty big in Xbmc dev time. Go get a newer build first and try it. Make sure thats the actual email address you use for flickr too.
Comment by Jon — July 14, 2005 @ 7:40 pm
Whoa, that is cool! I’ve been looking for something to do media from the xbox for a long time, been waiting for something like xbmc for a long time!
Comment by Mr. Blue — July 14, 2005 @ 9:57 pm
What’s new about this? can’t xbmc show your pictures with thumbs already without this plugin ?
Comment by Lior — July 15, 2005 @ 5:33 am
has anyone got this working in the latest version of xbmc (available through avalaunch at least)?
I had it working in the older version of xbmc, but nothing happens since i upgraded. Not sure what version I have but it is a new skin, all greyish.
Really want to get this going.
Comment by Greg — July 21, 2005 @ 8:16 pm
Hi.
If you are the author of the python script that enabled Flickr Access via XBMC,please let us know what to do in the new version. It is not working at all. First time prompts to enter valid email id. I assume its the flickr account. Where exactly do you enter the password? After entering email and restarting, nothing happens with the menu. HELP PLEASE
Comment by vinny — July 22, 2005 @ 12:13 pm
Wow, that UI is beautiful! Is it original? Can I use parts of it for my website’s theme? Who should I talk to about getting permission? Thanks!
Comment by Charlie Wood — July 27, 2005 @ 8:08 am
amigo disculpen lo amateur pero quiero actualizarle a mi xbox todo el software creo q es asi como se llama porque esta virgen porque le instale un disco duro mas amplio para guardar juegos y eso ven ayudenme please
Comment by yonny parada — August 5, 2005 @ 12:25 pm
e-mail address and aspect ratio added to .py script. Script copied to Scripts\flickr directory. Script says running, but nothing happens, and after a few seconds running text disappears. Running 31-JUL-2005 CVS build of XBMC.
Comment by GemNeye — August 7, 2005 @ 2:38 pm
just tried beta2 and still getting the same problems as the first one. I have a 16:9 TV and the photos show up overlapped. Also, i cant seem to open any of the photos from the thumbnail view…and none of the links on the left work either. I’m able to navigate on the screen but cant select anything. Note: i do have a custom flickr icon.
anyone getting this to work?
thanks
Comment by free — August 8, 2005 @ 2:23 pm
I’ve started a forum topic here at Jon’s request as a better place to discuss bugs and feature reqeusts.
Comment by Greg — August 12, 2005 @ 2:14 pm
I just setup a Pluto Home system (smarthome + media server, plutohome.com, free open source). It’s really cool. It has a streaming movie server, music server, pvr. Plus it does home automation and controls a/v equipment too. There’s only 1 problem…
You designate 1 PC to be the server; they call it the core. It exposes a network boot image for any other PC in the house, so your PC becomes dual purpose—normal pc, or net boot and it’s a set top box. You control it with Bluetooth mobile phones or web pads. And all the set top boxes in the house work together. Your media even follows you as you move from room to room if you keep the phone on. The problem is I don’t have enough media pc’s for all the rooms in my house, and buying a full PC for each room is too expensive. Plus there’s no video cards for the PC that have component video output—which is the only way I can get HDTV into my tv.
The X-Box seems perfect as a media director. It’s a PC inside, right? So why couldn’t it boot like normal as an Xbox, or net boot as a pluto media director? Then it would be part of a whole house solution that did everything. I could even use the Xbox to turn on my sprinklers if I wanted, and do all sorts of stuff with it. Plus, since Pluto gives it a network boot image, space is no longer an issue—all the software could be stored on the main server. And the XBox has component video and it’s quiet and cheap.
Does anybody have an idea if it would be possible to use the XBox as a media director like that, doing a network boot? Then I could just buy a few of the XBox’s rather than having to buy regular PC’s.
Comment by walter_3_d — August 23, 2005 @ 12:38 pm
Note that as of Oct 2005, Flickr seems to use 302 redirects… all instances of urllib.URLopener must be changed to urllib.FancyURLopener - I’m working on debugging other issues with xbmc v1.1.0 (build 20051010) - right now thumbnails are OK but photos do not show when clicked
Comment by Richard Dale — October 15, 2005 @ 5:04 pm
Thanks for the tip, I’ll make the changes.
Comment by Jon — October 16, 2005 @ 12:56 am
Is there a new version available? I’m impatient to put my hands on it! This one just does not work (no way to see nothing bigger than a thumbnail, too).
Thank you very much
Comment by Antani — October 26, 2005 @ 2:01 pm
For me it doesn’t seem to go anywhere.. it exits silently. It *does* get the nsid from flickr and creates a cache folder.
I took a look at the script and threw a print in after it’s supposed to receive focus, the dialog comes up, but notthing happens.
I did the “urllib.FancyURLopener” replace. I’ll keep looking at it and find out what line it’s exiting on.
Comment by Kevin Davis — November 27, 2005 @ 5:31 pm
Kevin Davis, please post here any discover you make. It would be greatly appreciated and useful!
Thanks, ciao
Comment by Antani — November 28, 2005 @ 8:05 am
Scratch that.. it seems that I was too quick to run the script after making the change? urllib.FancyURLopener allowed it to load up, but no luck selecting pictures. I’ll look at this a bit more when I get home tonight.
The color on the pictures look super saturated for anyone else? my TV’s color settings maybe? everything else looks fine..
Comment by Kevin Davis — November 28, 2005 @ 2:04 pm
Please, Kevin Davis, post here any discover you’ll made. I’ll follow your progresses closely! Thank you very much,
Antani
Comment by Antani — November 28, 2005 @ 2:52 pm
Hi there.
As the script didn’t work me either, I sat down and fixed it. It needed changing of the URL where to retrieve the buddy icon and the photos. I also did some changes so that the script runs in the XBMC python emulator and cleaned the button navigation code.
Download the original zip from the link above and then replace flickr.py with my version, that can be downloaded here. Then - as usual - modify the script and enter your email you chose for your Flickr account and upload it to your xbmc scripts folder.
Have fun,
Andreas
Comment by Andreas Kahler — January 24, 2006 @ 2:44 pm
wow, thank you, I’ll try this evening!
Please consider to submit it to www.xbmcscripts.com for automatic retrieving from XBMC!
Comment by antani — January 27, 2006 @ 3:53 am
doh, this still does not work to me.
Comment by antani — January 30, 2006 @ 5:30 pm
the original zip didn’t work for me either so i worked on it until it did. my changes are similar to andreas’ and you might want to see if my version will work for you. click here and select flickr. enjoy.
Comment by manny juan — January 30, 2006 @ 10:58 pm
Great! THAT works!
I’m just wondering how to use it with private pics, since the new authentication systems needs a token obtained from a web browser. Am I wrong?
Thank you very much for your job,
Antani Blindo Tarapio Tapioco
Comment by antani — February 6, 2006 @ 4:36 pm
I spotted a bug, here it is: when “entering” a set, I can’t browse the pages and I’m allowed to view only the first pictures. Browsing the whole photostream works fine.
Thank you, ciao
Comment by antani — February 6, 2006 @ 4:59 pm
i fixed the bug so the program can now handle sets. the new flickr.py is in this zipfile. it looks like handling private pics might be harder but i’ll look into it.
Comment by manny juan — February 7, 2006 @ 4:25 am
oops, here’s that zipfile again. (same as earlier link)
Comment by manny juan — February 7, 2006 @ 4:27 am
duh. now it says “your email is inserted wrong”, but I double checked it, before and after.
Comment by antani — February 8, 2006 @ 5:01 am
No Go. Keeps saying your email account is entered wrong. What gives? Did someone got this working? please help
Comment by Vinny — February 11, 2006 @ 6:42 pm
it still works for me. you should provide a correct email (ie. it should return ok if you use it in flickr.com/services/api explorer flickr.people.findByEmail) and you should use a correct API_KEY (the one found in FlickrClient.py is expired!) also make sure you use the correct expression for ROOT (around line 66) depending on your target machine.
Comment by manny juan — February 14, 2006 @ 1:52 am
of course it’s a valid email, it is the same I used before and always. I triple checked it.
Comment by antani — February 15, 2006 @ 12:31 pm
I agree with you the way you view the issue. I remember Jack London once said everything positive has a negative side; everything negative has positive side. It is also interesting to see different viewpoints & learn useful things in the discussion.
Comment by penis enlargement — February 17, 2006 @ 3:48 am
Read the posts, you have to get a correct api_key
http://www.drewish.com/projects/phlickr/api_key
Comment by Sollie — March 5, 2006 @ 2:36 pm
whats happening with this plugin is it being worked on?
Comment by shaneuk — May 23, 2006 @ 8:47 am
unfortunately, its not. Sorry.
Comment by Jon — May 23, 2006 @ 8:49 am
i have addewd the API key and email , its my first bit of digging into the python xbmc scripts . Some debugging later I have manged to locate the problem down to the entry in flickr.py : “user = client.flickr_people_getInfo(user_id=tmpUser(’nsid’))” this bit is failing to return correctly and causing the “try” condtion to error into the “except” clause and print “Doh! Your email is entered wrong” even if the email is corrrently set.
I have found http://www.flickr.com/services/api/flickr.people.getInfo.html bit really helpful for checking but don’t understand how to return any error’s from flickr to debug futher. happpy to work on this with someone who has some better scripting knowledge than myself if such a person exists ?
Comment by mike — May 23, 2006 @ 12:32 pm
I finally got this plug in working using the fix from manny juan above and its a brilliant script for xbmc, just what i was looking for in fact. Does anyone know how to fix the problem with navigationg through the photos when viewing the sets? other than that its working perferctly now
Comment by Elliot — September 3, 2006 @ 7:15 am
Whoop sorry, i didnt use the fix from manny juan, I was using the one from Andreas, hence the no movin through sets. I have instaled Mannys and now i cant view them because of the email error… hmmm
Comment by Elliot — September 3, 2006 @ 7:28 am
…and now fixed it by adding a newly generted API_KEY in the flickrcliet.py file. Cheers for the help above guys, the script is brilliant
Comment by Elliot — September 3, 2006 @ 7:38 am
Any chance anyone has figured out the problem with the thumbnail images overlapping on a 16×9 television?
Comment by ewingate — September 3, 2006 @ 3:47 pm
why does this script quit after ‘running’….
I would love to get flickr on my xbox
Comment by abhi — September 17, 2006 @ 10:03 pm
Elliot, do we each need to request an API key for this application? Or is there a new one assigned that we can all use? Please post it if you have one.
Comment by Peter — September 20, 2006 @ 4:04 pm
nice blog
Comment by penis enlargement pills — September 22, 2006 @ 9:59 am
Elliot
I got the new API key. Replaced the one on Flickrclient.py file. Root dirs are same. Q”\apps\scripts\Flicr.
Plugged in correct email id and restarted. Still no luck. Sits there and does not download any pics. Can you please tell me what I did wrong?
Thanks
V
Comment by Vinny — October 8, 2006 @ 12:37 pm
Hi there,
thanks for all ideas on that. Now I’ve got it running…slow, but it works.
Regards
WB
Comment by WebBuddha — October 18, 2006 @ 4:23 pm
afasfdsd
Comment by adfdasfasdf — November 2, 2006 @ 6:36 pm
Hello this is nice site more information in this archives. Thanks!
Comment by online pharmacy — November 3, 2006 @ 8:43 am
This script is completely busted now. Can we get an updated version with all the bug fixes. I would love to have this working on my xbox.
Thanks in advance.
Comment by Bruce Moyle — January 30, 2007 @ 3:19 am
Discuss penis enlargement methods at www.penis-enlargement-page.com and information on penis size and penis enlargement products.
Comment by penis enlargement — June 6, 2007 @ 7:24 pm
Hah! Thats good stuff. I modded an xbox for a media centre pc for my dad for father’s day, but I was leaning towards mythtv and linux simply for a flickr syncing fun ction (bash & a flickr-get script). Now I don’t *need* linux (well, I suppose one always needs linux) but xbmc is so shiny perhaps its perfect for my dad’s needs (KISS).
Comment by Tim — June 13, 2007 @ 5:57 pm
Has anyone got this to work, I tried getting an API key and edited the default and the client py but no luck. Please help, eilz AT hotmail DOT COM
Comment by eilz — June 20, 2007 @ 4:21 pm
I couldn’t get this to work either, but I have a fairly old version of XBMC so I’ll try updating it.
Support for private pictures is essential btw! :-)
Keep up the good work!
Comment by funny clips — September 25, 2007 @ 2:17 pm