Stéphane ANCELOT wrote:
> I made a python piece of software that downloads interestingness photos
> from flickr in a directory.Thanks to the fxd + freevoscreensaver I
> managed to have flickr screensaver.
>
> Now I would like to integrate it in freevo:
> a) either I launch my script from a cron job to refresh the photo
> directory only (freevo separated)
>   
Can you post the script here? I'm sure someone might use it as is.
> b) or integration in freevo python code (I need some help/tips)
> This means : launch periodically flickr directory update python script
> (Is there already something looking like this ?)
> May be add a mutex lock to photo dir access since this becomes a shared
> resource with freevoscreensaver?
>   
>
>
> I need your advice!
>   
You could take a look at the rss server, I don't use it but afaik it 
downloads mp3, videos etc found in rss files in the background, it might 
give you an idea for your plugin.
> Best Regards
> S.Ancelot
>
> Duncan Webb a écrit :
>
>   
>> 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
>>
>>
>>     
>
>
> -------------------------------------------------------------------------
> 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
>   



-------------------------------------------------------------------------
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

Reply via email to