Opened 13 years ago

Closed 8 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@… 13 years ago.
eitmapping_21_fixes.diff (3.9 KB) - added by Wolfgang <mythtv@…> 11 years ago.
Patch against 21-fixes
ticket2416_copy_eit_2_other_source.patch (4.1 KB) - added by warped <warpme@…> 9 years ago.
updated patch for 0.24-fixes

Download all attachments as: .zip

Change History (18)

Changed 13 years ago by mythtv@…

Attachment: eitmapping.diff added

comment:1 Changed 13 years ago by Stuart Auchterlonie

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 Changed 13 years ago by anonymous

Great idea, the EITMUNGER

comment:3 Changed 13 years ago by anonymous

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 Changed 13 years ago by anonymous

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 Changed 13 years ago by Janne Grunau

Milestone: 0.21unknown
Version: 0.20head

comment:6 Changed 12 years ago by danielk

Component: mythtveit

comment:7 Changed 12 years ago by Stuart Auchterlonie

Milestone: unknown0.22

comment:8 in reply to:  7 Changed 12 years ago by anonymous

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 Changed 11 years ago by Maduser

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

Changed 11 years ago by Wolfgang <mythtv@…>

Attachment: eitmapping_21_fixes.diff added

Patch against 21-fixes

comment:10 Changed 11 years ago by Dibblah

Status: newassigned

comment:11 Changed 10 years ago by stuartm

Milestone: 0.22unknown

comment:12 Changed 10 years ago by stuartm

Component: eitMythTV - EIT

comment:13 Changed 10 years ago by anonymous

Is there a version for 0.22/trunk?

comment:14 Changed 9 years ago by warpme@…

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;

Changed 9 years ago by warped <warpme@…>

updated patch for 0.24-fixes

comment:15 Changed 8 years ago by robertm

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.