Opened 19 years ago

Closed 14 years ago

#2416 closed enhancement (Won't Fix)

Provide analog sources with dvb eit

Reported by: mythtv@… Owned by: Stuart Auchterlonie
Priority: minor Milestone: unknown
Component: MythTV - EIT Version: head
Severity: medium Keywords: eit
Cc: Ticket locked: no

Description

This patch gives you the ability to provide epg info to another channel. The mapping is configured in an extra table eit_mapping (see below). The mapping is based on the serviceid and a channel with the configured mapped_chanid gets a copy of the epg data.

CREATE TABLE eit_mapping (

serviceid int(10) unsigned NOT NULL default '0', mapped_chanid int(10) unsigned default NULL, UNIQUE KEY serviceid (serviceid)

) TYPE=MyISAM;

Attachments (3)

eitmapping.diff (3.8 KB ) - added by mythtv@… 19 years ago.
eitmapping_21_fixes.diff (3.9 KB ) - added by Wolfgang <mythtv@…> 18 years ago.
Patch against 21-fixes
ticket2416_copy_eit_2_other_source.patch (4.1 KB ) - added by warped <warpme@…> 15 years ago.
updated patch for 0.24-fixes

Download all attachments as: .zip

Change History (18)

by mythtv@…, 19 years ago

Attachment: eitmapping.diff added

comment:1 by Stuart Auchterlonie, 19 years ago

Keywords: eit added
Milestone: unknown0.21
Owner: changed from Isaac Richards to Stuart Auchterlonie

This looks interesting. I'll keep this in mind as we continue the eit rewrite.

comment:2 by anonymous, 19 years ago

Great idea, the EITMUNGER

comment:3 by anonymous, 19 years ago

I believe this is already implemented for NTSC channels, you just have to allow listings data to leak to other sources. I would rather avoid adding another table, but instead just populate the service id (and network id?, by using the "dtv" multiplex table) for the analog channel. -- danielk

comment:4 by anonymous, 19 years ago

It's main use would be for a analog input that's connected to a STB. If you have listings provided by datadirect they are often incorrect or just don't have the data for all channels. Getting the listing directly from the provider(s) via DVB-EIT fixes those problems.

comment:5 by Janne Grunau, 19 years ago

Milestone: 0.21unknown
Version: 0.20head

comment:6 by danielk, 19 years ago

Component: mythtveit

comment:7 by Stuart Auchterlonie, 18 years ago

Milestone: unknown0.22

in reply to:  7 comment:8 by anonymous, 18 years ago

Replying to stuarta: What can be done in the meantime before .22 for a workaround? I'm desparately needing this... maybe a cron script to do the duplication?

comment:9 by Maduser, 18 years ago

I think this patch does not work any longer. I tried to apply it against 0-21-fixes. I get the compile error:

eithelper.cpp: In member function 'void EITHelper::AddEIT(const DVBEventInformationTable*)':
eithelper.cpp:410: error: 'serviceid' was not declared in this scope
eithelper.cpp:418: error: 'subtitled' was not declared in this scope
eithelper.cpp:419: error: 'stereo' was not declared in this scope
eithelper.cpp:419: error: 'hdtv' was not declared in this scope
make[2]: *** [eithelper.o] Error 1

by Wolfgang <mythtv@…>, 18 years ago

Attachment: eitmapping_21_fixes.diff added

Patch against 21-fixes

comment:10 by Dibblah, 17 years ago

Status: newassigned

comment:11 by stuartm, 16 years ago

Milestone: 0.22unknown

comment:12 by stuartm, 16 years ago

Component: eitMythTV - EIT

comment:13 by anonymous, 16 years ago

Is there a version for 0.22/trunk?

comment:14 by warpme@…, 15 years ago

Hi, This is updated patch for 0.24-fixes git20110327. For quick filling eit_mapping table You can use following:
mysql -u root mythconverg

INSERT INTO eit_mapping SELECT src.serviceid , dst.chanid FROM channel src JOIN channel dst ON src.callsign = dst.callsign AND src.sourceid =8 AND dst.sourceid =9 exit;

by warped <warpme@…>, 15 years ago

updated patch for 0.24-fixes

comment:15 by robertm, 14 years ago

Resolution: Won't Fix
Status: assignedclosed

OK, this is five years old and not even close to being usable. The latest patch relies on a bunch of glue that doesn't even have a UI, and that UI would be a mess if it existed-- you need to create your own DB mapping between the two sources, which by definition must be manually manipulated... it just isn't usable as it is. It's not that I'm against the notion of using EIT to inform EIT-incapable lineups-- it's just that *this* implementation can't be applied, and has withered on the vine.

Note: See TracTickets for help on using tickets.