How often should epg.data update

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

 



Olaf Titz wrote:
>>VDR saves the egp.data file every 10 minutes, unless there is
>>
>>- an open menu
>>- a running replay
>>- an active recording
>>- an active cutting process
>>- an open SVDRP connection
> 
> 
> Does this mean that an epg.data save process is skipped when one of
> this condition holds, and the next is tried exactly 10 minutes later?

The check whether the epg.data file shall be saved (amoung other things)
is done whenever none of the above conditions is true. See vdr.c:

         if (!Interact && ((!cRecordControls::Active() && !cCutter::Active() && (!Interface->HasSVDRPConnection() || UserShutdown)) || ForceShutdown)) {
            time_t Now = time(NULL);
            if (Now - LastActivity > ACTIVITYTIMEOUT) {
               ...
               cSchedules::Cleanup();
               ...
               }
            }

and

   if (epgDataFileName && now - lastDump > 600) {

in epg.c.

So effectively the check is done every ten minutes, but may be postponed
a short while if one of the conditions ist true. Of course, if such a
condition is true for too long in one piece, egp.data may be saved much
later - if at all.

Klaus


[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