[mythtv] [PATCH] Input Source Preference question/DVB cards
James Armstrong
james at thearmstrongs.org
Fri Feb 11 18:42:16 UTC 2005
James Armstrong wrote:
> What exactly does the Input Preference in the Input sources do? I
> thought it would pick a particular card / input for recording when a
> show was available on more than one input. If I have local channels on
> cable on one pvr250 and local channels from dish on another can I set
> the Input preference higher on the dish card so it would try and record
> from that card over the cable card? I know you can do it per Channel in
> the database but I would rather have it done per card, it would be easier.
>
> The main reason for asking this I have added two DVB cards (air2PC) and
> I would like to have them as the first choice for recording. The setup
> program does not have the Input Preference on the DVB settings under
> Input Sources. It is a simple one line patch but I wanted to make sure
> it will still work the same with the DVB cards.
Here is the patch. Adds the Input Preference setting.
- James
-------------- next part --------------
Index: libs/libmythtv/videosource.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/videosource.cpp,v
retrieving revision 1.65
diff -u -r1.65 videosource.cpp
--- libs/libmythtv/videosource.cpp 5 Feb 2005 13:59:47 -0000 1.65
+++ libs/libmythtv/videosource.cpp 11 Feb 2005 18:38:49 -0000
@@ -1269,9 +1269,9 @@
group->addChild(cardid = new CardID(*this));
group->addChild(inputname = new InputName(*this));
group->addChild(sourceid = new SourceID(*this));
+ group->addChild(new InputPreference(*this));
if (!DVB)
{
- group->addChild(new InputPreference(*this));
group->addChild(new ExternalChannelCommand(*this));
group->addChild(new PresetTuner(*this));
}
More information about the mythtv-dev
mailing list