Jean-François wrote: >> Date: Thu, 01 Mar 2007 19:33:36 +0100 >> From: Duncan Webb <[EMAIL PROTECTED]> >> >>> 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. > > I tried that but I'm really looking for a 'search mp3' function > > >> Date: Thu, 1 Mar 2007 13:01:35 -0700 >> From: "Chandan Pitta" <[EMAIL PROTECTED]> >> Subject: Re: [Freevo-devel] Freevo / Python dev tool >> To: [email protected] >> Message-ID: >> <[EMAIL PROTECTED]> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> 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 >> > > I have installed eclipse and py-dev and with a little hacking in main.py, > I can now do some step by step debugging in Freevo :-) > That's pretty cool, especially for noobs like me. > > I'm still having one issue however. The album_tree plugin fails on the > following line: > > import freevo.playlist as playlist #namespaces :( not the playlist-pligin > > I get an error message in the console which says: > > can't find helper main > > There is no problem importing other modules like 'audio' or 'gui'. I > believe the problem is linked to the fast that there is a plugin whose > name is 'playlist'.
I guess that you need the directory above freevo in the PYTHONPATH. > Two questions: > 1/ Do you guys use such debugging tool for Freevo development ? Or which > one do you use ? No, do it the old fashioned way with print statements, sometimes debuggers don't help with time critical activities. > 2/ Does anyone know how to fix this issue ? (which doesn't happen when > running out of the debugger). I could certainly rename or remove the > playlist plugin but I'd rather fix the issue in a clean way. > > Many thanks > Jean-Francois > > > > > ------------------------------------------------------------------------- > 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 > ------------------------------------------------------------------------- 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
