Opened 14 years ago

Closed 14 years ago

#673 closed patch (fixed)

Allow >2 channels to use the same xmltvid

Reported by: htpc@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: high Keywords:
Cc: Ticket locked: no

Description

allows multiple stations to share the same xmltvid. Basically duplicates the guidedata for all channels with the same xmltvid.

Probably only useful in Australia (e.g. 9HD and 9SD).

Attachments (2)

xmltv_aus.diff (24.8 KB) - added by anonymous 14 years ago.
xmltv_aus.2.diff (1.5 KB) - added by anonymous 14 years ago.

Download all attachments as: .zip

Change History (7)

Changed 14 years ago by anonymous

Attachment: xmltv_aus.diff added

comment:1 Changed 14 years ago by anonymous

I don't thing only aussies need this patch, as for example here in europe, where I have an analoge cable (PVR-xxx) and a sat (DVB-S) plus a d-cable (DVB-C) in the same machine it's a real nag to get these stuff working when 50 percent of the channels are overlapping. Could we expand the code here?

comment:2 Changed 14 years ago by htpc@…

This patch should work if your using xmltv (i.e. the tv_gab_xx scripts)...

It's not the best solution though as data is duplicated for all the stations. But it's the easiet as it only changes filldata.cpp and leave everything else intact.

comment:3 Changed 14 years ago by Isaac Richards

Resolution: fixed
Status: newclosed

(In [8561]) Close #673 by applying patch. Allows duplicating program data for channels with the same xmltvid.

Untested, as it only applies to xmltv grabbers.

Changed 14 years ago by anonymous

Attachment: xmltv_aus.2.diff added

comment:4 Changed 14 years ago by htpc@…

Resolution: fixed
Severity: mediumhigh
Status: closedreopened

[8561] is broken as the query object is reused again later on in the loop (somewhere in line 2317), thus breaking the earlier "while(query.next())" statement.

Attached is a quick patch that creates another MSqlQuery object called chanQuery, but this requires 2 connections.

comment:5 Changed 14 years ago by Isaac Richards

Resolution: fixed
Status: reopenedclosed

(In [8591]) Close #673 again by applying patch that fixed what I broke when applying the original patch.

Note: See TracTickets for help on using tickets.