Notices


Reply
Thread Tools
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#1
I am working on a new app with Clutter, which acts as a digital photo frame (since there doesn't seem to be one in the repos). It currently has two transition modes: fade to black and crossfade. It is set to fade to black by default because there is a bug in crossfade mode where it flashes the new picture before fading to it, and I don't know how to fix this yet (I only learned Clutter about 4 hours ago!).
To run, extract to somewhere where you know where it is, and in a terminal run:
Code:
python slideshow-clutter.py 10 /home/user/MyDocs/DCIM/ black
where the first argument is the number of seconds to display each image for, the second is the folder containing the photos and the third is the mode (either "black" or "fade".)

Launcher, settings GUI etc. coming soon.
Attached Files
File Type: zip slideshow-clutter.py.zip (1.4 KB, 99 views)
 

The Following 19 Users Say Thank You to skykooler For This Useful Post:
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#2
Update: The version above uses time.sleep() to wait, and thus only accepts input while transitioning - this means it can only be closed while transitioning. Here is a new version that has a non-blocking wait instead, and can additionally be closed by tapping on the screen rather than having to hit ctrl+back.
Attached Files
File Type: zip slideshow-clutter.py.zip (1.5 KB, 95 views)
 

The Following 6 Users Say Thank You to skykooler For This Useful Post:
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#3
New version. Now pictures scale automagically to the screen size. This means it is usable to display pictures taken with the built-in camera, which is a higher resolution than the N900's screen. I also added a few lines to keep the screen from blanking while the slideshow is running (thanks to MartinK!)

Also I have discovered that this runs on regular (linux) computers that have the necessary libs installed, with no modification. I still have to finish the configuration bit though; for now, just run it from the command line.
Attached Files
File Type: zip slideshow-clutter.py.zip (1.7 KB, 97 views)
 

The Following 5 Users Say Thank You to skykooler For This Useful Post:
Posts: 54 | Thanked: 14 times | Joined on Oct 2010
#4
any screen shot for this??????
 

The Following User Says Thank You to hathoda For This Useful Post:
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#5
Originally Posted by hathoda View Post
any screen shot for this??????
A screenshot of a full-screen picture? it would just be the picture.
 

The Following 3 Users Say Thank You to skykooler For This Useful Post:
Posts: 291 | Thanked: 435 times | Joined on Apr 2011 @ RO
#6
hi skykooler
make me happy...man
i see you learned lot of .py
could you manage, make a transparent layer on top of camera.py program so we (fake artists) can put a picture with transparency on it as photo reference
and with that reference photo and the open camera we can draw that image on paper, or tattoo or whatever...
that MyPaint program have also lot of .py ...some code from there somehow
would be nice... man.
thanks for listening.
 
Posts: 291 | Thanked: 435 times | Joined on Apr 2011 @ RO
#7
Originally Posted by skykooler View Post
(since there doesn't seem to be one in the repos).
like you said
 
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#8
I am not quite sure where you get the idea that the camera app is written in Python. It isn't, as far as I can see. I may try writing an app like you describe though, using the fcam drivers. I probably won't get that done until next weekend though.
 
blipnl's Avatar
Posts: 279 | Thanked: 231 times | Joined on Apr 2010 @ Holland
#9
My maemo has slideshow option.

Good to see this development though, I assume it has more options than default?

For example, make a 'playlist', choose transition, choose duration of showing or a autolaunch when plugging it in a wall charger, can you tell me more about it?
__________________
Is that a N900 in your pants or are you just happy to see me?
 
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#10
Playlist: not yet, but good idea.
Choose transition: yes (currently I only have two)
Choose duration: yes, unlimited (between 0 and infinity!)
Autolaunch when plugging into a wall charger: I am not quite sure how one would do that. But I will look into it.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:02.