Changeset 18435


Ignore:
Timestamp:
11/03/12 14:55:00 (11 years ago)
Author:
nit
Message:

[titan] write epg all 2h periodic to medium

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/epg.h

    r18433 r18435  
    18641864                        deloldepg();
    18651865                }
     1866
     1867                //write epg periodic to medium
     1868                if(flag == 0 && status.writeperiodicepg + (2 * 60 * 60) < time(NULL)) // 2 stunde
     1869                {
     1870                        status.writeperiodicepg = time(NULL);
     1871                        writeallconfig(2);
     1872                }
     1873
    18661874                //fill with fresh data
    18671875#ifdef SIMULATE
     
    19031911                debug(400, "read epg data from file");
    19041912                status.deloldepg = time(NULL);
     1913                status.writeperiodicepg = time(NULL);
    19051914                tmpstr = createpath(getconfig("epg_path", NULL), "epg.dat");
    19061915                readepg(tmpstr);
  • titan/titan/struct.h

    r18431 r18435  
    10831083        //timer for del old epg entrys
    10841084        time_t deloldepg;
     1085        //write epg periodic to medium
     1086        time_t writeperiodicepg;
    10851087        //0 dektiv
    10861088        //1 only scan
Note: See TracChangeset for help on using the changeset viewer.