[mythtvnz] xmltv-proc-nz problem with MHEG epg data

Stephen Worthington stephen_agent at jsw.gen.nz
Sun Jul 1 04:51:08 BST 2012


On Sun, 01 Jul 2012 14:05:29 +1200, you wrote:

>On 30/06/12 23:13, Stephen Worthington wrote:
>> On Fri, 29 Jun 2012 22:33:02 +1200, you wrote:
>>
>>> On 29/06/12 12:17, David Moore wrote:
>>>> On 29/06/12 04:46, Stephen Worthington wrote:
>>>>> I run xmltv-proc-nz 0.5.8 on my ChoiceTV data that I get from MHEG. At
>>>>> the moment, it has been having a problem with some characters in that
>>>>> data:
>...
>>
>> The loss of the epgsnoop headers and their "date=" field also broke my
>> EPG script in another way - it was using that date to compare the
>> downloaded EPG data to the latest epgsnoop derived data I had on file.
>> Without that "date=", my script was getting the local epgsnoop data,
>> and as I do not normally run epgsnoop it was getting the same old data
>> from last week and I was running out of EPG in MythTV.
>>
>> I have fixed that now, so that if the epgsnoop "date=" field is
>> missing, I use the timestamp from the downloaded file.
>>
>
>FYI I'm planning to add two header lines to the mhegepgsnoop output: the 
>xml and doctype declarations. Like this:
>
><?xml version="1.0" encoding="UTF-8"?>
><!DOCTYPE tv SYSTEM "xmltv.dtd">
>
>Rest of the file format will be unchanged.

Thank you, that will be useful to make sure the other programs
processing the data can not get the encoding wrong.



More information about the mythtvnz mailing list