Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Mythtvnz

EPG Data for 'niche' channels ?

 

 

First page Previous page 1 2 Next page Last page  View All MythTV mythtvnz RSS feed   Index | Next | Previous | View Threaded


dmoo1790 at ihug

May 10, 2012, 12:19 AM

Post #26 of 34 (1132 views)
Permalink
Re: EPG Data for 'niche' channels ? [In reply to]

On Thu, 10 May 2012 18:46:27 +1200, Nick Rout <nick.rout [at] gmail> wrote:
> On Thu, May 10, 2012 at 6:26 PM, David Moore <dmoo1790 [at] ihug> 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
>>
>>
>> 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.
>>
>
> Just pointing out that accroding to the mythtv DTD the prescription
> for date/time formats is:
>
> All dates and times in this DTD follow the same format, loosely based
> on ISO 8601. They can be 'YYYYMMDDhhmmss' or some initial
> substring, for example if you only know the year and month you can
> have 'YYYYMM'. You can also append a timezone to the end; if no
> explicit timezone is given, UTC is assumed. Examples:
> '200007281733 BST', '200209', '19880523083000 +0300'. (BST == +0100.)
>
>
> http://xmltv.cvs.sourceforge.net/viewvc/xmltv/xmltv/xmltv.dtd
>
> I haven't followed this thread properly, but the impression I got was
> that one of the scripts was not adding a timezone string to the
> date/time string, but I was unclear to me whether that script was
> creating UTC or localtime.
>

Doh! I should have RTFM. Would have been easy to add the NZDT or NZST
string to the UTC times or just produce UTC with no timezone string/offset.
FYI the default is/was to produce local times.

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


steven at openmedia

May 10, 2012, 4:43 PM

Post #27 of 34 (1124 views)
Permalink
Re: EPG Data for 'niche' channels ? [In reply to]

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
>> 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
website - http://www.openmedia.co.nz

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


nick.rout at gmail

May 10, 2012, 5:21 PM

Post #28 of 34 (1117 views)
Permalink
Re: EPG Data for 'niche' channels ? [In reply to]

On Fri, May 11, 2012 at 11:43 AM, Steven Ellis <steven [at] openmedia> wrote:
>
> 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
>>> 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.

12 hours isn't it? (one says 0600 hours or 6am, t'other says 1800 or 6pm)

>
> 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
> website - http://www.openmedia.co.nz
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz [at] lists
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


dmoo1790 at ihug

May 10, 2012, 5:52 PM

Post #29 of 34 (1124 views)
Permalink
Re: EPG Data for 'niche' channels ? [In reply to]

On 11/05/12 12:21, Nick Rout wrote:
> On Fri, May 11, 2012 at 11:43 AM, Steven Ellis<steven [at] openmedia> wrote:
>>
>> 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
>>>> 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.
>
> 12 hours isn't it? (one says 0600 hours or 6am, t'other says 1800 or 6pm)
>
>>
>> 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
>>

Well it looks like the DVB-S date/time is wrong to me. The UTC time for
news at 6 pm should be 2012mmdd060000 because we're 12 hours ahead of
UTC. The MHEG UTC time 2012mmdd060000 +1200 equals 6 pm local. Are you
using a time offset of 12 hrs in the myth EPG config or just the auto
setting with no offset?

I have a minor tweak ready to upload which just produces UTC times with
no offset. Maybe that will help.

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


steven at openmedia

May 10, 2012, 6:22 PM

Post #30 of 34 (1125 views)
Permalink
Re: EPG Data for 'niche' channels ? [In reply to]

On Fri, May 11, 2012 12:52 pm, David Moore wrote:
> On 11/05/12 12:21, Nick Rout wrote:
>> On Fri, May 11, 2012 at 11:43 AM, Steven Ellis<steven [at] openmedia>
>> wrote:
>>>
>>> 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
>>>>> 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.
>>
>> 12 hours isn't it? (one says 0600 hours or 6am, t'other says 1800 or
>> 6pm)
>>
>>>
>>> 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
>>>
>
> Well it looks like the DVB-S date/time is wrong to me. The UTC time for
> news at 6 pm should be 2012mmdd060000 because we're 12 hours ahead of
> UTC. The MHEG UTC time 2012mmdd060000 +1200 equals 6 pm local. Are you
> using a time offset of 12 hrs in the myth EPG config or just the auto
> setting with no offset?
>
> I have a minor tweak ready to upload which just produces UTC times with
> no offset. Maybe that will help.
>

The following patch fixes it. If the times are UTC you don't need to
specify the offset. If the times are local you need to specify the offset..

*** mhegepgsnoop-0.3.4.py 2012-05-10 18:20:48.000000000 +1200
--- mhegepgsnoop-0.3.4a.py 2012-05-11 12:11:28.000000000 +1200
***************
*** 649,655 ****
hh = int(offset/3600.0) # Divide by float to get correct values for
negatives
mm = (offset - hh*3600)/60
offset = hh * 100 + mm
! start_time = time.strftime("%Y%m%d%H%M00",
time.gmtime(time.mktime(date2)))
start_time = start_time + ' {0:+5}'.format(offset)
else: # If times should be local
start_time = time.strftime("%Y%m%d%H%M00",
time.localtime(time.mktime(date2)))
--- 649,656 ----
hh = int(offset/3600.0) # Divide by float to get correct values for
negatives
mm = (offset - hh*3600)/60
offset = hh * 100 + mm
! #start_time = time.strftime("%Y%m%d%H%M00",
time.gmtime(time.mktime(date2)))
! start_time = time.strftime("%Y%m%d%H%M00",
time.localtime(time.mktime(date2)))
start_time = start_time + ' {0:+5}'.format(offset)
else: # If times should be local
start_time = time.strftime("%Y%m%d%H%M00",
time.localtime(time.mktime(date2)))





--------------------------------------------
Steven Ellis - Technical Director
OpenMedia Limited - The Home of myPVR
email - steven [at] openmedia
website - http://www.openmedia.co.nz

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


nick.rout at gmail

May 10, 2012, 7:01 PM

Post #31 of 34 (1118 views)
Permalink
Re: EPG Data for 'niche' channels ? [In reply to]

On Fri, May 11, 2012 at 12:52 PM, David Moore <dmoo1790 [at] ihug> wrote:
> On 11/05/12 12:21, Nick Rout wrote:
>>
>> On Fri, May 11, 2012 at 11:43 AM, Steven Ellis<steven [at] openmedia>
>>  wrote:
>>>
>>>
>>> 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
>>>>> 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.
>>
>>
>> 12 hours isn't it? (one says 0600 hours or 6am, t'other says 1800 or 6pm)
>>
>>>
>>> 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
>>>
>
> Well it looks like the DVB-S date/time is wrong to me. The UTC time for news
> at 6 pm should be 2012mmdd060000 because we're 12 hours ahead of UTC.

No no no, the timezone is +1200 and the date/time is specified in the
that timezone, in other words 1800 hours NZ time (which is 1200 ahead
of UTC).



>The
> MHEG UTC time 2012mmdd060000 +1200 equals 6 pm local. Are you using a time
> offset of 12 hrs in the myth EPG config or just the auto setting with no
> offset?
>
> I have a minor tweak ready to upload which just produces UTC times with no
> offset. Maybe that will help.
>
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz [at] lists
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


nick.rout at gmail

May 10, 2012, 7:03 PM

Post #32 of 34 (1124 views)
Permalink
Re: EPG Data for 'niche' channels ? [In reply to]

On Fri, May 11, 2012 at 2:01 PM, Nick Rout <nick.rout [at] gmail> wrote:
> On Fri, May 11, 2012 at 12:52 PM, David Moore <dmoo1790 [at] ihug> wrote:
>> On 11/05/12 12:21, Nick Rout wrote:
>>>
>>> On Fri, May 11, 2012 at 11:43 AM, Steven Ellis<steven [at] openmedia>
>>>  wrote:
>>>>
>>>>
>>>> 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
>>>>>> 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.
>>>
>>>
>>> 12 hours isn't it? (one says 0600 hours or 6am, t'other says 1800 or 6pm)
>>>
>>>>
>>>> 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
>>>>
>>
>> Well it looks like the DVB-S date/time is wrong to me. The UTC time for news
>> at 6 pm should be 2012mmdd060000 because we're 12 hours ahead of UTC.
>
> No no no, the timezone is +1200 and the date/time is specified in the
> that timezone, in other words 1800 hours NZ time (which is 1200 ahead
> of UTC).


For example here is the output of date -R on my pffice server just a
minute or so ago:

nick [at] serve:~$ date -R
Fri, 11 May 2012 14:02:37 +1200

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


dmoo1790 at ihug

May 10, 2012, 7:45 PM

Post #33 of 34 (1116 views)
Permalink
Re: EPG Data for 'niche' channels ? [In reply to]

On 11/05/12 14:03, Nick Rout wrote:
> On Fri, May 11, 2012 at 2:01 PM, Nick Rout<nick.rout [at] gmail> wrote:
>> On Fri, May 11, 2012 at 12:52 PM, David Moore<dmoo1790 [at] ihug> wrote:
>>> On 11/05/12 12:21, Nick Rout wrote:
>>>>
>>>> On Fri, May 11, 2012 at 11:43 AM, Steven Ellis<steven [at] openmedia>
>>>> wrote:
>>>>>
>>>>>
>>>>> 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
>>>>>>> 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.
>>>>
>>>>
>>>> 12 hours isn't it? (one says 0600 hours or 6am, t'other says 1800 or 6pm)
>>>>
>>>>>
>>>>> 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
>>>>>
>>>
>>> Well it looks like the DVB-S date/time is wrong to me. The UTC time for news
>>> at 6 pm should be 2012mmdd060000 because we're 12 hours ahead of UTC.
>>
>> No no no, the timezone is +1200 and the date/time is specified in the
>> that timezone, in other words 1800 hours NZ time (which is 1200 ahead
>> of UTC).
>
>
> For example here is the output of date -R on my pffice server just a
> minute or so ago:
>
> nick [at] serve:~$ date -R
> Fri, 11 May 2012 14:02:37 +1200
>

Yes, yes, yes. :) I really will RTFM next time, I promise. Should be
sorted now.

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


tortise at paradise

May 10, 2012, 11:02 PM

Post #34 of 34 (1117 views)
Permalink
Re: EPG Data for 'niche' channels ? [In reply to]

On 10/05/2012 9:07 a.m., 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).

On april fools day we had a thread about the timeoffset set to auto vs
none, seems that "auto" doesn't cope with DST time transitions but
"none" does. May or may not be relevant to point out here. It only
affects 12 hours each day of transition however if you are recording
then and expecting some WAF.....

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/

First page Previous page 1 2 Next page Last page  View All MythTV mythtvnz RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.