PLEASE READ BEFORE POSTING:

If you are willing to offer some compensation for a new feature or bug fix, you can use the Help Wanted forum. Start a new topic for each new feature idea, and when someone someone decides to do it, please edit the Roadmap Wiki which lists active work.
LinuxMCE Forums
June 19, 2013, 07:10:31 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Flickr Channel  (Read 1657 times)
RDAC
Veteran
***
Posts: 55


View Profile
« on: September 25, 2007, 05: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!
Logged
Zaerc
Alumni
LinuxMCE God
*
Posts: 2256


Department of Redundancy Department.


View Profile
« Reply #1 on: September 26, 2007, 10: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.
Logged

"Change is inevitable. Progress is optional."
-- Anonymous

bulek
Administrator
wants to work for LinuxMCE
*****
Posts: 868

Living with LMCE


View Profile
« Reply #2 on: September 27, 2007, 12: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.
 
Logged

Thanks in advance,

regards,

Bulek.
Zaerc
Alumni
LinuxMCE God
*
Posts: 2256


Department of Redundancy Department.


View Profile
« Reply #3 on: September 27, 2007, 02: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:
        ## 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
Logged

"Change is inevitable. Progress is optional."
-- Anonymous

chrisbirkinshaw
Guru
****
Posts: 431


View Profile
« Reply #4 on: September 29, 2007, 02: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
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!