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

Stefan Lucke stefan at lucke.in-berlin.de
Tue Nov 15 23:55:13 CET 2005


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




More information about the vdr mailing list