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

Main Menu

Disable flickr?

Started by jgaffney, January 14, 2008, 10:54:54 PM

Previous topic - Next topic

jgaffney

What is the easiest way to remove the filckr pictures from being used by the screensaver.

Is just deleting the files in the flickr folder enough?  or will they get replaced?

I want the screen saver to run with my own pics (which I have figured out) but want to remove all the flickr pics also.

Thank you.

darrenmason

You will need to disable the process that retrieves them first.
In web admin go through the processes that run on the core and there is one related to downloading the flickr files (Not in front of it at the moment or I would give you more accurate info)

Then to get rid of the existing ones, ideally you would just remove the screen save attribute for them in the database. But removing the actual files will also stop them being displayed as there is a file existence check when forming a list of pictures to display. This will leave the database a bit messy but if you can live with that then that is fine.

Regards
Darren

fibres

Hi

Can anyone give more info on how to disable flickr from retrieving the files.

I have tried removing the screen saver attributes on the web admin, however it seems to reset some of them.

I have looking in the web admin but cannot find where to show processes running on the core.

Regards

totallymaxed

Quote from: fibres on January 20, 2008, 09:24:55 PM
Hi

Can anyone give more info on how to disable flickr from retrieving the files.

I have tried removing the screen saver attributes on the web admin, however it seems to reset some of them.

I have looking in the web admin but cannot find where to show processes running on the core.

Regards

To stop new flickr images from being downloaded do this...

Open a Console window or ssh into your core and do this;

sudo rn /usr/pluto/bin/flickr.pl /usr/pluto/bin/flickr.pl.back <return>

to rename the flickr.pl perl script to flickr.pl.back. Just rename it again to flickr.pl if you'd like flickr images again
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

jgaffney

Thanx, but I think you meant "mv" instead of "rn"

totallymaxed

Quote from: jgaffney on January 20, 2008, 09:42:31 PM
Thanx, but I think you meant "mv" instead of "rn"

Ooops... yep ;-)
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

lon22

Has anyone actually had success in disabling flickr. I followed the advice in multiple post, including this one, but with no success. I renamed flicker.pl to flickr.pl.back and I also deleted the flickr directory under pictures. Is there a step that I'm missing?

thanks

lon22

hari

maybe the process is still running..
regards,
hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

jgaffney

Just deleting the files did it for me, I've also renamed the flicker script since.

Maybe you need to assign the screensaver attribute to one of your own pics, if you haven't already.

RichardP

Quote from: lon22 on January 22, 2008, 12:28:47 AM
Has anyone actually had success in disabling flickr. I followed the advice in multiple post, including this one, but with no success. I renamed flicker.pl to flickr.pl.back and I also deleted the flickr directory under pictures. Is there a step that I'm missing?

thanks

lon22

I think you've done it all, and probably correctly. What you're probably forgetting is that the process is still running in memory. Renaming the script will only stop it from being found the next time the system starts up. A reboot should stop new images arriving.
Best Regards,
Richard

hari

Quote from: RichardP on January 22, 2008, 01:20:15 AM
Quote from: lon22 on January 22, 2008, 12:28:47 AM
Has anyone actually had success in disabling flickr. I followed the advice in multiple post, including this one, but with no success. I renamed flicker.pl to flickr.pl.back and I also deleted the flickr directory under pictures. Is there a step that I'm missing?

thanks

lon22

I think you've done it all, and probably correctly. What you're probably forgetting is that the process is still running in memory. Renaming the script will only stop it from being found the next time the system starts up. A reboot should stop new images arriving.

a "sudo killall flickr.pl" would be sufficient

regards,
Hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

lon22

I have pictures of my own that show up, which I assign the screen saver attribute.

I restarted and regenerated the core numerous times.

There is no flickr process to kill. The only process I see running related to flickr is:
"14043 pts/22   SLl+   0:03 ./Photo_Screen_Saver -d 28 -r 127.0.0.1 -l /var/log/pluto/"

I took a look at the flickr log file under /var/log/pluto and the directory where it has been getting images from was deleted by myself for some time now.

fibres

Hi 
Well I moved the flickr.pl file and rebooted the machine. I then removed the attributes froom the file and removed the files from the disk and al works fine.
The first lot of pictures i uploaded were about 900k each and they load fine. However the second lot were 2.5mb each and they dont seem to work. Is there a limit on the file size the screensaver can use?

Regards

totallymaxed

Quote from: lon22 on January 22, 2008, 12:28:47 AM
Has anyone actually had success in disabling flickr. I followed the advice in multiple post, including this one, but with no success. I renamed flicker.pl to flickr.pl.back and I also deleted the flickr directory under pictures. Is there a step that I'm missing?

thanks

lon22

Yes we do it all the time ;-)

Follow the rename procedure earlier in the thread - that stops flickr.pl from running in the future. If its already running kill its PID. Having done that you have stopped any more flickr images from being downloaded. However any images already downloaded will still be used by the photoscreensaver. So remove the flickr directory or any specific subdirectories or individual images as required.

Thats it.

Hope that helps you.

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

RichardP

Quote from: fibres on January 22, 2008, 03:33:58 PM
Hi 
Well I moved the flickr.pl file and rebooted the machine. I then removed the attributes froom the file and removed the files from the disk and al works fine.
The first lot of pictures i uploaded were about 900k each and they load fine. However the second lot were 2.5mb each and they dont seem to work. Is there a limit on the file size the screensaver can use?

Regards

Make sure the pictures are no more than 1240x1240 pixels.

Best Regards,
Richard.
Best Regards,
Richard