[Feature request] directing keymacros to dedicated servicename (instead of plugin)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Samstag, 12. November 2005 15:34, Udo Richter wrote:
> Stefan Lucke wrote:
> > current definiton of file keymacros.conf allows simple keys to be sent to
> > plugins only.

Thats is a scripting approach.

> > As with vdr's new Service() interface a more flexible solution would
> > allow sending arbitrary actions to plugins independent of plugin's 
> > menu layout.

That would be a functional approach.

> 
> The Service() interface is primarily designed for direct
> plugin-to-plugin communications, and providing complex data structures
> from within keymacros.conf would be really difficult.

User1   ?softdevice_keyhandler_v1.0   User1

So the receiving service can act upon vdr keys independant of plugins
menu layout. Intendet action could be toggeling current crop-mode
settings or full-screen vs. windowed mode. Currently output methods 
which implement crop mode switches have their own remote and intercept
key events for doing this.

> 
> An easier approach may be to implement a gateway to the SVDRPCommand()
> interface, as this interface accepts strings as command parameters.
> 
> In any case, you'll need a plugin that offers such simple calls, with
> static parameters and no returned information processed. Do you have any
> specific plugin in mind?
> 
> Cheers,
> 
> Udo

-- 
Stefan Lucke



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux