[vdr] how to stop timer?

Markus Hahn mhahn at reel-multimedia.com
Thu Jan 19 17:46:59 CET 2006


Hi there 

A full or not available disk causes  a endless lopp of 
TimerStart and EmergencyExit if a timer is active.

To avoid this, I added this code to cRecordControls::Start() : 

menu.c:3518
bool cRecordControls::Start(cTimer *Timer, bool Pause)
{
  ChangeState();
  if (!VideoFileSpaceAvailable(300))
  {
     Skins.Message(mtInfo, tr("No disk space!"));
     if (Timer)
       Timer->Delete();

       return false;
  }

Now the message pops up endlessly, because the timer is still 
aktive??? Any suggestions?

regards Markus 









More information about the vdr mailing list