Comments on: flickr + xscreensaver = fun http://jrwren.wrenfam.com/blog/2005/02/20/flickr-xscreensaver-fun/ babblings of a computer loving fool Mon, 21 Nov 2016 19:37:12 +0000 hourly 1 https://wordpress.org/?v=4.7.2 By: KV http://jrwren.wrenfam.com/blog/2005/02/20/flickr-xscreensaver-fun/comment-page-1/#comment-30522 Thu, 03 Apr 2008 21:06:30 +0000 http://little.xmtp.net/blog/?p=11#comment-30522 Using only images from a single user isn’t so funny at all.
I worte some dirty changes.

Maybe you can find a way to ‘configure’ the mode per xscreensaver directory.

e.g.: user:test
or group:xyz
or tag:ccc

And please aply the patch to your script

# begin search by tag
my $response = $flickrapi->execute_method(‘flickr.photos.search’, {
‘tags’ => $user,
});
# ende search by tag

# start search by group key
my $response = $flickrapi->execute_method(‘flickr.groups.pools.getPhotos’, {
‘group_id’ => $user,
});
# end search by group key

#org search by username
# my $response = $flickrapi->execute_method(‘flickr.people.findByUsername’, {
# ‘username’ => $user,
# });
# my $nsid = $response->{tree}->{children}->[1]->{attributes}->{nsid};
# $response = $flickrapi->execute_method(‘flickr.people.getPublicPhotos’, {
# ‘user_id’ => $nsid,
# });
#ende org search by username

]]>
By: maj http://jrwren.wrenfam.com/blog/2005/02/20/flickr-xscreensaver-fun/comment-page-1/#comment-29465 Tue, 31 Jul 2007 09:43:02 +0000 http://little.xmtp.net/blog/?p=11#comment-29465 Thanks for the helpful comments. Patch as well as gentoo ebuild MUCH appreciated 😀

]]>
By: RS http://jrwren.wrenfam.com/blog/2005/02/20/flickr-xscreensaver-fun/comment-page-1/#comment-14243 Mon, 29 Jan 2007 16:12:11 +0000 http://little.xmtp.net/blog/?p=11#comment-14243 This comment is slightly off-topic, but for gentoo – you can generate an ebuild for Flickr::API and its dependencies using the ‘g-cpan’ tool.

As root or portage user:

emerge g-cpan
g-cpan -i ‘Flickr::API’
emerge perl-gcpan/FlickrAPI

Hope this helped someone out!

]]>
By: Eddie McCreary http://jrwren.wrenfam.com/blog/2005/02/20/flickr-xscreensaver-fun/comment-page-1/#comment-528 Sat, 14 Jan 2006 14:40:08 +0000 http://little.xmtp.net/blog/?p=11#comment-528 Great job! However, it appears flickr has changed the url format. The following patch should work.

*** xscreensaver-getimage-flickr 2006-01-14 07:54:09.000000000 -0600
— xscreensaver-getimage-file 2006-01-14 08:23:34.000000000 -0600
***************
*** 129,135 ****
# print $photo->{$attr}.”\t”;
#}
#implement size options for mstb
! push @urls, “http://photos”.$photo->{server}.”.flickr.com/”.$photo->{id}.”_”.$photo->{secret}.”.jpg”;
}
}

— 129,136 —-
# print $photo->{$attr}.”\t”;
#}
#implement size options for mstb
! #push @urls, “http://photos”.$photo->{server}.”.flickr.com/”.$photo->{id}.”_”.$photo->{secret}.”.jpg”;
! push @urls, “http://static.flickr.com/”.$photo->{server}.”/”.$photo->{id}.”_”.$photo->{secret}.”.jpg”;
}
}

]]>
By: Kenny Gillen http://jrwren.wrenfam.com/blog/2005/02/20/flickr-xscreensaver-fun/comment-page-1/#comment-45 Mon, 18 Apr 2005 09:24:38 +0000 http://little.xmtp.net/blog/?p=11#comment-45 Excellent script, sir.

“I have seen some nice instructions to enable xscreensaver load images from flickr; the script that is pointed to is written in perl.” – http://sunim.plus.com/virtuality/2005/04/18/tiger-vs-linux/

]]>