[mythtv-users] joining two xmltv sources with <> timezoneoffset

Chris Delis cedelis at uillinois.edu
Tue Apr 27 11:49:17 EDT 2004


On Tue, Apr 27, 2004 at 10:46:10AM -0500, Chris Delis wrote:
> Are you any good with XSLT?  It shouldn't be too difficult to create a
> transformation.  I'd offer a solution but it's been a while since I've
> done this sort of thing.  Hopefull someone on this list can whip one up
> for you :-)

XSLT might even be a little overkill for this.  You could probably get
away with writing a simple perl filter.  If you'd like, you can send me
your two input files off-list and I can attempt to write a simple script
during lunch or after work (or whenever I can)




> 
> 
> On Tue, Apr 27, 2004 at 01:19:11PM +0200, Steven Cruysberghs wrote:
> > Hi,
> > 
> > I have two sources for EPG data where one has more info for some channels
> > that the other.
> > I use mythfilldatabase --file to use them in Myth.
> > They both use another time indication.
> > 
> > The same program would be :
> > 
> >  <programme start="200404272115 +0200" stop="200404272305 +0200"
> > channel="vt4">
> >     <title>One Tough Cop</title>
> > 
> > in one source and :
> > 
> > <programme start="20040427191500 +0000" stop="20040427210500 +0000" 
> > channel="CNI0404">
> >         <title>One Tough Cop</title>
> > 
> > in the other. (notice start and end times)
> > 
> > Does anybody now a good way to join these sources so that they are not
> > shifted in time by 2 hours in the epg as they are now? The correct
> > starttime for the program is 21:15.
> > 
> > Steven
> > 
> > 
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


More information about the mythtv-users mailing list