Bug #765 » logging.diff
vdr-vdrmanager/helpers.cpp | ||
---|---|---|
string result = "START\r\n";
|
||
// iterate through all recordings
|
||
cRecording* recording = NULL;
|
||
string serrecord;
|
||
for (int i = 0; i < Recordings.Count(); i++) {
|
||
recording = Recordings.Get(i);
|
||
result += ToText(recording);
|
||
serrecord = ToText(recording);
|
||
esyslog( "vdrmanager: serialized recording %s", serrecord.c_str());
|
||
result += serrecord;
|
||
}
|
||
return result + "END\r\n";
|
||
}
|
||
... | ... | |
}
|
||
string cHelpers::ToText(cRecording * recording) {
|
||
esyslog( "vdrmanager: serialize a recording %s added", *recording->Info()->Title());
|
||
const cRecordingInfo * info = recording->Info();
|
||
const cEvent * event = info->GetEvent();
|
||