slideshow-1.1.pet: SDL based slideshow app

Paint programs, vector editors, 3d modelers, animation editors, etc.
Message
Author
smiler82
Posts: 12
Joined: Tue 25 Mar 2008, 11:56

#21 Post by smiler82 »

--bump for question--

I've been using this on 3.01 an love it! I am now trying to employ it in a 'laptop to digital frame' conversion. I've written a few scripts to automate starting 'slideshow' with it's various options.

The issue I'm now facing is that 'slideshow' ends when it gets to the end of the file list or the end of the directory it is showing. I thought about just writing 'slideshow' into a loop but I'm not sure how to tackle it.

I have tried 'qiv' to accomplish this photo frame idea as well, but to my knowledge, it doesn't use any transitions, so it is less elegant for this project.

Any ideas?

User avatar
WarMocK
Posts: 169
Joined: Thu 05 Jul 2007, 11:53

#22 Post by WarMocK »

Yes, it would be awesome to have slideshow work in a loop. That would make up a great yet tiny screensaver. :D

User avatar
puppyluvr
Posts: 3470
Joined: Sun 06 Jan 2008, 23:14
Location: Chickasha Oklahoma
Contact:

#23 Post by puppyluvr »

:D Hello,
@Muggins,
Works great.. One question?
I am using this module in a screensaver, calling it with a script that sets the param`s..
When the slideshow completes the directory, it stops..
I can loop the slideshow, but I dont want it to restart every time...
So Is there a "-repeat" param???

@edit..just read the above posts, sorry to be redundant... :D

tunyawat
Posts: 103
Joined: Sun 02 Nov 2008, 04:03
Location: Bangkok, Thailand and London, UK

#24 Post by tunyawat »

To do looping, just simply follow these 2 steps

1. Create a relative link of the folder inside itself.

For example, if the folder is named "pics", you need to create a relative link of the "pics" folder inside itself. Therefore, when you click on the "pics" folder, you will see a shortcut that link to itself which you can click on it forever.

2. use -recurse

-recurse will make the slideshow call its folder when all image had been displayed. This means if the folder is the link to itself, it will loop the slideshow.

Example of the script

Code: Select all

slideshow -advance 5 -recurse  /usr/share/backgrounds/

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#25 Post by MU »

Perigee Slideshow 1.2 binary available, see:
http://www.murga-linux.com/puppy/viewto ... 537#414537

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

Post Reply