Hello List,
in 1.3.32 the timeout of the menu is now handled in the main loop (vdr.c). this causes some plugins (in this case: channelscan) to be closed after MENUTIMEOUT what is sometimes not wanted...
One way would be to make LastActivity global and update it in the plugin, another way would be to introduce a variable e.g. "AutoCloseMenu" in cOsdObject...
Is there an "intended" way to suppress this behaviour? Any suggestions?
regards, Thiemo
En/na rollercoaster@reel-multimedia.com ha escrit:
Hello List,
in 1.3.32 the timeout of the menu is now handled in the main loop (vdr.c). this causes some plugins (in this case: channelscan) to be closed after MENUTIMEOUT what is sometimes not wanted...
One way would be to make LastActivity global and update it in the plugin, another way would be to introduce a variable e.g. "AutoCloseMenu" in cOsdObject...
Is there an "intended" way to suppress this behaviour?
Modify the plugin to return osContinue when there's no keypress.
Bye
in 1.3.32 the timeout of the menu is now handled in the main loop (vdr.c). this causes some plugins (in this case: channelscan) to be closed after MENUTIMEOUT what is sometimes not wanted...
Modify the plugin to return osContinue when there's no keypress.
thanks, it works, even if i still do not understand the intention of osContinue...
cheers, thiemo
attached the patch for channelscan 0.1.0
rollercoaster@reel-multimedia.com wrote:
in 1.3.32 the timeout of the menu is now handled in the main loop (vdr.c). this causes some plugins (in this case: channelscan) to be closed after MENUTIMEOUT what is sometimes not wanted...
Modify the plugin to return osContinue when there's no keypress.
thanks, it works, even if i still do not understand the intention of osContinue...
cheers, thiemo
The various osXxx values tell the parent menu (or the main loop) what to do. osEnd, e.g., tells it to close the current menu, osUnknown means that the current menu didn't know what to do with the key, and osContinue just means "don't do anything special, just continue".
So osContinue is what a menu that doesn't want to be closed should return instead of osUnknown.
Klaus