[mythtv-users] [SOLVED] HDHomerun Prime with CableCard on Myth 0.29 via External (black box) Tuner

Stephen Worthington stephen_agent at jsw.gen.nz
Sat Jul 16 06:25:39 UTC 2022


On Fri, 15 Jul 2022 21:16:56 +0000, you wrote:

>On Fri, Jul 15, 2022 at 8:56 PM Christopher Sean Hilton
><chris at vindaloo.com> wrote:
>
>> Right now, I'm unable to do that because I'm still tied to the Schedules Direct
>> DD grabber. That grabber won't let me multiplex my the antenna feed into two
>> streams.
>
>While I do not use (and do not recommend) the na_dd grabber,
>as I recall it will let you create different configurations (which
>are videosources which specify the xmltv config to use to
>MythTV) that specify different Schedules Direct lineups (just
>like one has another configuration for one's cable lineup).
>You just need to create another Schedules Direct lineup
>that has the appropriate channels for your different source.
>And the XMLTV configuration will allow you to in/exclude
>channels as appropriate.

You do need to use separate videosources for the different tuners when
their lineups are different.  The videosources each have separate
settings for running the grabber, so it gets run once for each
videosource and should download the appropriate channels for each
different lineup.

However, if you can not get the grabber to download different lineups,
or to filter out the unwanted channels for each videosource, you can
still make it work by manually running the grabber and then editing
the downloaded .xml file to create different versions for your
different videosources.  You use the XMLTV tools tv_split and tv_merge
to do that.  Use tv_split to create a separate file for each channel:

tv_split -o %channel.xml downloaded.xml

tv_split is fairly rapid, so that does not take too long.  Then use
tv_merge to merge the required channel files into one big .xml file
for each videosource.  tv_merge is quite slow, and gets slower the
bigger its source files are.  And it only merges two files at once. So
the best way to use it is to merge pairs of channel files into pair
files, then merge pairs of pair files into quad files, and so on.

Once you have created two .xml files from your downloaded file, then
you can run mythfilldatabase like this:

mythfilldatabase --sourceid 1 --file --xmlfile source1.xml
mythfilldatabase --sourceid 2 --file --xmlfile source2.xml


More information about the mythtv-users mailing list