Opened 12 years ago

Closed 11 years ago

#4956 closed patch (fixed)

Make MythXML's GetProgramGuide return shows inclusively

Reported by: sphery <mtdean@…> Owned by: greg
Priority: minor Milestone: unknown
Component: upnp Version: head
Severity: medium Keywords:
Cc: Rob Smith Ticket locked: no

Description

The attached patch modifies the query logic in MythXML::GetProgramGuide?() to include all programs that overlap the time between StartDate? and EndDate?. Previously, only shows that are completely contained within the StartDate? and EndDate? would be returned.

The approach in the patch is the same as the one used in GuideGrid::GetProgramList?(), and should prevent "unfilled" data within the guide. It should also make "blind" queries easier as the user need not know the duration of any given show.

Attachments (1)

mythtv-4956-MythXML-program_guide_inclusive.patch (830 bytes) - added by sphery <mtdean@…> 12 years ago.

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by sphery <mtdean@…>

comment:1 Changed 12 years ago by sphery <mtdean@…>

I tested the patch with post-Qt4 trunk. It applies without modification and works, as before.

comment:2 Changed 12 years ago by greg

Owner: changed from dblain to greg
Status: newassigned

comment:3 Changed 12 years ago by mymote.support@…

This patch really needs to be incorporated into MythTV. I am developing MyMote? (http://trac2.assembla.com/mymote) and it depends on the correct program guide data. MyMote? will be released on July 11th (for free of course). Please apply this patch as soon as possible.

Thanks

comment:4 Changed 11 years ago by Rob Smith

Cc: Rob Smith added

comment:5 Changed 11 years ago by Rob Smith

Resolution: fixed
Status: assignedclosed

(In [20243]) Fixes #4956, this changes the MythXML program guide listings to be inclusive. Patch by Mr. Dean

Note: See TracTickets for help on using tickets.