Mailing List archive

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

[vdr] Re: svdrp - play recording? Bug in chan?



Jürgen Schmitz wrote:
> 
> Hi!
> 
> Is there really no command to start playing a recording?

Not yet.

> Btw. when the chan command is sent just after another chan command the
> channel info osd that is shown from the first command is not updated
> (1.2.6 using elchi patch).

Try the following:

--- menu.c      2004/05/29 10:19:22     1.307
+++ menu.c      2004/06/06 09:44:02
@@ -2643,6 +2643,8 @@
                      }
     };
   if (time_ms() - lastTime < INFOTIMEOUT) {
+     if (channel && channel->Number() != cDevice::CurrentChannel())
+        Refresh(); // makes sure a channel switch through the SVDRP CHAN command is displayed
      DisplayInfo();
      displayChannel->Flush();
      return osContinue;

This is for VDR 1.3.9, but the general idea should also apply to VDR 1.2.6.
The patch is at the end of cDisplayChannel::ProcessKey() (in VDR/menu.c).

Klaus




Home | Main Index | Thread Index