mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Changed section handling; replaced 'libdtv' with 'libsi'
This commit is contained in:
10
svdrp.c
10
svdrp.c
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user