Aubin Paul wrote:
> Hi,
>
> I'm working on my plans for the mpd plugin, but one thing I want to be
> able to do is have the 'rec' command on the remote queue a song in
> mpd's queue.
>
> The problem is twofold; first, is it possible to intercept 'rec' calls
> in the audio menu via a audio plugin, or does it have to be a daemon
> plugin... 

If you have a plugin like xine or mplayer, you get all events. What do
you mean by "audio plugin"?. If you are part of the menu, here is the
way an event takes:

if not handled by the menu (e.g. UP/DOWN), send it to the selected
item. This may have a handler. If not, it will passed to the parent and
it's parent... For REC, noone wants this event. Than it will be passed
to all DaemonPlugins with an eventhandler. 


> and second, is there a way to get the event to include the
> filename of the currently selected file?

For buttons, no. But you get the menuw and get get the selected item
by that. If you create the event, you can add an arg to it.

> Dischi, I'm probably asking you most of all, but anyone who might know
> would help a lot.

HTH


Dischi

-- 
Symbol's function definition is void: signature


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to