Changed section handling; replaced 'libdtv' with 'libsi'

This commit is contained in:
Klaus Schmidinger
2003-12-22 13:29:24 +01:00
parent 84b99ea810
commit 7ff59171e3
51 changed files with 2118 additions and 9985 deletions

10
svdrp.c
View File

@@ -10,7 +10,7 @@
* and interact with the Video Disk Recorder - or write a full featured
* graphical interface that sits on top of an SVDRP connection.
*
* $Id: svdrp.c 1.55 2003/08/31 11:24:47 kls Exp $
* $Id: svdrp.c 1.56 2003/12/21 13:37:10 kls Exp $
*/
#include "svdrp.h"
@@ -155,7 +155,7 @@ bool cPUTEhandler::Process(const char *s)
else {
rewind(f);
if (cSchedules::Read(f)) {
cSIProcessor::TriggerDump();
cSchedules::Cleanup(true);
status = 250;
message = "EPG data processed";
}
@@ -458,7 +458,7 @@ void cSVDRP::CmdCHAN(const char *Option)
void cSVDRP::CmdCLRE(const char *Option)
{
cSIProcessor::Clear();
cSchedules::ClearAll();
Reply(250, "EPG data cleared");
}
@@ -707,8 +707,8 @@ void cSVDRP::CmdLSTC(const char *Option)
void cSVDRP::CmdLSTE(const char *Option)
{
cMutexLock MutexLock;
const cSchedules *Schedules = cSIProcessor::Schedules(MutexLock);
cSchedulesLock SchedulesLock;
const cSchedules *Schedules = cSchedules::Schedules(SchedulesLock);
if (Schedules) {
FILE *f = fdopen(file, "w");
if (f) {