On Thu, 1 March, 2007 10:57 pm, Tanja wrote: > Hi, > > >>> >>> I was wondering if you had any advice on where to start. >>> Mainly, what tool do you use for Python development? >>> > > Just a plain editor ;-) > > > Which development > >> The best way to write plug-ins is to look at existing ones and see how >> they work. >> >> Quite often I just type "freevo prompt" and then type in the python >> commands to see how they work in the freevo environment. >> > > Or you can write whole scripts and then start them with > "freevo execute script.py"
I'm not quite sure how this helps with plug-ins as they often require the rest of freevo to work. Would be kind of neat if they do work. One thing that I noticed is that some code has the imports in the incorrect order. config needs to come before plugin. > Have a look at other plugins to get a feeling, how things work. > Unfortunately there is not much of documentation... What documentation there is, is mostly in the help pages (AFAIK you do need a python setup.py install and the webserver running to view them, or view them directly by opening the pages in the browser freevo-1.7.0/Docs/plugin_writing/html/index.html) which are available from the webserver interface. There is also a bit in the wiki http://freevo.sourceforge.net/cgi-bin/doc/DevelopPlugins. Duncan ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Freevo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-devel
