View Full Version : Fixed Flickr Script
With Jon's consent (http://www.jonsthoughtsoneverything.com/2005/07/09/introducing-flickr-for-your-xbox-media-center/), I had worked through the problem in his Flickr script and am pleased to say I've had the script running well for some time. I've been trying to post it to XBMC Scripts but do to a lack of returned emails from the admins there (not meaning that to sound mad since I know you guys do that site in your spare time) I haven't been able to upload it. Some of you may know me from the Actioncorp podcasts (http://www.actioncorp.net) we did for Blackbolt's team on MC360 and I may be able to host the script download on our site until I can get the issue resolved with my account at XMBC Scripts. So I need to know if there is still any interest in this script. I have a few features I'm going to be adding to the script also beyond just the URL fixes that I've put in, so let me know what your thoughts are and thanks to Jon for making the script to begin with.
timdog82001
2007-03-16, 11:45
well, I for one am interested in it
I'd be interested in the script aswell.
Cheers.
Looks like the guys at XBMC Scripts got me fixed up (two days ago actually :blush: ). I'll be packaging and uploading the script today for everyone to try out. I'm not a skinner, so if someone would be kind enough to make an MC360 style skin for this script, that would be much appreciated.
timdog82001
2007-03-17, 02:10
i'd appreciate that too. I can do some skinning, but i've never attempted to skin a script, and to be honest, I wouldn't know where to start....Though it would be great to find out how for something i'm working on. Are there any tutorials on skinning scripts?
Nuka1195
2007-03-17, 03:16
if the script uses guibuilder, it's basically like doing an XBMC skin. If not, then you have to edit the script itself.
The script has been posted on XBMC Scripts but I already found an issue with it. The cache folder does not get created when the script is installed from the xbox (using the XBMC Scripts installer script). I'm guessing it's because the folder is empty so it just doesn't extract it from the archive file. I've already fixed it and re-submitted the script but for now, if you download it and it doesn't run, you need to go into the file explorer and browse to the flickr script directory. If you don't see a folder named cache, make one. Then the script should run fine.
It works OK, except the lockup you mentioned the readme.
Can't wait for an update.
Cheers.
pingtiao
2007-12-17, 10:08
This is the latest thread I can find on the flickr script- does the most recent version work for other people? For me it just says "oops, plese enter email address and restart", which I do and it doesn't do anything. I then cannot exit the script and have to restart the xbox.
Does this happen to anyone else? Is there a version out there that works?
I am using the latest one available on xboxscripts
gigantisch
2007-12-18, 17:03
I also noticed the script didn't work, so I took quick look. Seems there are two issues. First there's an updated FlickrClient (version 0.2) available, the current one uses an invalid api url. Second the script used urllib to open urls. Urllib can't handle HTTP 302 redirects, which caused it to fail. I changed it to urllib2.
I modified the script and have only tested it in XBMC_PC (rev11025) but it seems to work.
One thing that doesn't seem to work as it should, is that the downloaded images are corrupted. Don't know what caused it, or if it worked in the first place.
Anyway, give it a try.
http://rapidshare.com/files/77426498/Flickr-18-12-2007.zip.html
Hey hey, I have a Flickr Pro account and would like to help out with getting this script back into shape. I'm at work right now, but I'll see what I can do to help tonight :)
gigantisch, looks like a good start.. I tested this today, but like you say the downloaded images seem to corrupt. The script also crashes by xbmc when you try and view a file...
This is one script I would love to see working!! Keep up the good work!
I'm more than heppy to test where needed...
Wenderson
2008-01-30, 06:51
Hi,
I did not talk to the original owner of the script, but I hope he doesn't mind. :)
I was playing with this script today, and I did some changes from one of the versions I found.
The script is working now, but as I used a version with no settings screen, you have to enter your Flickr e-mail directly into the script, I'll try to fix that later.
I used that version because it does not corrupt the images.
I also added a few features I find useful, like:
- Photo information when displaying a photo (title, description, tags), it can be disabled/enabled by pressing the info button on the remote.
- Page navigation by pressing the Skip chapter, both backward and forward.
It still has a few things to be done:
- Put the settings dialog back
- Treat exceptions properly (it stops responding when an exception is not caught)
And also, I have a feature list I'd like to implement:
- Slideshow (using photo sets, tags etc)
- Search for photos using tags
As this is my first contribution to the XBMC scripts, I don't know where I can put the script to be downloaded, the http://xbmcscripts.com site is giving an error:
Fatal error: Cannot instantiate non-existent class: dmconfig in /var/www/vhosts/xbmcscripts.com/httpdocs/administrator/components/com_docman/classes/DOCMAN_config.class.php on line 88
I can host it for the time-being if you'd like. send me an e-mail or PM ;)
Also, I think this would be a good addition to the scripts SVN, as it would make collaboration easier.
Wenderson
2008-01-31, 07:22
I put it here:
http://casadosprogramadores.textdriven.com/download/RAC/Flickr 2008-01-30.zip (http://casadosprogramadores.textdriven.com/download/RAC/Flickr%202008-01-30.zip)
I added the settings dialog again, please, test it and say what you think.
SleepyP, how do I put it on the SVN?
Regards,
Wenderson
http://code.google.com/p/xbmc-scripting/
Here's the place :)
Wenderson
2008-02-01, 18:44
Just to let you know, I asked for Jon's (the original script owner) permission, and put the Flickr script on the Google Code SVN repository.
I'll be updating and adding features there, if anybody wants to contribute, feel free to do so.
Regards,
Wenderson
kickass :)
Just thought of this, what about a Pictures plugin?
Wenderson
2008-02-06, 02:58
What's the difference between a script and a plugin? :P
BTW, I've been thinking how to integrate the Pictures with Flickr, so, when you see your pictures, it downloads it directly from Flickr.
Wenderson
2008-02-06, 03:55
I've just found about the plugin sources, but I could not find what a plugin should provide to work as a source. :(
Wenderson
2008-02-08, 15:00
Found it! :laugh:
Here:
http://xbmc.org/forum/showthread.php?t=28031&page=8
And here:
http://xbmc.org/forum/showthread.php?t=27760&page=13
(http://xbmc.org/forum/showthread.php?t=27760&page=13)
I'll do some research and see what can be done.
agathorn
2008-02-29, 01:28
Ok i'm doing something stupid I know, but this is my first foray into running scripts.
I wanted to try the Flickr script out, but whenever I try to run it it says (running) for a moment then exits and does nothing.
Checking the debug window it is giving this error:
ImportError: No module named Image
Nuka1195
2008-02-29, 01:48
you need to find PIL python Image library and install it, either in /system/ or maybe in the scripts include folder.
xbmcscripts.com had it, but i've read that website may be compromised, so run a virus scanner if you visit the site.
Hi,
any progress on the Flickr Script?? :)
Ok, I got the script working after downloading PIL and editing default.py to add the absolut path to scripts/Flickr/resources/lib to sys.path.
Its got a few problems though, for one the thumbnails overlap. Secondly the images are not centered in fullscreen. Thirdly, the resolution seems very low. All my photos are available in full resolution.
I think I'll probably take a look at this later on.
Hi all,
I was wondering if there is any progress about thhis plugin. I tried to run it and I have the above described problem (runs for 2 sec and then
Checking the debug window it is giving this error:
ImportError: No module named Image
I tried installing PIL but couldn't figure out how.
Any help?
Anyone still interested in this flickr script or having a functional one?
In the Navi-x script is a functional flickr script.
iRoNBiLL
2009-01-15, 00:01
That's right!!! Fully functional Flickr, compliments of Navi-X Media Browser!!! Check out www.navi-x.org for a demo, the script and more details!!!
So iRoNBiLL = ('Skilled Python Coder')?
iRoNBiLL .....The flickr in Navi only views like 50 to 100 pictures.You can't even log in to your account like the Flickr script was.It's nothing like this.I hope a fix comes soon if ever.
Anyone still interested in this flickr script or having a functional one?
I am. Unfortunately not enough to start hacking on it ;)
Whenever I feel the need to use it for real, I will. But who knows when that will happen :)
iRoNBiLL
2009-01-23, 02:56
I am only the promoter for Navi-X. If you have questions about functionality or getting features to work in Navi-X, email rodejo16@gmail.com to get your questions addressed better.