Stéphane ANCELOT wrote:
> Hi,
> How can I call the image viewer from a screensaver plugin ?
You need to do two things, write a slide show fxd file, like:
<?xml version="1.0" ?>
<freevo>
<slideshow title="My Slides" random="1" repeat="1">
<cover-img>/freevo/images/1/DSC01140.jpg</cover-img>
<!--
<background-music random="1">
<file>/freevo/music/Magical_Love.wav</file>
<directory recursive="1">/freevo/music</directory>
</background-music>
-->
<files>
<directory recursive="1" duration="10">/freevo/images</directory>
<!--
<file duration="6">/freevo/images/1/DSC01130.jpg</file>
<file duration="7">/freevo/images/1/DSC01131.jpg</file>
<file duration="2">/freevo/images/1/DSC01132.jpg</file>
<file duration="3">/freevo/images/1/DSC01133.jpg</file>
<file duration="4">/freevo/images/1/DSC01134.jpg</file>
<file duration="5">/freevo/images/1/DSC01135.jpg</file>
<file duration="6">/freevo/images/1/DSC01136.jpg</file>
<file duration="7">/freevo/images/1/DSC01137.jpg</file>
<file duration="8">/freevo/images/1/DSC01138.jpg</file>
<file duration="9">/freevo/images/1/DSC01139.jpg</file>
-->
</files>
<info>
<description>A screensaver slide show</description>
</info>
</slideshow>
</freevo>
Note I've disabled sound as it will crash freevo.
And then activate the plug-in like:
plugin.activate('freevoscreensaver', \
args=('fxd','/var/lib/freevo/saver.fxd','image',))
HTH
Duncan
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users