[mythtv] Can't record without tuner.
Kyuma Ohta
whatisthis at jcom.home.ne.jp
Fri Sep 2 23:49:56 UTC 2005
Hi,
I got mythtv-r7194 from svn.mythtv.org and build,
when record from S-Input and STB at /dev/video1 (ivtv) with
below messages and not to be recorded:
---
2005-09-03 07:29:32.365 Started recording "??????????" on channel: 6 on cardid: 1, sourceid 1
2005-09-03 07:29:32.516 Channel::GetCurrentChannelNum(6): Failed to find Channel '6'
2005-09-03 07:29:32.523 Channel(/dev/video1)::TuneTo(6): Error, failed to find channel.
2005-09-03 07:29:32.527 TVRec: Failed to set channel for recording. Aborting.
---
So,I changed libs/mythtv/libmythtv/channel.cpp *not to use*
tuner (force to use external input) with below patch ,
please change this routine able to
record without Tuner.
Regards,
Ohta
--- channel.cpp.orig 2005-09-03 08:36:32.535903621 +0900
+++ channel.cpp 2005-09-03 08:37:33.197985999 +0900
@@ -528,18 +528,18 @@
{
if (isFrequency)
{
- if (!Tune(frequency))
- return false;
+ //if (!Tune(frequency))
+ // return false;
}
else
{
- if (!TuneTo(freqid, finetune))
- return false;
+ //if (!TuneTo(freqid, finetune))
+ // return false;
}
}
- else if (!ChangeExternalChannel(freqid))
- return false;
-
+ //else if (!ChangeExternalChannel(freqid))
+ // return false;
+ // For STB.
SetCachedATSCInfo(atsc_chan);
return true;
More information about the mythtv-dev
mailing list