[mythtvnz] EPG Data for 'niche' channels ?
Steven Ellis
steven at openmedia.co.nz
Fri May 11 00:43:36 BST 2012
On Thu, May 10, 2012 6:26 pm, David Moore wrote:
> On 10/05/12 17:18, Steven Ellis wrote:
>>
>> On Thu, May 10, 2012 3:14 pm, David Moore wrote:
>>> On 10/05/12 09:07, Steven Ellis wrote:
>>>>
>>>> Hi David. In your MythTV setup for the freeview source what time zone
>>>> do
>>>> you set for the EPG. In my case I default to using AUTO as I import
>>>> multiple EPG feeds for different timezones, for example SBS (now sadly
>>>> off
>>>> air).
>>>>
>>>> When I generate listings with epgsnoop the data contains the +1200
>>>> offset
>>>> based on my local system vs the DVB data.
>>>>
>>>> In the case of DTT I merge DVB and MHEG data so that my DTT and DTH
>>>> channels are being provided with identical EPG information. For the
>>>> DTT
>>>> exclusive channels I just pull them from the MHEG file using tv_split
>>>> and
>>>> tv_cat.
>>>>
>>>> Steve
>>>>
>>> Hi Steve. My setting is "none" for the EPG timezone. I only have DVB-T
>>> so it works fine with the MHEG EPG local times. I'll probably do a
>>> quick
>>> fix just for you :) that gives you the option to generate UTC +1200 (or
>>> +1300 for DST). Then I'll think about a more general solution. /David
>>>
>>
>> Dave. That would be brilliant. Cheers
>> --------------------------------------------
>> Steven Ellis - Technical Director
>> OpenMedia Limited - The Home of myPVR
>> email - steven at openmedia.co.nz
>> website - http://www.openmedia.co.nz
>
> Version 0.3.4 just uploaded. Turned out to be not so simple because (a)
> I decided to try and do it right rather than quick and dirty and (b)
> surprisingly Python doesn't do time zones very well. Anyway I think it
> works. Just add "-z" command line arg. Enjoy.
>
Nice try but times are off by a couple of hours.
For example take from DVB-S i get
<programme channel="1035.dvb.guide" start="20120512180000 +1200"
stop="20120512190000 +1200">
<title lang="eng">ONE News At 6pm</title>
<desc>The nation's leading team of journalists brings viewers the
latest news and sport, plus the most comprehensive weather
report.</desc>
<category>tvshow</category>
<category>News/Current Affairs</category>
<!-- Cat:2-0 -->
<!-- Unknown rating:0 -->
</programme>
>From MHEG I get
<programme channel="1200.dvb.guide" start="20120511060000 +1200"
stop="20120511070000 +1200">
<title>ONE News At 6pm</title>
<desc>The nation's leading team of journalists brings
viewers the latest news and sport, plus the most
comprehensive weather report.</desc>
<episode-num system="dd_progid">10272257</episode-num>
<subtitles type="teletext" />
</programme>
Cheers
Steve
--------------------------------------------
Steven Ellis - Technical Director
OpenMedia Limited - The Home of myPVR
email - steven at openmedia.co.nz
website - http://www.openmedia.co.nz
More information about the mythtvnz
mailing list