[vdr] cStatus::OsdClear

Jörg Wendel vdr-ml at jwendel.de
Sun Feb 22 14:54:57 CET 2009


Hi,

found :), the cause is a patch which is includes in the extension patch, due 
to this the result of cMenuMain::Update is always true since 
Setup.MainMenuTitle is not configured to 0 ('default'):

bool cMenuMain::Update(bool Force)
 {

   if (subMenu.isTopMenu()) {
#endif /* SETUP */
#ifdef USE_LIEMIKUUTIO
       if (Setup.MainMenuTitle) {
          if (Setup.MainMenuTitle == 1)
              SetTitle(cString::sprintf("%s - %s", tr("VDR"), 
                              Setup.CustomMainMenuTitle));
         else if (Setup.MainMenuTitle == 2)
              SetTitle(cString::sprintf("%s", Setup.CustomMainMenuTitle));
         else if (Setup.MainMenuTitle == 3)
              SetTitle(cString::sprintf("%s %s", tr("VDR"), VDRVERSION));
          result = true;
 }

I will contact the patch developer.

Tanks, Regards
Jörg

On Sonntag 22 Februar 2009 09:44:46 Jörg Wendel wrote:
> Hi,
>
> sorry for pushing this!
>
> Nobody a idea why this tree methods (OsdClear, OsdItem, OsdCurrentItem) of
> the Status interface called every second when I'm in the main menu and
> don't press a key?
>
> Regards
> Jörg
>
> On Sonntag 15 Februar 2009 09:39:55 Jörg Wendel wrote:
> > Hi,
> >
> > sorry typo, I mean of course VDR version 1.7.4 !
> >
> > Regards
> > Jörg
> >
> > On Samstag 14 Februar 2009 19:33:51 Jörg Wendel wrote:
> > > Hello,
> > >
> > > i using the status interface in a plugin. No I wonder why
> > > cStatus::OsdClear() and therefore also ::OsdItem() and
> > > ::OsdCurrentItem() is called every second, even if i don't touch any
> > > key.
> > > This behavior is not in all menus, most notably in the main menu. In
> > > other menus only ::OsdCurrentItem() is called if i scroll in the menu.
> > >
> > > My VDR version is 1.4.7, i can't say since which version it is like
> > > this, but I'm almost sure some versions ago it was different.
> > >
> > >
> > > Regards
> > > Jörg
> > >
> > >
> > > _______________________________________________
> > > vdr mailing list
> > > vdr at linuxtv.org
> > > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
> >
> > _______________________________________________
> > vdr mailing list
> > vdr at linuxtv.org
> > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/vdr/attachments/20090222/03fb97b2/attachment.htm 


More information about the vdr mailing list