Chandan Pitta wrote: > On 3/1/07, Duncan Webb <[EMAIL PROTECTED]> wrote: >> Jean-François wrote: >>> Hi everyone, >>> >>> I'm quite new to Freevo and even newer to Python, but still I'd like to >>> write plugins for Freevo ;-) >>> >>> I was wondering if you had any advice on where to start. >>> Mainly, what tool do you use for Python development ? Which development >>> environment is the best/easiest to use ? How do you install Freevo in a >>> different path (eg under my home) ? Etc. >> Freevo-1 doesn't like being installed in any place other than the >> default location. :( >> > > Why do you say that? I installed freevo in a different location and it > works fine. I am using code from svn which is 3 or 4 weeks old though. > Not sure if changes between now and then broke it. You can try what I > did and see if works. > > 1. Enter the source code dir and do "python setup.py install > --prefix=~/test-freevo > 2. To run freevo you will have to modify the PYTHONPATH to make use of > the freevo modules that you just installed using the following command > export PYTHONPATH=$PYTHONPATH:~/test-freevo/lib/python2.4/site-packages > 3. Now you can run freevo using > ~/test-freevo/bin/freevo
Chandan, I tried it but forgot to modify the PYTHONPATH so it didn't work for me. Good tip, thanks. Should be in the wiki Duncan > > >> 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. >> >>> FYI, I need to write a plugin for 'WAF' issues. Searching for mp3's in a >>> large database is quite painfull and I'd like to write a plugin that would >>> allow to search for music. Using either a keyboard or some sms/phone like >>> interface (I believe the mail plugin does that but I couldn't have it >>> working yet). >>> >>> If some people has already started such work, I'd be happy to help ! >> There is a plug-in called album-tree that does allow different views of >> music. >> >> HTH >> 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
