I am an experienced programmer and would be able to do some modification to code, but would prefer to not have to spend weeks wading through code and rebuilding the system to make it happen.
The problem is, while such a facility might be useful, there is actually very little need for this sort of thing in a
video recorder (I can't think of one single domestic tape-based VCR I've ever owned that would do such a thing)...
However... All is not lost. ChadV says it is possible to start and stop recording from the command line (the exact commands will be on the forum someplace).
Here is something from the sources:
/** check to see if video signal is available.
*
* @return
* 0 if not present, 1 if present.
*/
int CoolVideoIsPresent(void)
{
static int fd_vs = -1;
int st_vs = FALSE;
char buf[2];
int count;
if(fd_vs < 0)
{
if ((fd_vs = open("/proc/tvp5150", 0)) < 0)
{
goto bail;
}
}
lseek(fd_vs,0,0);
count = read(fd_vs,buf,1);
if(count <=0) goto bail;
buf[1]=0;
if(strcmp("0",buf)==0)
{
DBGLOG("video is not present.\n");
st_vs = FALSE;
}
else if(strcmp("1",buf)==0)
{
st_vs = TRUE;
DBGLOG("video is present.\n");
}
else
{
st_vs = FALSE;
}
bail:
return st_vs;
}[in
.../Neuros-Cooler/cooler/core/src/video-control.c]
As you say you are a proficient programmer, I don't see why to can't set up a little program to check a couple of times per second "
is there a video signal?" and issue command line calls to start/stop the recording as applicable.
Poke around
.../linux-r3-main-app/vrecorder/src/ui as well.
Best wishes,
Rick.