Author Topic: Flickr Channel  (Read 4204 times)

RDAC

  • Veteran
  • ***
  • Posts: 55
    • View Profile
Flickr Channel
« on: September 25, 2007, 06:15:41 am »
Hey, for the show I'd love to cycle through images from the Make photo pool. Anyone know how to change the default flickr channel to another? Thanks!

Zaerc

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: Flickr Channel
« Reply #1 on: September 26, 2007, 11:52:25 am »
No idea really, your best bet is probably to remove the other pictures and throw in the ones you'd like it to show but I'm not even certain if that even works.  Assuming that there won't be an internet connection during the show, otherwise you might have to temporarily firewall the flickr site.
"Change is inevitable. Progress is optional."
-- Anonymous


bulek

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 909
  • Living with LMCE
    • View Profile
Re: Flickr Channel
« Reply #2 on: September 27, 2007, 01:09:32 pm »
I did try few of the tricks with flickr.

One simple is to rename flickr.pl or something like tat that retrieves new photos. But then there is a problem, how to put it your custom photos in. I managed to show one of my pictures, but couldn't figure out, whether it should be of correct size, format , filename or all of them....

HTH,

regards,

Bulek.
 
Thanks in advance,

regards,

Bulek.

Zaerc

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: Flickr Channel
« Reply #3 on: September 27, 2007, 03:17:30 pm »
I just had a quick skim through the flickr.pl script and it looks like it's sending a DCE message for every picture it downloads (as far as I can make out, didn't look that closely):
Code: [Select]
        ## Don't send the messages too fast
        sleep 1;
        print `date`;
        print TEST "1. Sending /usr/pluto/bin/MessageSend dcerouter -targetType
template -r -o 0 2 1 819 13 $symdest\n";
        $fms = qx | /usr/pluto/bin/MessageSend dcerouter -targetType template -r
 -o 0 2 1 819 13 "$symdest" |;

And it looks like all these are logged in: /var/log/pluto/Flickr.log
"Change is inevitable. Progress is optional."
-- Anonymous


chrisbirkinshaw

  • Guru
  • ****
  • Posts: 431
    • View Profile
Re: Flickr Channel
« Reply #4 on: September 29, 2007, 03:41:58 pm »
I've hacked the script. It works but is not very pretty. See here: http://forum.linuxmce.org/index.php?topic=2662.0