Opened 12 years ago

Closed 12 years ago

#4051 closed enhancement (fixed)

Ignore EIT data with invalid start_date

Reported by: andy@… Owned by: Janne Grunau
Priority: minor Milestone: 0.21
Component: eit Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

Over the last few days, a channel has been broadcasting some invalid EIT data, with the start_date field as 0xffffffffff, giving a date of 2038-04-22 ff:ff:ff in the database, this causes minor issues in that available guide data shows in the region of 11190 days available, and mythfilldatabase reports that no data has been updated.

Attachments (1)

myth_eitdata.diff (911 bytes) - added by <level42@…> 12 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 12 years ago by Stuart Auchterlonie

Milestone: unknown0.21
Status: newinfoneeded_new
Version: unknownhead

Is this still occurring with current SVN?

comment:2 Changed 12 years ago by level42@…

Looks good so far, give me a week or so to be sure. If I see it occurs again I'll post the patch I have to fix this. For testing right now, I removed my patch to check for this ticket.

comment:3 Changed 12 years ago by <level42@…>

Still happens with SVN15568, Got this last night "2032-11-17 08:04 (9063 days)"

Attached is a patch which rejects anything beyond 30 days of the current date.

Changed 12 years ago by <level42@…>

Attachment: myth_eitdata.diff added

comment:4 Changed 12 years ago by Janne Grunau

Status: infoneeded_newnew

rejecting events after parsing them is suboptimal, I'll implement it in a different way

comment:5 Changed 12 years ago by Janne Grunau

Owner: changed from Stuart Auchterlonie to Janne Grunau
Status: newaccepted

comment:6 Changed 12 years ago by Janne Grunau

Resolution: fixed
Status: acceptedclosed

(In [15830]) Fixes #4051. Reject DVB EIT events with endtime more than 7 weeks in the future

Note: See TracTickets for help on using tickets.