Chris wrote: > Duncan Webb schrieb: >> First try this: >> # freevo prompt >> >>> import sys >> >>> sys.path >> >> It tells you where freevo is looking for modules. >> > Freevo prompt? how do i get there?
freevo prompt >> I assume that as this is a idlebar plug-in it should go into >> src/plugins/idlebar and is activated with: >> plugin.activate('idlebar.mpdnow') >> > i've done this. i really think the problem is the debian package. There > just is no src/foo folder. > > /usr/bin/freevo.real > /usr/bin/freevo (bash script, which runs freevo.real) > /usr/share/freevo/freevo_config.py I wonder what is in /usr/bin/freevo, possible just a PYTHONPATH= and a /usr/bin/freevo.real > 'src' dir is /usr/share/pycentral/python-freevo/site-packages/freevo/ More than likely the freevo package goes into the site-packages directory directly. > i tried to link it all together but it confused me. I would like to > sustain the original debian structure. > freevo is just not looking into > /usr/share/pycentral/python-freevo/site-packages/freevo/plugins/ for new > plugins, but finds its old plugins somehow. I wonder if you have more than one site-packages/freevo directory. >> The first problem I've seen is that mpdclient2 is in audio/plugins so >> you need to import audio.plugins.mpdclient2 instead of just mpdclient2 >> and you only need this once. >> > regardless, it works well with just 'import mpdclient2' ;) (python-magic!!!) I guess that you have multiple mpdclient2.py sitting around, try doing a "locate mpdclient2.py" or a "find / -name mpdclient2.py" to see what it turns up, if there are more than one then delete the others. In fact, it would be good to delete the "freevo" directories that contain any plugins. Make sure you keep your modified modules somewhere safe first. Then reinstall the Debian package. Duncan ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel