Help needed to retrieve xml tvguide data (1 Viewer)

tomtom21000

Retired Team Member
  • Premium Supporter
  • April 22, 2004
    1,226
    120
    Germany
    I like to integrate a tv guide for germany.

    i have nextview epg sucessful running, but.. .. it blocks my tv card for an endless time.

    i had a look into this
    http://sourceforge.net/project/showfiles.php?group_id=39046

    program xmltv and its docs. but i can´t get it running. i have succeeded to choose the channels i want information from.

    i can get it started, it retrieves data for such a long time that i allways left the pc alone. in the end the progam is terminated but i do not have a new file with data.

    some of the command line options i tried:
    d:\xmltv\xmltv.exe tv_grab_de_tvtoday
    d:\xmltv\xmltv.exe tv_grab_de_tvtoday --tv_grab_de_tvtoday.cfg --days7 --output tvguide.xml
    d:\xmltv\xmltv.exe tv_grab_de_tvtoday --days7 --output tvguide.xml

    before i had successfully:
    d:\xmltv\xmltv.exe --configure

    can anyone help:

    - post the correct commandline options?
    - is there a gui for the program (could not find one)?
    - can someone set up a batch file like the one provided for the dutch xmltv that comes with mediaportal?

    tomtom21000
     
    A

    Anonymous

    Guest
    One line in the docs for XMLTV might give you a clue:
    "The grabber relies on parsing HTML so it might stop working at any time."

    Because various guide services are always changing/updating, code may change and become inoperative. The best is to check with the programs author: Stefan Siegl, ssiegl@gmx.de and query if this is the case.

    Otherwise what you have been using as commands seems correct as to what the documentation is saying.
    Any of your commands can be put into a bat file, just as you have typed them.

    See http://nolanparty.com/mediaportal.sourceforge.net/phpBB2/viewtopic.php?t=313 for more.

    If you do find a solution, please share it with us, and it will definately get put into the now in-progress manual.
     
    A

    Anonymous

    Guest
    xmltv batchfile

    I hope you know german

    enpacke xmltv in das direktory
    C:\Programme\Team MediaPortal\MediaPortal\xmltv

    ändere tvguide.bat
    so ab:

    :start
    del tvguidenew.xml
    del tvguideold.xml
    Sleep 10
    xmltv.exe tv_grab_de_tvtoday --output=tvguidenew.xml
    if errorlevel 10 goto start

    ren tvguide.xml tvguideold.xml
    ren tvguidenew.xml tvguide.xml

    fertig
     

    mama

    Portal Pro
    May 31, 2004
    334
    0
    Germany
    I must recommend, as Alibert, TV Movie here in germany. It costs 9,-€ for a year and you always have actual XML files. ;)

    Kann mich Alibert nur anschließen! Ich nutze ebenfalls TV Movie. Kostet schlappe 9,-€uronen per anno und du hast immer aktuelle Daten. Per Taskplaner rufst du über Nacht deine Daten automatisch ab.
     

    tomtom21000

    Retired Team Member
  • Premium Supporter
  • April 22, 2004
    1,226
    120
    Germany
    @ kishman155:

    Thank you for your support, The Batch file works.

    I think I will use it instead of Nextview:

    # It gets the information in about half an hour
    # It does not block the tv-card
    # It is free of cost.

    Now I´d like a good way to let the bat run from time to time. Do use windows scheduler for that? Should be executed when I start the pc anyway (no wake up)

    tomtom21000

    Danke für die Hilfe. Funktioniert prima.
     
    A

    Anonymous

    Guest
    Start the Script

    I have a spezial way to start the script.
    The Normal way you could start the script is with scheduler.
    When du you want to start?????
    My way to start the script ist to do this when the system shuts down.
    symble way is to write to the end of the batchfile :
    shutdown -s -t00

    After the script is finished to renew your xmlfile the system shutsdown.
    This thing is the normal way it works, but not i do.

    This is the real one.
    everytime to think: i need new xmlfile; is very hard.
    I have three batchfiles.
    One is the script tvguide.bat without shutdown.
    The second is tvguidecopy.bat who copys tvguide.bat into the folder :
    C:\Programme\Team MediaPortal\MediaPortal\xmltv
    and the third one is check.bat looks for tvguide.bat if it exist in this folder C:\Programme\Team MediaPortal\MediaPortal\xmltv if its true it runs.

    The script tvguidecopy.bat is in the sheduler he copy tvguide.bat from a writeprotektet save direktory to C:\Programme\Team MediaPortal\MediaPortal\xmltv every
    Thursday and Friday when the system starts.
    The third script is in gpedit.msc(only WindowsXPPRO) computerconfiguration or Userconfiguration >Abmelden.
    It looks for tvguide.bat in C:\Programme\Team MediaPortal\MediaPortal\xmltv and if it exists he run it and after tvguide.bat finished. check.bat delite tvguide.bat if tvguide.bat not exists check.bat don´t want to delite tvguide.bat. check.bat will go write foward to shutsdown normal.
     
    A

    Anonymous

    Guest
    i am sorry i forgot my forth script who check tvguide.log on every wednesday and Saturday when it exists it will delite it.
    This log becomes writen when tvguide.bat starts. tvguidecopy.bat looksfor tvguide.log if it exists he will not copy.

    mfg
    Kishman155
     
    A

    Anonymous

    Guest
    go on www.tvxb.com





    Germany - 93 main, regional, satellite and digital TV listings (Slow - downloads ~4 pages channel/day)
     

    Users who are viewing this thread

    Top Bottom