Dutch TV-guide data with WebEPG (1 Viewer)

ookmich

Portal Pro
June 13, 2005
51
0
Gouda
Home Country
Netherlands Netherlands
Hi,

Here is my TVxb.ini file. I suppose there are some channels in it that you don't have, and others are missing. I have limited the number of channels where full descriptions are downloaded. Maybe ths file gives you an idea about the possibilities....

Good luck, Michiel

Code:
! TVxb Version 1.0085

!--main parameters--
minversion=1.0065
xmltvoutput=T:\xml\TVGuide.xml
xmlencoding=UTF-8
lang=nl
localmonth=januari,februari,maart,april,mei,juni,juli,augustus,september,oktober,november,december
localweekday=Maandag,Dinsdag,Woensdag,Donderdag,Vrijdag,Zaterdag,Zondag
xmltimezone=UTC
auto=yes
days=7,+1
schedulefiller=Geen gegevens,60
substitution=&, en
substitution=  : , 
duplicatehandling=keepsecond
!--end of main parameters--

! Other Information on Main Parameters:
!summerend=200410310300
!summerstart=100503270200
!
! Seems to provide 7 days ahead

! Insert channel schedule information below this line
!----------------------------------------------------
[Nederland1]
name=Nederland 1
url=http://www.tvgids.nl/zoeken/?interval=0&or=on&timeslot=0&station=1&periode=7&genre=&order=0
htmlstart=[day=w dd Mmm]
special=fulldescriptions
extractelement=from=description,to=category,position=2000,keep,start=Genre: ,end= :
days=7,+7
start=1
stop=1,-
title=3
descriptionhtmlstart=<p class="inleiding">
descriptionhtmlend=class="hr"colspan="2"
descriptionhours=1200-0059
descriptionrclip=Meer op deze zender

[Nederland2]
name=Nederland 2
url=http://sbs6.sbs.nl/modules.php?name=televisiegids&site=televisiegids&zender=2-1&datum=[day=yyyy-mm-dd]
start=3
title=7
description=7
category=12

[Nederland3]
name=Nederland 3
url=http://www.tvgids.nl/zoeken/?interval=0&or=on&timeslot=0&station=3&periode=7&genre=&order=0
htmlstart=[day=w dd Mmm]
special=fulldescriptions
extractelement=from=description,to=category,position=2000,keep,start=Genre: ,end= :
days=7,+7
start=1
stop=1,-
title=3
descriptionhtmlstart=<p class="inleiding">
descriptionhtmlend=class="hr"colspan="2"
descriptionhours=1200-0059
descriptionrclip=Meer op deze zender

[RTL4]
name=RTL 4
url=http://sbs6.sbs.nl/modules.php?name=televisiegids&site=televisiegids&zender=4-1&datum=[day=yyyy-mm-dd]
htmlstart=zender
start=3
title=7
category=12
description=7

[RTL5]
name=RTL 5
url=http://sbs6.sbs.nl/modules.php?name=televisiegids&site=televisiegids&zender=31-1&datum=[day=yyyy-mm-dd]
start=3
title=7
category=12
description=7

[SBS6]
name=SBS 6
url=http://sbs6.sbs.nl/modules.php?name=televisiegids&site=televisiegids&zender=36-1&datum=[day=yyyy-mm-dd]
htmlstart=zender
start=3
title=7
category=12
description=7

[RTL7]
name=RTL 7
url=http://sbs6.sbs.nl/modules.php?name=televisiegids&site=televisiegids&zender=46-1&datum=[day=yyyy-mm-dd]
start=3
title=7
category=12
description=7

[Veronica]
name=Veronica
url=http://sbs6.sbs.nl/modules.php?name=televisiegids&site=televisiegids&zender=34-1&datum=[day=yyyy-mm-dd]
start=3
title=7
category=12
description=7
titleblock=Jetix

[Net5]
name=Net 5
url=http://www.tvgids.nl/zoeken/?interval=0&or=on&timeslot=0&station=37&periode=7&genre=&order=0
htmlstart=[day=w dd Mmm]
special=fulldescriptions
extractelement=from=description,to=category,position=2000,keep,start=Genre: ,end= :
days=7,+7
start=1
stop=1,-
title=3
descriptionhtmlstart=<table id="progDetail"
descriptionhtmlend=class="hr"colspan="2"
descriptionhours=2000-0059

[Talpa]
name=Talpa
url=http://sbs6.sbs.nl/modules.php?name=televisiegids&site=televisiegids&zender=92-1&datum=[day=yyyy-mm-dd]
htmlstart=zender
start=3
title=7
category=12
description=7

[VRT1]
name=VRT TV1
url=http://misc.skynet.be/index.html?l1=actuality&l2=tv&l3=channel&a=detail&p1=brt1&p2=één&p3=[day=yyyymmdd]&new_lang=nl
special=fulldescriptions,ignoreallformatting
extractelement=from=title,to=category,position=200,start=[
start=1
title=2
localweekday=maandag,dinsdag,woensdag,donderdag,vrijdag,zaterdag,zondag
descriptionurl=http://misc.skynet.be/[url]&new_lang=nl
descriptionhtmlstart=
descriptionhtmlend=</table>
descriptionid=p1=,&new_lang=
descriptionhours=2000-0030

[Ketnet]
name=KETNET Canvas
url=http://misc.skynet.be/index.html?l1=actuality&l2=tv&l3=channel&a=detail&p1=brt2&p2=Ketnet&p3=[day=yyyymmdd]&new_lang=nl
special=ignoreallformatting
extractelement=from=title,to=category,position=200,start=[
start=1
title=2
description=2
localweekday=maandag,dinsdag,woensdag,donderdag,vrijdag,zaterdag,zondag

[Canvas]
name=KETNET Canvas
url=http://misc.skynet.be/index.html?l1=actuality&l2=tv&l3=channel&a=detail&p1=canv&p2=Canvas&p3=[day=yyyymmdd]&new_lang=nl
special=fulldescriptions,ignoreallformatting
extractelement=from=title,to=category,position=200,start=[
start=1
title=2
localweekday=maandag,dinsdag,woensdag,donderdag,vrijdag,zaterdag,zondag
descriptionurl=http://misc.skynet.be/[url]&new_lang=nl
descriptionhtmlstart=
descriptionhtmlend=</table>
descriptionid=p1=,&new_lang=
descriptionhours=1900-0030

[BBC1]
name=BBC 1
url=http://sbs6.sbs.nl/modules.php?name=televisiegids&site=televisiegids&zender=7-1&datum=[day=yyyy-mm-dd]
htmlstart=zender
start=3
title=7
category=12
description=7
titleblock=Sign zone

[BBC2]
name=BBC 2
url=http://www.tvgids.nl/zoeken/?interval=0&or=on&timeslot=0&station=8&periode=7&genre=&order=0
htmlstart=[day=w dd Mmm]
special=fulldescriptions
extractelement=from=description,to=category,position=2000,keep,start=Genre: ,end= :
days=7,+7
start=1
stop=1,-
title=3
descriptionhtmlstart=<table id="progDetail"
descriptionhtmlend=class="hr"colspan="2"
descriptionhours=1800-0059

[NGC]
name=National Geographic
url=http://www.tvgids.nl/zoeken/?interval=0&or=on&timeslot=0&station=18&periode=7&genre=&order=0
htmlstart=[day=w dd Mmm]
special=fulldescriptions
extractelement=from=description,to=category,position=2000,keep,start=Genre: 
days=7,+7
start=1
stop=1,-
title=3
descriptionhtmlstart=<table id="progDetail"
descriptionhtmlend=class="hr"colspan="2"
descriptionhours=0000-2359
titleblock=CNBC,National Geographic Channel

[CNN]
name=CNN
url=http://sbs6.sbs.nl/modules.php?name=televisiegids&site=televisiegids&zender=26-1&datum=[day=yyyy-mm-dd]
start=3
title=7
category=12
description=7

[BBCworld]
name=BBC World
url=http://sbs6.sbs.nl/modules.php?name=televisiegids&site=televisiegids&zender=86-1&datum=[day=yyyy-mm-dd]
start=3
title=7
category=12
description=7

[MTV]
name=MTV
url=http://sbs6.sbs.nl/modules.php?name=televisiegids&site=televisiegids&zender=25-1&datum=[day=yyyy-mm-dd]
start=3
title=7
category=12
description=7

[TMF]
name=TMF
url=http://sbs6.sbs.nl/modules.php?name=televisiegids&site=televisiegids&zender=35-1&datum=[day=yyyy-mm-dd]
start=3
title=7
category=12
description=7

[TheBox]
name=The Box
url=http://www.tvgids.nl/zoeken/?interval=0&or=on&timeslot=0&station=91&periode=7&genre=&order=0
htmlstart=[day=w dd Mmm]
start=1
stop=1,-
title=3
description=3
days=7,+7

[Utrecht]
name=Regio TV Utrecht
url=http://www.tvgids.nl/zoeken/?interval=0&or=on&timeslot=0&station=100&periode=7&genre=&order=0
htmlstart=[day=w dd Mmm]
start=1
stop=1,-
title=3
description=3
days=7,+7

[West]
name=TV West
url=http://www.tvgids.nl/zoeken/?interval=0&or=on&timeslot=0&station=101&periode=7&genre=&order=0
htmlstart=[day=w dd Mmm]
start=1
stop=1,-
title=3
description=3
days=7,+7

[Rijnmond]
name=TV Rijnmond
url=http://www.tvgids.nl/zoeken/?interval=0&or=on&timeslot=0&station=102&periode=7&genre=&order=0
htmlstart=[day=w dd Mmm]
start=1
stop=1,-
title=3
description=3
days=7,+7
 

csberto

Portal Pro
November 6, 2004
208
0
Tilburg, the Netherlands
ookmich said:
Hi,

Here is my TVxb.ini file. I suppose there are some channels in it that you don't have, and others are missing. I have limited the number of channels where full descriptions are downloaded. Maybe ths file gives you an idea about the possibilities....

Good luck, Michiel
Thanks!
 

csberto

Portal Pro
November 6, 2004
208
0
Tilburg, the Netherlands
csberto said:
scoop said:
Hi,
csberto said:
In the tvguide.xml file the data is oké.
AFAIK the data in the tvguide.xml is not ok. Yeah, all programs are in the tvguide, but there's also a big overlapping program which is why the actual programs aren't shown. :(
And yeah, it seems tvgids.nl is doing this for even more channels now. :( I guess the best solution is to see if we can convince the grabber configuration to skip those invalid entries.

Kind regards,
Michel
You're right. But how are we going to do that?
To see for myself that the overlapping program information actually causes the problem I manually edited tvguide.xml. I deleted all the overlapping program information for Nederland 3. And indeed, the TV-guide now gives the detailed information for all the programs.
How can we "convince the grabber configuration to skip those invalid entries"?
 

scoop

Retired Team Member
  • Premium Supporter
  • November 14, 2004
    614
    7
    Hi,
    csberto said:
    How can we "convince the grabber configuration to skip those invalid entries"?
    I tried looking into this, but AFAIK there's no way around this. The grabber uses this link to fetch the 7-day info for Nederland 3. If you follow this link and look closely at the start- and endtimes of those entries, you'll see that they just list the "programs" with overlapping times, i.e. "06:48 - 10:59 Z@pp" and "10:59 - 16:58 Nederland 3" and so on...those entries overlap the other programs... since they're exactly the same format as the valid programs.

    So if I'm not mistaken this can only be solved if either the grabber or MP "detects" overlapping programs and removes/discards them.

    Kind regards,
    Michel
     

    ookmich

    Portal Pro
    June 13, 2005
    51
    0
    Gouda
    Home Country
    Netherlands Netherlands
    TVxb has a very good solution for this problem. Because there is a ini file where you can enter specifications for every channel, you can choose wheter the program should use the first of the second program in a duplicate time block.

    This is the line that specifies this:

    Code:
    duplicatehandling=keepsecond

    There are really a lot of things possible to specify in this program!

    Michiel
     

    James

    Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    Hi all,

    Just commited to the CVS:

    A remove program option. This enables the removal of these programs. Program removal is based on key word search in Title or Description (more fields can be added later).

    Removal can be done per channel or for all channels

    A new section is added to the www_tvgids_nl.xml file:

    <section name="RemovePrograms">
    </section>

    Then entries are added for each channel:

    <entry name="ned3@omroep.nl">[TITLE]"Z@pp";[TITLE]"Z@ppelin"</entry>

    Or for all channels:

    <entry name="*">[DESC]"Met om:."</entry>

    The syntax is [DESC/TITLE]"key word string here" if you want to search for more things then use a ';' between two such definitions.

    Both of these searches removed these problem programs. However, searching on TITLE is preferable because then it doesn't need to grab the linked page to get the DESC.

    Please test and let me know which is the best search string set to include in the www_tvgids_nl.xml in the CVS.

    ookmich,

    That seems like a good feature, but one I would like to put into MP when it imports the tvguide.xml rather then WebEPG. This way everyone can benefit from it.

    For the moment I thought a key word based program removal feature might have other applications.

    Cheers,

    /James
     

    James

    Retired Team Member
  • Premium Supporter
  • May 6, 2005
    1,385
    67
    Switzerland
    Between the <profile></profile> I put it at the bottom.

    <section name="RemovePrograms">
    <entry name="ned3@omroep.nl">[TITLE]"Z@pp";[TITLE]"Z@ppelin"</entry>
    </section>

    But as yesterday. I only just put the changes into the CVS (see time of my last post) so they are not in a build yet.

    There is a build available now.

    /James
     

    csberto

    Portal Pro
    November 6, 2004
    208
    0
    Tilburg, the Netherlands
    James said:
    Between the <profile></profile> I put it at the bottom.

    <section name="RemovePrograms">
    <entry name="ned3@omroep.nl">[TITLE]"Z@pp";[TITLE]"Z@ppelin"</entry>
    </section>

    But as yesterday. I only just put the changes into the CVS (see time of my last post) so they are not in a build yet.

    There is a build available now.

    /James
    I don't get it. There is no Dutch grabber file in that cvs
     

    csberto

    Portal Pro
    November 6, 2004
    208
    0
    Tilburg, the Netherlands
    csberto said:
    James,

    With some trial and error I succeeded in editing the xml-file. Now downloading 1 day of tv-guide info to see if it works.
    I have set to download 1 day of tv-guide info in WebEPG-conf.exe.
    Nevertheless WebEPG.exe downloads 7 days now. I don't know what's going on. This takes to long to test at this moment. I'll try again tomorrow.
     

    Users who are viewing this thread

    Top Bottom