[mythtvnz] EPG Data for 'niche' channels ?
Curtis Walker
sultanoswing at gmail.com
Thu May 10 06:05:50 BST 2012
On 10 May 2012 15:14, David Moore <dmoo1790 at ihug.co.nz> wrote:
>
> On 10/05/12 09:07, Steven Ellis wrote:
>>
>>
>> On Wed, May 9, 2012 7:42 pm, David Moore wrote:
>>>
>>> On 09/05/12 18:13, Steven Ellis wrote:
>>>>
>>>>
>>>> On Mon, April 30, 2012 4:59 pm, Steven Ellis wrote:
>>>>>
>>>>>
>>>>> On Mon, April 30, 2012 3:45 pm, David Moore wrote:
>>>>>>
>>>>>> On 30/04/12 11:52, Steven Ellis wrote:
>>>>>>>
>>>>>>>
>>>>>>> So who here is using this for the DTT channels?
>>>>>>>
>>>>>>> I've had a play with mhegepgsnooppy and what I really need is a way
>>>>>>> to
>>>>>>> provide a mapping file rather than have it probe the MythTV
>>>>>>> database.
>>>>>>> The
>>>>>>> box i'd usually be running this on has a tuner card, but isn't
>>>>>>> running
>>>>>>> MythTV.
>>>>>>>
>>>>>>> Steve
>>>>>>>
>>>>>> Just uploaded version 0.3.3 with option to specify a channel map
>>>>>> file.
>>>>>> File format is two fields per row, tab separated, with MHEG channel
>>>>>> name
>>>>>> first and xmltv channel ID second. Only briefly tested so quite
>>>>>> likely
>>>>>> buggy.
>>>>>>
>>>>>
>>>>> Nice work. Provisional testing worked for me.
>>>>>
>>>>> I generated the mapping file off a channel scan as follows
>>>>>
>>>>> cat ../dtt/dtt.conf | cut -f 1,13 -d ":" \
>>>>> | sed "s/:/ /g" | sed "s/$/.dvb.guide/g"> mheg.list
>>>>>
>>>>> Then once the card was tuned I could run the EPG grabber and get all
>>>>> the
>>>>> freeview|HD channels.
>>>>
>>>>
>>>> OK I still have a minor issue. The generated data doesn't include a GMT
>>>> offset for the times and is confusing the data load.
>>>>
>>>> For example
>>>>
>>>> <programme channel="1407.dvb.guide" start="20120512203000"
>>>> stop="20120512213000">
>>>> <title>32 Brinkburn Street</title>
>>>> <desc>32 Brinkburn Street has been home to the Ogilvie
>>>> family for generations. Loved by most of its occupants,
>>>> the house will always be a home at the heart of the
>>>> family.</desc>
>>>> <episode-num
>>>> system="dd_progid">TWBS01_01</episode-num>
>>>> <rating system="Freeview">
>>>> <value>PGR</value>
>>>> </rating>
>>>> </programme>
>>>>
>>>> VS
>>>>
>>>> <programme channel="1035.dvb.guide" start="20120511163000 +1200"
>>>> stop="20120511165500 +1200">
>>>> <title lang="eng">ONE News at 4.30</title>
>>>> <desc></desc>
>>>> <category>tvshow</category>
>>>> <category>News/Current Affairs</category>
>>>> <!-- Cat:2-0 -->
>>>> <!-- Unknown rating:0 -->
>>>> </programme>
>>>>
>>>> Ideally this could be based on the timezone of the host, or could be
>>>> another command line option.
>>>>
>>>> Sadly the freeview MHEG data isn't based off UMT.
>>>>
>>>> Steve
>>>>
>>>
>>> UMT? Never heard of it until you mentioned it. Gives me the shudders
>>> after a quick read on the web. Can't really see why we need it.
>>>
>>> Anyway I guess it wouldn't be too hard to include an option to produce
>>> GMT/UTC times with offsets for NZ timezone.
>>>
>>> So instead of
>>> 20120512203000
>>> you would get
>>> 20120512083000 + 1200.
>>>
>>> Is that what you need? Actually I suppose the best thing would be
>>> options for local time, plain UTC and UTC with offset to specified
>>> timezone. Make sense?
>>
>>
>>
>> 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
>
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz at lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
The attention this thread is getting from you script-guys is great! I
look forward to trialing your efforts when they are available and I
have some spare time to tinker. Cheers!
More information about the mythtvnz
mailing list