[mythtv-users] Schedules Direct Service for OTA Coverage

Michael T. Dean mtdean at thirdcontact.com
Tue Jan 1 23:07:28 UTC 2013


On 01/01/2013 10:08 AM, George Nassas wrote:
> On 2012-12-31, at 12:08 AM, R. G. Newbury wrote:
>
>> On 12/23/2012 01:08 AM, Joseph Fry wrote:
>>>         I have a channel lineup for my area based on Antenna coverage. I
>>>         also
>>>         have a amplified directional antenna that picks up some
>>>         programming that
>>>         would normally be outside the normal reception scope of the average
>>>         Antenna. Is there a way to extend the channel list of schedules
>>>         direct
>>>         to include channels that would normally be just outside the
>>>         range of the
>>>         average user? Or can I setup specific channels to preform EIT
>>>         gathering
>>>         while populating the other channels using schedules direct?
>> The answer is: you don't. Myth presumes that all of the channels in a source can be tuned by any tuner using that source.
> I'm not positive about that presumption Geoff. Joseph I can think of two ways to accomplish what you want.
>
> One approach takes advantage of the fact that mythfilldatabase retrieves schedule info by lineup but updates the database by channel xmltvid. So, when two tuners have channels in common (based on xmltvid) the first tuner's lineup will update channels belonging to both. In your situation you would have a lineup for tuner 1 that covered all the normal reception channels and a lineup for tuner 2 that picked up the remaining faraway ones. When the updating dust settled you would have a completely filled-in schedule.
>
> I get the same hodgepodge of channels that Geoff does and for several years SD had half of them in the Buffalo lineup and the other half in the Toronto one. Doing this lineup/xmltvid thing worked until SD got a full lineup for Toronto types. Unless something has changed pseudo merging this way is still a viable approach and anyway it's quick to test out.

Yes.  That's my understanding, too--you have to have a valid Video 
Source using a lineup for it to be used to fill channel listings.  
Therefore, if you only have one Video Source, you can't use the approach 
that several have mentioned.

> A second approach would be to retrieve the various lineups data from schedules direct, merge them, and feed the result to mythfilldatabase. If you look at the filldatabase output it's using wget to retrieve lineup info and that info is in xml format so it's straitforward to work with. The correct tool for merging xml is a language called xslt which you execute using a processor like xsltproc. Merging via xslt isn't for the feint hearted but if you want to go this route I can help you with the xslt as I've written a transform or two for various projects. The advantage here is you can merge any number of lineups, I think you get four per SD subscription and of course you can have as many of those as you can afford.
>
> I was hanging back hoping to hear about a sanctioned method for lineup combining but since you're going to have to roll up your sleeves either of these approaches will work. Start with the first one, it's easier.
>

The approach I mentioned is much easier than this one and doesn't 
involve any editing or merging.  It's simply 2x tv_grab_na_dd --dd-data 
(one for each lineup) followed by 2x mythfilldatabase --dd-file (one for 
each downloaded raw DD data file).

Last paragraph at 
http://www.gossamer-threads.com/lists/mythtv/users/536077#536077 .

Mike


More information about the mythtv-users mailing list