[mythtv-users] Duplicating EPG between different sources or channels ?

Nick Morrott knowledgejunkie at gmail.com
Mon Jun 20 04:44:04 UTC 2011

2011/6/19 Warpme <warpme at o2.pl>:
> Hi *
> I'm looking for best way to resolve following problem:
> I have SAT source with nice 7-day EPG.
> I have also DVB-T with 3 mplexes where 7 TV channels are the same like
> broadcasted by SAT.
> For scheduling consistency I want to have the same EPG on the same channels
> regardless of source (SAT or DVB-T) so I want to use SAT as master EPG
> source and propagate EPG to DVB-T channels.
> Q is: what is best method of duplicating EPG from one source or channel to
> another ?
> Currently I see following options:
> 1.copy appropriate program table entries from SAT channels to relevant DVB-T
> 2.use solution from http://code.mythtv.org/trac/ticket/2416
> 1\
> (+)is simple and effective
> (-)requires direct access to DB - so I'm afraid interferences with myth
> scheduler / EIT grabber
> 2\
> (-)requires code patching
> (-)can only be used between different sources and only for one destination
> channel
> (+)access to DB is coordinated by myth so no any risk of interferences with
> myth scheduler
> Maybe there is third option to solve this ?

At least one other option is to use a program like tv_grab_dvb to grab
the EIT stream to an intermediate XMLTV file, and then use this file
to populate both sources with the same data using mythfilldatabase.

The downsides to this method over that provided by the patch on the
above ticket include:

i) the timeliness of EIT data is lost unless you also regularly grab
the now/next data from the EIT;
II) you tie up a DVB card whilst grabbing the data

Having a working cross-source solution in the code itself would
benefit not only the many users with DVB-S/DVB-T combo backends where
there may be differences across EPGs, but also provide another route
to provide EIT data to non-digital sources where no native EPG is


Nick Morrott

MythTV Official wiki: http://mythtv.org/wiki/
MythTV users list archive: http://www.gossamer-threads.com/lists/mythtv/users

"An investment in knowledge always pays the best interest." - Benjamin Franklin

More information about the mythtv-users mailing list