I've been trying to set up a second KM box as an experiment (config affter the * below). Anyway, when trying a set up a recording from the Composite Video input, I had set it up as channel 6 in EPG with no EPG info, and with no number in the channel number on the second channel setup screen. I was getting "Recorder Failed" messages and the following
Code:
2007-01-04 22:15:02.919 TVRec(2): Changing from None to RecordingOnly
2007-01-04 22:15:02.934 TVRec(2): HW Tuner: 2->2
2007-01-04 22:15:03.017 Channel::GetCurrentChannelNum(): Failed to find Channel ''
2007-01-04 22:15:03.020 Channel(/dev/video0)::TuneTo(): Error, failed to find channel.
2007-01-04 22:15:03.022 TVRec(2) Error: Failed to set channel to 6. Reverting to kState_None
2007-01-04 22:15:03.024 TVRec(2): Changing from RecordingOnly to None
2007-01-04 22:15:03.046 Canceled recording (Recorder Failed): Test3 (Manual Record) "Thu Jan 4 22:15:00 2007": channel 1004 on cardid 2, sourceid 2
2007-01-04 22:15:06.306 Error deleting '/myth/tv/1004_20070104221500.nuv' could not open
eno: No such file or directory (2)
2007-01-04 22:15:06.311 Delete Error '/myth/tv/1004_20070104221500.nuv'
eno: No such file or directory (2)
2007-01-04 22:15:10.329 Reschedule requested for id 0.
2007-01-04 22:15:10.364 Scheduled 1 items in 0.0 = 0.01 match + 0.03 place
2007-01-05 02:56:31.085 Using runtime prefix = /usr
2007-01-05 02:56:31.177 New DB connection, total: 1
Observing that my other box running a script doesn't have any problem so I thought to write a dummy script called script1.sh :
Code:
#!/bin/bash
echo $1
exit 0
copied it into /usr/local/bin. In Input Connections put in the dummy script name in the channel change script entry and put 106 in the channel in the Channel Editor.
Restarted the backend and tried out a recording and it worked.
Code:
2007-01-05 03:00:02.588 TVRec(2): Changing from None to RecordingOnly
2007-01-05 03:00:02.603 TVRec(2): HW Tuner: 2->2
106
2007-01-05 03:00:03.677 ret_pid(6070) child(6070) status(0x0)
2007-01-05 03:00:03.680 External Tuning program exited with no error
2007-01-05 03:00:03.910 Started recording: Test5 (Manual Record) "Fri Jan 5 03:00:00 2007": channel 1004 on cardid 2, sourceid 2
[mpeg4 @ 0xb728e4a8]removing common factors from framerate
VIDIOCGCHAN: Invalid argument
strange error flushing buffer ...
2007-01-05 03:05:00.372 TVRec(2): Changing from RecordingOnly to None
2007-01-05 03:05:00.398 Reschedule requested for id 0.
2007-01-05 03:05:00.417 Finished recording Test5 (Manual Record) "Fri Jan 5 03:00:00 2007": channel 1004
2007-01-05 03:05:00.445 Scheduled 0 items in 0.0 = 0.01 match + 0.04 place
2007-01-05 03:05:00.769 Finished recording Test5 (Manual Record) "Fri Jan 5 03:00:00 2007": channel 1004
Bruce S.
* PIII 650MHz FC+Slocket, Gigabyte GA-6BXD, 768Mb, Dual channel ATA-100 PCI ATA HBA, 80Gb PATA HDD,
LG GDR8161B DVD-ROM, LG GCE-8520B CD-RW, XFX GeForce FX5200, Hauppauge WinTV Theater, Intel Gigabit Ethernet, Creative Labs SB Live!