Vielen Dank für die guten Tips !
Nun habe ich es so gemacht :
In menü.c
Code
bool cRecordControls::Start(cTimer *Timer, bool Pause)
.......
for (int i = 0; i < MAXRECORDCONTROLS; i++) {
if (!RecordControls[i]) {
RecordControls[i] = new cRecordControl(device, Timer, Pause);
//->2020-01-03
dsyslog("New RecControl [adapter%d] channel %d (%s) filename [%s]",
device->DeviceNumber(),
channel->Number(),
channel->Name(),
RecordControls[i]->FileName());
//<-2020-01-03
return RecordControls[i]->Process(time(NULL));
}
}
}
.........
Das gibt dann :
New RecControl [adapter1] channel 1011 (ServusTV HD Deutschland) filename [/mnt/dd/Auf_Entdeckungsreise_-_um_die_Welt/2020-01-03.13.57.1011-0.rec]
Display More
Das "adapter1" schreibe ich dann noch in eine separate Datei im Aufnahmeverzeichnis.
Vielen Dank nochmal !
Frithjof