[mythtvnz] http://epg.org.nz/freeview.xml.gz

Stephen Worthington stephen_agent at jsw.gen.nz
Mon Mar 25 14:56:52 GMT 2013


On Mon, 25 Mar 2013 20:50:20 +1300, you wrote:

>On 25/03/13 15:48, Stephen Worthington wrote:
>> On Mon, 25 Mar 2013 15:24:36 +1300, you wrote:
>>
>>> On 25/03/13 03:08, Stephen Worthington wrote:
>>>> I have run mhegepgsnoop.py (0.5.1) with the -v (verbose) option, and
>>>> it seems that my problem is caused by its fuzzy channel matching - it
>>>> is picking up the wrong channels from my MythTV database when it
>>>> matches them against my channels. Having all the Sky versions of the
>>>> Freeview channels in my database is what is triggering the problem. I
>>>> will have a look tomorrow to see if I can make a modification to the
>>>> channel lookups so that it will only match against DVB-T channels.
>>> I have just discovered a related problem with the fuzzy channel matching
>>> on my system. I'm getting Canterbury Television matched against
>>> fv-maoritelevision. And I'm in Auckland. :) Not sure if there is a bug
>>> in how I use the fuzzy matching lib or I'm just unlucky with channel
>>> names. I'm thinking about adding another option to exclude specific
>>> channels discovered in the MHEG data. Or try and improve fuzzy matching.
>>> Or both. Don't hold your breath waiting for a fix from me...
>> It seems that the correct spelling of Maori with a macron over the o
>> character in the MHEG5 data is confusing things.  I am working on a
>> possible fix for that at the moment.  I think I already have a fix
>> that makes the fuzzy matching only work on the DVB-T channels, which
>> is to change the select query used to get the MythTV channel data to:
>>
>> select callsign, name, xmltvid from channel c, dtv_multiplex d where
>> c.mplexid is not NULL and c.mplexid = d.mplexid and d.mod_sys !=
>> 'DVB-S'
>>
>> (This is in two places in the mhegepgsnoop.py file).  This fix needs
>> testing on databases other than mine that have satellite Freeview
>> channels and/or Sky channels, to make sure the database fields all
>> work the way I thing they do.
>>
>>
>> I also have a crude fix for the drivers returning invalid values, by
>> catching the IndexError exception:
>>
>> 	verbose('\nParameters read back from device. Might not be
>> accurate?\n') # Why are some of these values wrong? Driver/firmware
>> bugs?
>> 	verbose('Frequency = ' + str(feparams.frequency) + '\n')
>> 	try:
>> 		verbose('Inversion = ' + str(feparams.inversion) + ' =
>> ' + fe_spectral_inversion[feparams.inversion] + '\n')
>> 	except IndexError:
>> 		verbose('Inversion = ' + str(feparams.inversion) + ' =
>> ***IndexError***\n')
>> 	try:
>> 		verbose('Bandwidth = ' +
>> str(feparams.u.ofdm.bandwidth) + ' = ' +
>> fe_bandwidth[feparams.u.ofdm.bandwidth] + '\n')
>> 	except IndexError:
>> 		verbose('Bandwidth = ' +
>> str(feparams.u.ofdm.bandwidth) + ' = ***IndexError***\n')
>> 	try:
>> 		verbose('Transmission mode = ' +
>> str(feparams.u.ofdm.transmission_mode) + ' = ' +
>> fe_transmit_mode[feparams.u.ofdm.transmission_mode] + '\n')
>> 	except IndexError:
>> 		verbose('Transmission mode = ' +
>> str(feparams.u.ofdm.transmission_mode) + ' = ***IndexError***\n')
>> 	try:
>> 		verbose('HP code rate = ' +
>> str(feparams.u.ofdm.code_rate_HP) + ' = ' +
>> fe_code_rate[feparams.u.ofdm.code_rate_HP] + '\n')
>> 	except IndexError:
>> 		verbose('HP code rate = ' +
>> str(feparams.u.ofdm.code_rate_HP) + ' = ***IndexError***\n')
>> 	try:
>> 		verbose('LP code rate = ' +
>> str(feparams.u.ofdm.code_rate_LP) + ' = ' +
>> fe_code_rate[feparams.u.ofdm.code_rate_LP] + '\n')
>> 	except IndexError:
>> 		verbose('LP code rate = ' +
>> str(feparams.u.ofdm.code_rate_LP) + ' = ***IndexError***\n')
>> 	try:
>> 		verbose('Constellation = ' +
>> str(feparams.u.ofdm.constellation) + ' = ' +
>> fe_modulation[feparams.u.ofdm.constellation] + '\n')
>> 	except IndexError:
>> 		verbose('Constellation = ' +
>> str(feparams.u.ofdm.constellation) + ' = ***IndexError***\n')
>> 	try:
>> 		verbose('Guard interval = ' +
>> str(feparams.u.ofdm.guard_interval) + ' = ' +
>> fe_guard_interval[feparams.u.ofdm.guard_interval] + '\n')
>> 	except IndexError:
>> 		verbose('Guard interval = ' +
>> str(feparams.u.ofdm.guard_interval) + ' = ***IndexError***\n')
>> 	try:
>> 		verbose('Hierarchy = ' +
>> str(feparams.u.ofdm.hierarchy_information) + ' = ' +
>> fe_hierarchy[feparams.u.ofdm.hierarchy_information] + '\n')
>> 	except IndexError:
>> 		verbose('Hierarchy = ' +
>> str(feparams.u.ofdm.hierarchy_information) + ' = ***IndexError***\n')
>>
>>
>Well I decided to have a crack at it and found a bug in the fuzzy 
>channel matching. Should be fixed now. I made a mistake with sorting the 
>matching results. Seems to work properly now and has no problem 
>correctly matching the funny character in "Maori..".
>
>Also added a trap for the index error in the tuning function. Haven't 
>tested this on real data.
>
>Version 0.5.2 download is ready at 
>http://sourceforge.net/projects/mhegepgsnooppy/

The trap for the index error is working, but the fuzzy matching is
not.  I am now getting multiple channel id entries in the output file
for the same channel:

root at mypvr:/usr/local/bin# mhegepgsnoop.py -zp -d
/dev/dvb/adapter2/demux0 -v -t 3

Getting channel info from MythTV database using Python bindings
TV ONE  TV ONE  tv1.freeviewnz.tv
TV2     TV2     tv2.freeviewnz.tv
TV3     TV3     tv3.freeviewnz.tv
FOUR    FOUR    four.freeviewnz.tv
Maori TV        Ma.ri Television        maori-tv.freeviewnz.tv
U       U       u.freeviewnz.tv
TVONE PLUS1     TV ONE PLUS1    tv1-plus1.freeviewnz.tv
TV3 PLUS1       TV3 PLUS1       tv3-plus1.freeviewnz.tv
PRIME   PRIME   prime.freeviewnz.tv
Parliament TV   Parliament TV   parliament.freeviewnz.tv
ChineseTV       ChineseTV       ctv8.freeviewnz.tv
RNZ National    Radio NZ National       rnz-national.freeviewnz.tv
RNZ Concert     Radio NZ Concert        rnz-concert.freeviewnz.tv
BaseFM  BaseFM  base-fm.freeviewnz.tv
Trackside       Trackside       trackside.sky.co.nz
KTV1    KTV 1   ktv1.sky.co.nz
KTV2    KTV 2   ktv2.sky.co.nz
FRESH   Fresh!  fresh.sky.co.nz
SPIXC   Spice Xcess     spice-excess.sky.co.nz
SKYBO214        SKY Box Office  box-office214.sky.co.nz
PLAYB   Playboy playboy.sky.co.nz
SKYBO212        SKY Box Office  box-office212.sky.co.nz
SKYBO213        SKY Box Office  box-office213.sky.co.nz
SKYBO210        SKY Box Office  box-office210.sky.co.nz
SKYBO211        SKY Box Office  box-office211.sky.co.nz
CNBC    CNBC    cnbc.sky.co.nz
CCTV-   CCTV-9  cctv9.sky.co.nz
SHINE   Shine   shine.sky.co.nz
SKYBO209        SKY Box Office  box-office209.sky.co.nz
SKYBO208        SKY Box Office  box-office208.sky.co.nz
SKYBO201        SKY Box Office  box-office201.sky.co.nz
SKYBO   SKY Box Office  box-office.sky.co.nz
SKYBO203        SKY Box Office  box-office203.sky.co.nz
SKYBO202        SKY Box Office  box-office202.sky.co.nz
SKYBO205        SKY Box Office  box-office205.sky.co.nz
SKYBO204        SKY Box Office  box-office204.sky.co.nz
SKYBO207        SKY Box Office  box-office207.sky.co.nz
SKYBO206        SKY Box Office  box-office206.sky.co.nz
CTV7    CTV 7   ctv7.sky.co.nz
CTV6    CTV 6   ctv6.sky.co.nz
CTV5    CTV 5   ctv5.sky.co.nz
CTV4    CTV 4   ctv4.sky.co.nz
CTV3    CTV 3   ctv3.sky.co.nz
CTV2    CTV 2   ctv2.sky.co.nz
CTV1    CTV 1   ctv1.sky.co.nz
JTV     JTV     jtv.sky.co.nz
NZCHA   NZ Chart        nz-chart.music.sky.co.nz
POP     Pop     pop.music.sky.co.nz
SMOOT   Smooth  smooth.music.sky.co.nz
GROOV   Grooves grooves.music.sky.co.nz
JAZZ    Jazz    jazz.music.sky.co.nz
HOUSE   House   house.music.sky.co.nz
NEWSU   New Supremo     new-supremo.sky.co.nz
REAGO   Real Good Life  real-good-life.sky.co.nz
J2      J2      j2.sky.co.nz
ANIPL   Animal Planet   animal-plant.sky.co.nz
CNN     CNN     cnn.sky.co.nz
HISCH   History Channel history-channel.sky.co.nz
SKYNE   SKY News        sky-news.sky.co.nz
ESPN    ESPN    espn.sky.co.nz
TRACK   Trackside       trackside.sky.co.nz
NATGE   Nat Geographic  nat-geographic.sky.co.nz
DISCO   Discovery       discovery.sky.co.nz
SPECI   Special special.music.sky.co.nz
BLUES   Blues   blues.music.sky.co.nz
KIDS    Kids    kids.music.sky.co.nz
CLASS   Classical       classical.music.sky.co.nz
SKYSP   SKY Sport 2     sport2.sky.co.nz
SKYSP   SKY Sport 1     sport1.sky.co.nz
JUITV   Juice TV        juice.sky.co.nz
CARNE   Cartoon Network cartoon-network.sky.co.nz
MGM     MGM     mgm.sky.co.nz
UKTV    UKTV    uktv.sky.co.nz
SKYMO   SKY Movies 1    movies1.sky.co.nz
THEBO   the BOX sky1.sky.co.nz
ROCK    Rock    rock.music.sky.co.nz
MTV     MTV     mtv.sky.co.nz
50'S&   50's & 60's     fifties-sixties.music.sky.co.nz
PARTY   Party   party.music.sky.co.nz
NICKE   Nickelodeon     nickelodeon.sky.co.nz
DISCH   Disney Channel  disney-channel.sky.co.nz
BBCWO   BBC World       bbc-world.sky.co.nz
E!      E!      e.sky.co.nz
RIALT   Rialto  rialto.sky.co.nz
SKYMO   SKY Movies 2    movies2.sky.co.nz
LIVCH   Living Channel  living-channel.sky.co.nz
CALVA   Calvary calvary.radio.sky.co.nz
TAHFM   Tahu FM tahu-fm.radio.sky.co.nz
CONFM   Concert FM      concert-fm.radio.sky.co.nz
KIWI    Kiwi    kiwi.music.sky.co.nz
NATRA   National Radio  national.radio.sky.co.nz
FOOTE   Food Television food-tv.sky.co.nz
SKYMO   Sky Movie Greats        movie-greats.sky.co.nz
SKYSP   Sky Sport Highlights    sport-highlights.sky.co.nz
FOXNE   Fox News        fox-news.sky.co.nz
KNOWLGE BBC Knowledge   documentary.sky.co.nz
MINDG   MindGames       mindgames.sky.co.nz
WEATH   Weather weather-channel.sky.co.nz
COMCE   Comedy Central  comedy-central.sky.co.nz
VIBE    Vibe    vibe.sky.co.nz
PLAYH   Playhouse       playhouse.sky.co.nz
TCM     TCM     tcm.sky.co.nz
CRIM&   Crime & Investigation   crime-investigation.sky.co.nz
SKYSP   SKY Sport 3     sport3.sky.co.nz
COUNT   Country country.music.sky.co.nz
COUNTRY99       Country99TV     country99.sky.co.nz
CUE     CUE     cue.freeviewnz.tv
C4      C4      c4.freeviewnz.tv
TRAVEL  Travel Channel  travel-channel.sky.co.nz
TV33    TV33    tv33.freeviewnz.tv
Senzu SSU       Senzu SSU
CUE     CUE     cuetv.sky.co.nz
GEORG   GeorgeFM        georgefm.freeviewnz.tv
BASEF   BaseFM  basefm.freeviewnz.tv
TEREO   Te Reo  te-reo.freeviewnz.tv
MAOTV   Maori TV        maoritv.freeviewnz.tv
BaseFM  BaseFM  basefm.freeviewnz.tv
GeorgeFM        GeorgeFM        georgefm.freeviewnz.tv
RNZ Concert     RNZ Concert     rnz-concert.freeviewnz.tv
Shine TV        Shine TV        shine.freeviewnz.tv
RNZ National    RNZ National    rnz-national.freeviewnz.tv
Te Reo  Te Reo  te-reo.freeviewnz.tv
CUE     CUE     cue.freeviewnz.tv
Parliament TV   Parliament TV   parliament.freeviewnz.tv
C4      C4      c4.freeviewnz.tv
PRIME   PRIME   prime.freeviewnz.tv
TV3 PLUS1       TV3 PLUS1       tv3-plus1.freeviewnz.tv
TVONE PLUS1     TV ONE PLUS1    tv1-plus1.freeviewnz.tv
U       U       u.freeviewnz.tv
TV3     TV3     tv3.freeviewnz.tv
FOUR    FOUR    four.freeviewnz.tv
Maori TV        Maori TV        maori-tv.freeviewnz.tv
TV2     TV2     tv2.freeviewnz.tv
TV ONE  TV ONE WGTN     tv1.freeviewnz.tv
TV ONE  TV ONE CHCH     tv1.freeviewnz.tv
TV ONE  TV ONE HAM      tv1.freeviewnz.tv
TV ONE  TV ONE AKLD     tv1.freeviewnz.tv
SBS ONE SBS ONE
HEARTLAND       TVNZ Heartland  tvnz-heartland.sky.co.nz
LIVCH-D Living Channel  living-channel.sky.co.nz
ChoiceTV        Choice TV       choice.freeviewnz.tv
TVNZ 7  TVNZ 7  tvnz7.freeviewnz.tv
STAPL   Star Plus Hindi star-plus-hindi.sky.co.nz
PARLI   Parliament      parliament.sky.co.nz
PRIME   Prime   prime.sky.co.nz
RUGCH   Rugby Channel   rugby.sky.co.nz
TV2     TV2     tv2.sky.co.nz
TV3     TV3     tv3.sky.co.nz
C4      C4      c4.sky.co.nz
MAOTV   Maori TV        maori-tv.sky.co.nz
ARTCH   Arts Channel    arts-channel.sky.co.nz
PLAYI   Playin'TV       playin-tv.sky.co.nz
ALTTV   Alt TV  alttv.sky.co.nz
The Shopping Channel    Shopping        shopping.freeviewnz.tv
Firstlight      Firstlight      firstlight.freeviewnz.tv
TV9     TV9     tv9.freeviewnz.tv

Getting tuning info for channel 3
inversion: 0
transmission_mode: 8
guard_interval: 1/16
hierarchy: n
hp_code_rate: 3/4
bandwidth: 8
frequency: 562000000
lp_code_rate: 3/4
constellation: qam_64

Tuning /dev/dvb/adapter2/frontend0 to channel 3
Frontend name: DiBcom 7000MA/MB/PA/PB/MC
Frontend type: FE_OFDM

Parameters to be sent to /dev/dvb/adapter2/frontend0:
Frequency = 562000000
Inversion = 0 = INVERSION_OFF
Bandwidth = 0 = BANDWIDTH_8_MHZ
Transmission mode = 1 = TRANSMISSION_MODE_8K
HP code rate = 3 = FEC_3_4
LP code rate = 3 = FEC_3_4
Constellation = 3 = QAM_64
Guard interval = 1 = GUARD_INTERVAL_1_16
Hierarchy = 0 = HIERARCHY_NONE
Waiting for frontend to lock
Frontend has lock

Parameters read back from device. Might not be accurate?
Frequency = 562000000
Inversion = 2 = INVERSION_AUTO
Bandwidth = 8000 = Possible bad list index value: 8000
Transmission mode = 1 = TRANSMISSION_MODE_8K
HP code rate = 3 = FEC_3_4
LP code rate = 1 = FEC_1_2
Constellation = 3 = QAM_64
Guard interval = 1 = GUARD_INTERVAL_1_16
Hierarchy = 0 = HIERARCHY_NONE

Opening read from device /dev/dvb/adapter2/demux0 to collect data
Getting program_map_pid from PAT
program_map_pid = 311
Getting carousel_pid from PMT
carousel_pid = 1003
Started downloading blocks. Waiting for Download Message Block...
block_size = 4066 no_of_modules = 27
module_id = 1 module_size = 18544
module_id = 2 module_size = 7153
module_id = 3 module_size = 13886
module_id = 4 module_size = 20469
module_id = 5 module_size = 19050
module_id = 6 module_size = 17002
module_id = 7 module_size = 19256
module_id = 8 module_size = 17897
module_id = 9 module_size = 15358
module_id = 10 module_size = 18095
module_id = 11 module_size = 19838
module_id = 12 module_size = 18658
module_id = 13 module_size = 20122
module_id = 14 module_size = 18135
module_id = 15 module_size = 19336
module_id = 16 module_size = 1525
module_id = 17 module_size = 51376
module_id = 18 module_size = 18110
module_id = 19 module_size = 42413
module_id = 24 module_size = 371
module_id = 25 module_size = 17307
module_id = 26 module_size = 14966
module_id = 27 module_size = 19217
module_id = 28 module_size = 11140
module_id = 29 module_size = 4652
module_id = 30 module_size = 6084

Found Download Message Block. 123 blocks total to download...
Blocks left to download = 0
Building modules
Decompressing modules
Expanding module 1 from 18544 bytes to 65280 bytes
Expanding module 2 from 7153 bytes to 92164 bytes
Expanding module 3 from 13886 bytes to 51772 bytes
Expanding module 4 from 20469 bytes to 65268 bytes
Expanding module 5 from 19050 bytes to 65038 bytes
Expanding module 6 from 17002 bytes to 65171 bytes
Expanding module 7 from 19256 bytes to 64472 bytes
Expanding module 8 from 17897 bytes to 64324 bytes
Expanding module 9 from 15358 bytes to 64405 bytes
Expanding module 10 from 18095 bytes to 64620 bytes
Expanding module 11 from 19838 bytes to 65460 bytes
Expanding module 12 from 18658 bytes to 63962 bytes
Expanding module 13 from 20122 bytes to 64653 bytes
Expanding module 14 from 18135 bytes to 65047 bytes
Expanding module 15 from 19336 bytes to 65242 bytes
Expanding module 16 from 1525 bytes to 19182 bytes
Expanding module 17 from 51376 bytes to 65106 bytes
Expanding module 18 from 18110 bytes to 62678 bytes
Expanding module 19 from 42413 bytes to 56644 bytes
Expanding module 24 from 371 bytes to 4571 bytes
Expanding module 25 from 17307 bytes to 63960 bytes
Expanding module 26 from 14966 bytes to 64433 bytes
Expanding module 27 from 19217 bytes to 64230 bytes
Expanding module 28 from 11140 bytes to 63832 bytes
Expanding module 29 from 4652 bytes to 16281 bytes
Expanding module 30 from 6084 bytes to 32697 bytes
Extracting EPG info

--- Channel Names ---
Info-Rotorua
CUE
TV2
TV ONE
Channel North Television
TV9
PRIME
TV3
Canterbury Television
The Shopping Channel
Parliament TV
TV33
RadioNZ National
BaseFM
ChineseTV8
Ma?ori Television
U
Trackside
TVONEPLUS1
TV3Plus1
ChoiceTV
tvCentral
Firstlight
RadioNZ Concert
TV Rotorua
FOUR
C4
Dunedin Television

Fuzzy matching MHEG channels to MythTV channels
"Parliament TV" matched to MythTV xmltv ID "parliament.freeviewnz.tv"
"Trackside" matched to MythTV xmltv ID "trackside.sky.co.nz"
"Firstlight" matched to MythTV xmltv ID "firstlight.freeviewnz.tv"
"ChoiceTV" matched to MythTV xmltv ID "choice.freeviewnz.tv"
"PRIME" matched to MythTV xmltv ID "prime.sky.co.nz"
"BaseFM" matched to MythTV xmltv ID "basefm.freeviewnz.tv"
"BaseFM" matched to MythTV xmltv ID "base-fm.freeviewnz.tv"
"PRIME" matched to MythTV xmltv ID "prime.freeviewnz.tv"
"TV3Plus1" matched to MythTV xmltv ID "tv3-plus1.freeviewnz.tv"
"TV2" matched to MythTV xmltv ID "tv2.sky.co.nz"
"TV3" matched to MythTV xmltv ID "tv3.sky.co.nz"
"TV33" matched to MythTV xmltv ID "tv33.freeviewnz.tv"
"FOUR" matched to MythTV xmltv ID "four.freeviewnz.tv"
"RadioNZ National" matched to MythTV xmltv ID
"rnz-national.freeviewnz.tv"
"CUE" matched to MythTV xmltv ID "cuetv.sky.co.nz"
"RadioNZ Concert" matched to MythTV xmltv ID
"rnz-concert.freeviewnz.tv"
"CUE" matched to MythTV xmltv ID "cue.freeviewnz.tv"
"TV2" matched to MythTV xmltv ID "tv2.freeviewnz.tv"
"TV9" matched to MythTV xmltv ID "tv9.freeviewnz.tv"
"TV3" matched to MythTV xmltv ID "tv3.freeviewnz.tv"
"TVONEPLUS1" matched to MythTV xmltv ID "tv1-plus1.freeviewnz.tv"
"C4" matched to MythTV xmltv ID "c4.sky.co.nz"
"TV ONE" matched to MythTV xmltv ID "tv1.freeviewnz.tv"
"C4" matched to MythTV xmltv ID "c4.freeviewnz.tv"
"ChineseTV8" matched to MythTV xmltv ID "ctv8.freeviewnz.tv"
"U" matched to MythTV xmltv ID "u.freeviewnz.tv"
"Parliament TV" matched to MythTV xmltv ID "parliament.sky.co.nz"
"The Shopping Channel" matched to MythTV xmltv ID
"shopping.freeviewnz.tv"
"Ma?ori Television" matched to MythTV xmltv ID
"maori-tv.freeviewnz.tv"
"TV2" matched to MythTV xmltv ID "ktv2.sky.co.nz"
"TV2" matched to MythTV xmltv ID "ctv2.sky.co.nz"
"TV3" matched to MythTV xmltv ID "ctv3.sky.co.nz"
"ChineseTV8" matched to MythTV xmltv ID "shine.freeviewnz.tv"
"TV2" matched to MythTV xmltv ID "jtv.sky.co.nz"
"TV2" matched to MythTV xmltv ID "mtv.sky.co.nz"
"Parliament TV" matched to MythTV xmltv ID "alttv.sky.co.nz"
"ChoiceTV" matched to MythTV xmltv ID "cctv9.sky.co.nz"
"C4" matched to MythTV xmltv ID "ctv4.sky.co.nz"
"Ma?ori Television" matched to MythTV xmltv ID "food-tv.sky.co.nz"
"ChoiceTV" matched to MythTV xmltv ID "comedy-central.sky.co.nz"
"ChoiceTV" matched to MythTV xmltv ID "juice.sky.co.nz"
"The Shopping Channel" matched to MythTV xmltv ID
"living-channel.sky.co.nz"
"The Shopping Channel" matched to MythTV xmltv ID
"arts-channel.sky.co.nz"
"TV ONE" matched to MythTV xmltv ID ""
"PRIME" matched to MythTV xmltv ID "crime-investigation.sky.co.nz"
*** Channel "Info-Rotorua" does not appear to be in MythTV channel
list ***
*** Channel "Channel North Television" does not appear to be in MythTV
channel list ***
*** Channel "Canterbury Television" does not appear to be in MythTV
channel list ***
*** Channel "tvCentral" does not appear to be in MythTV channel list
***
*** Channel "TV Rotorua" does not appear to be in MythTV channel list
***
*** Channel "Dunedin Television" does not appear to be in MythTV
channel list ***
Fixing start/stop times for shows crossing midnight
Building XML file: /tmp/xmltv.xml


root at mypvr:/usr/local/bin# head -n 138 /tmp/xmltv.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE tv SYSTEM "xmltv.dtd">
<tv date="20130326034800 +1300" generator-info-name="mhegepgsnoop.py
0.5.2" source-info-name="DVB-T MHEG Stream">
        <channel id="basefm.freeviewnz.tv">
                <display-name>BaseFM</display-name>
        </channel>
        <channel id="base-fm.freeviewnz.tv">
                <display-name>BaseFM</display-name>
        </channel>
        <channel id="c4.sky.co.nz">
                <display-name>C4</display-name>
        </channel>
        <channel id="c4.freeviewnz.tv">
                <display-name>C4</display-name>
        </channel>
        <channel id="ctv4.sky.co.nz">
                <display-name>C4</display-name>
        </channel>
        <channel id="ctv8.freeviewnz.tv">
                <display-name>ChineseTV8</display-name>
        </channel>
        <channel id="shine.freeviewnz.tv">
                <display-name>ChineseTV8</display-name>
        </channel>
        <channel id="choice.freeviewnz.tv">
                <display-name>ChoiceTV</display-name>
        </channel>
        <channel id="cctv9.sky.co.nz">
                <display-name>ChoiceTV</display-name>
        </channel>
        <channel id="comedy-central.sky.co.nz">
                <display-name>ChoiceTV</display-name>
        </channel>
        <channel id="juice.sky.co.nz">
                <display-name>ChoiceTV</display-name>
        </channel>
        <channel id="cuetv.sky.co.nz">
                <display-name>CUE</display-name>
        </channel>
        <channel id="cue.freeviewnz.tv">
                <display-name>CUE</display-name>
        </channel>
        <channel id="firstlight.freeviewnz.tv">
                <display-name>Firstlight</display-name>
        </channel>
        <channel id="four.freeviewnz.tv">
                <display-name>FOUR</display-name>
        </channel>
        <channel id="maori-tv.freeviewnz.tv">
                <display-name>MÄori Television</display-name>
        </channel>
        <channel id="food-tv.sky.co.nz">
                <display-name>MÄori Television</display-name>
        </channel>
        <channel id="parliament.freeviewnz.tv">
                <display-name>Parliament TV</display-name>
        </channel>
        <channel id="parliament.sky.co.nz">
                <display-name>Parliament TV</display-name>
        </channel>
        <channel id="alttv.sky.co.nz">
                <display-name>Parliament TV</display-name>
        </channel>
        <channel id="prime.sky.co.nz">
                <display-name>PRIME</display-name>
        </channel>
        <channel id="prime.freeviewnz.tv">
                <display-name>PRIME</display-name>
        </channel>
        <channel id="crime-investigation.sky.co.nz">
                <display-name>PRIME</display-name>
        </channel>
        <channel id="rnz-concert.freeviewnz.tv">
                <display-name>RadioNZ Concert</display-name>
        </channel>
        <channel id="rnz-national.freeviewnz.tv">
                <display-name>RadioNZ National</display-name>
        </channel>
        <channel id="shopping.freeviewnz.tv">
                <display-name>The Shopping Channel</display-name>
        </channel>
        <channel id="living-channel.sky.co.nz">
                <display-name>The Shopping Channel</display-name>
        </channel>
        <channel id="arts-channel.sky.co.nz">
                <display-name>The Shopping Channel</display-name>
        </channel>
        <channel id="trackside.sky.co.nz">
                <display-name>Trackside</display-name>
        </channel>
        <channel id="tv1.freeviewnz.tv">
                <display-name>TV ONE</display-name>
        </channel>
        <channel id="">
                <display-name>TV ONE</display-name>
        </channel>
        <channel id="tv2.sky.co.nz">
                <display-name>TV2</display-name>
        </channel>
        <channel id="tv2.freeviewnz.tv">
                <display-name>TV2</display-name>
        </channel>
        <channel id="ktv2.sky.co.nz">
                <display-name>TV2</display-name>
        </channel>
        <channel id="ctv2.sky.co.nz">
                <display-name>TV2</display-name>
        </channel>
        <channel id="jtv.sky.co.nz">
                <display-name>TV2</display-name>
        </channel>
        <channel id="mtv.sky.co.nz">
                <display-name>TV2</display-name>
        </channel>
        <channel id="tv3.sky.co.nz">
                <display-name>TV3</display-name>
        </channel>
        <channel id="tv3.freeviewnz.tv">
                <display-name>TV3</display-name>
        </channel>
        <channel id="ctv3.sky.co.nz">
                <display-name>TV3</display-name>
        </channel>
        <channel id="tv33.freeviewnz.tv">
                <display-name>TV33</display-name>
        </channel>
        <channel id="tv3-plus1.freeviewnz.tv">
                <display-name>TV3Plus1</display-name>
        </channel>
        <channel id="tv9.freeviewnz.tv">
                <display-name>TV9</display-name>
        </channel>
        <channel id="tv1-plus1.freeviewnz.tv">
                <display-name>TVONEPLUS1</display-name>
        </channel>
        <channel id="u.freeviewnz.tv">
                <display-name>U</display-name>
        </channel>



More information about the mythtvnz mailing list