Chris wrote: > Hello list, > > I was working on a Idlebar-plugin for showing the current song mpd is > playing. > I was wondering if it would be possible to bind keys to an > idlebar-plugin, so I can press [next] on my remote to let mpd jump to > the next song. Is this possible or do I have to code something like the > colorbutton-plugin?
This is all done in the event handler. You can choose what you want to handle, simply print event.name and see what come out when you press buttons. > I really like the idea of having a good mpd-integration in a > media-center. It was one of the reasons I changed to freevo, only to > find some really bad plugins for that. It's pretty easy to write a plug-in, that's Freevo greatest strength. > I had a problem installing my idlebar-mpd-plugin. I took weather.py as > my template and copied my mpd.py to > '/usr/share/pycentral/python-freevo/site-packages/freevo/plugins/idlebar/' > with a link to > '/usr/lib/python2.4/site-packages/freevo/plugins/idlebar/'. I activated > it in my local_conf.py. I don't think that you need to do this, if freevo works from /usr/share/pycentral/ then you plug-in should work too. > Unfortunately freevo said it can't find > idlebar.mpd. So I put it in that __init__.py file temporary. > What should I do in order to install it? I think that you need to post you plug-in, as it is difficult to say what's wrong. 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