mplayer w/ softdevice

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

 



Klaus Schmidinger wrote:
>> Thats a limitation of VDR's plugin system. A plugin cannot open a menu
>> from replay mode or other situations, the only way to open a plugin
>> menu is from the main menu.
> 
> Since version 1.3.32 a plugin can have its main menu function
> called through cRemote::CallPlugin().

Yes, already realized that. So if you want to open a menu, you can trick
cRemote to send the plugin pseudo-key, let the main loop call the main
menu action, catch that, and initiate a custom menu instead of the
default menu. Talk about straight forward. ;) At least its more straight
forward than calling SVDRP. :D

If some other plugin decides to do the same thing just a moment later,
the call is skipped, so maybe its a good idea to watch for a timeout
between CallPlugin() and MainMenuAction().

And of course there's that nasty problem of plugins loaded twice with
the same name, in which case the MainMenuAction of the first loaded
plugin will get all the calls. ;)

Cheers,

Udo

PS: Sorry for being such a PITA...


[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