[mythtv] Ticket #4956: Make MythXML's GetProgramGuide return shows inclusively
chasedouglas.lists at gmail.com
Tue Jul 8 20:24:27 UTC 2008
On Jul 8, 2008, at 4:04 PM, Michael T. Dean wrote:
> The issue is that the current behavior isn't really "broken"--it just
> works a bit differently from how one might expect (and differently
> how the Myth protocol works). I think when David Blain originally
> the code, he felt it was better for the "server" to trim out the
> for the (possibly low-powered/low-resource) client rather than send
> excess info (though he agreed in IRC to change it to make it
> with GuideGrid::GetProgramList() ).
> So, to support the "old" approach, you can use the "summary" version
> the listings to get information about a range of times that's larger
> than the listings to be displayed (i.e. perhaps an hour before and
> the displayed times) and, for channels with missing data, go even
> farther back/forward for that particular channel as necessary to
> fill in
> the blanks. And, if you need details for all shows, you can then use
> the data from the summary to make the exact request you need on a
> per-channel basis.
Ahhh, this clears up a lot. I now understand what's really going on,
and the fix is obvious but when you're in the mindset that you are
right and the upstream is wrong sometimes the obvious fix doesn't get
a chance to form in the mind...
> Yeah, you're actually doing things the right way. Unfortunately, you
> just happen to be pretty much the first person to do it the right way,
> so you get to experience the growing pains as the XML interface
> up with "the real world."
Good to know.
More information about the mythtv-dev