Tag: python

Watch the sky (simple python ftp script)

So you got the raspberry and the camera board.

With a cronjob you can let it take pictures every few seconds or hour and do something with it. Might be  a timelaps video or send it to twitter. In this case I added a simple script to the “RasBotPi” so it can send a picture every hour to this website.

2013-11-14 11.24.55

The “RasBotPi”

a Simple script will capture a jpg and then send it to this website with python and its ftp library.

Here an example of the snapshot that the camera board takes..

Some clouds..

Some clouds..

 

Show album art in Conky with python script.

I wanted to show some Album art in conky.

Ofcourse i didnt need to re-invent the wheel so I stumbled upon this forum topic:

Crunchbanglinux::forums::images-in-conky-specifically-rhythmbox-album-art

iggykoopa created a nice script (see here) but because I like the dark feeling of #! I wanted to have the album art in greyscale.

I took his base from: http://crunchbanglinux.org/pastebin/29 and added this part to it: (and an option so you can start it with “conkymusic.py -g”.)

You can grab the whole code here: Python CrunchBang Linux Pastebin.

The code in conky:

Works great here.