xmltv 2 ? (source + binary now available) (3 Viewers)

Laban

Portal Pro
July 1, 2007
206
18
Luleå
Home Country
Sweden Sweden
Finally got so annoyed by the & problem that i had to do something about it. Should be ok now. Might add that the code HTML converting code was already there so it was a simple thing really, i've just been lazy/busy with other things..
 

ronald2oo2

MP Donator
  • Premium Supporter
  • November 15, 2005
    110
    12
    Netherlands
    Hi, just made my first steps with XMLTV in general (always used WebEPG) and with XMLTV2 plugin specifically.

    I use tvengine3-10-03-2007--01-22h--Rev16098
    I managed to make a tv_grab_nl.conf (with bat file)
    I managed to make a TVguide.xml (with bat file)

    I am now stuck in the xmltv2 plugin mapping. The table is empty and "load/refresh" is giving the error that TVguide.lst is not found. I can also nowhere find such file.

    Who should generate the TVguide.lst file?
    BTW I downloaded/installed the XMLTVimport2.zip from the first post. Is this (always) last?

    I am also not clear about:
    Can TVE schedule the XMLTV grab?
    How does TVE/XMLTV decide to use tv_grab_nl.conf?

    I remember both these settings in the MP config but can not touch these settings anymore after install of TVE, and can also not find such settings in TVE config.

    Thanx.
    Ronald
     

    Roo

    Portal Member
    January 7, 2007
    24
    1
    48
    Home Country
    United Kingdom United Kingdom
    Hi Ronald.

    As I understand it the tvguide.lst file is used when you want to use multiple tvguide.xml files.

    https://forum.team-mediaportal.com/showpost.php?p=162831&postcount=33

    As you mentioned making a tvguide.xml file then you can switch off the tvguide.lst option.

    Laban always seems to remember to update his first post with the current version of his plugin so you've grabbed the most recent version.

    I've set up a scheduled task in Windows to run a bat file every morning at 5 to create a new tvguide.xml It looks like the following:

    Code:
    "C:\Program Files\Team MediaPortal\MediaPortal TV Server\XMLTV\xmltv.exe" tv_grab_uk_rt --output "C:\Program Files\Team MediaPortal\MediaPortal TV Server\XMLTV\tvguide.xml" --days 14

    It says run the xmltv.exe program using tv_grab_uk_rt for the EPG data, drop the tvguide.xml file into the MediaPortal directory and grab 14 days of data.

    The file tv_grab_nl.conf simply lists all of the TV channels that you want downloaded EPG data for. XMLTV knows to read this file each time you run it. You'll find tv_grab_nl.conf in a subfolder of the XMLTV installation folder:

    XMLTV\.xmltv

    Hope that helps,
    Roo.
     

    ronald2oo2

    MP Donator
  • Premium Supporter
  • November 15, 2005
    110
    12
    Netherlands
    Hi Roo,

    Thank you, that push in the right direction did help.
    The reason of the error became clear: I should not have checked the "import tvguide.lst" box! I interpreted this checkbox just the other way around (lets say it was late)

    After this I could make the mapping (Thank you Laban for this very nice option!) and now have a good 7 day EPG.

    With first try however I had more "holes" in the EPG then programs but I found the fix for this elsewhere on the forum: delete the TVDatabaseV21.db3!

    Your bat file also helped me in that sense that I previously did not use the full paths and appearently therefor could not run xmltv without first deleting the tvguide.xml. This seems to be ok now also.

    I enabled the power scheduler plugin what appears to be scheduling the xmltv.exe. Anyway I will know in the morning if I have a fresh tvguide.xml (or not).

    The good thing of it all is that I tried TVE3 many times but always uninstalled it again on account of a unresolvable +2hr offset in the EPG. I now do not have this offset so I guess I can keep using TVE3.


    Cheers,
    Ronald
     

    revs

    MP Donator
  • Premium Supporter
  • February 1, 2007
    1,274
    72
    The Sauce of Worcester
    Home Country
    Wales Wales
    I have a feature Request!

    Instead of emptying the EPG database before loading the new data, would it be possible as an option to simply overwrite the current data.

    Sometimes my EPG data grab fails, and as I have automated the process, XMLTV2 then goes and deletes all my EPG data and then loads the partial EPG grab.

    If there was an option to overwrite the data and not delete everything first then the EPG data that has been grabbed will be updted, and I wont lose any channels that have not been grabbed..
     

    Winno

    Portal Member
    June 22, 2007
    7
    1
    Perth
    Home Country
    Laban,

    Would it be possible to change the delete before import option?
    Instead of deleting the whole dbo.program table, can you delete just the program information for the channels that are being imported?

    I use DVB-S EPG and XMLTV importing to get a guide for all my channels.
    When I import the XMLTV program infromation all the DVB-S EPG program information is deleted.
    This would also leave behind the program information for any channels that had failed to grab...

    This may slow down the import a bit as you would need to do something like:
    delete * from dbo.program where channelid=<id of channel being imported>

    but it would be real nice to have :)

    Keep up the good work!
    Winno

    *EDIT*

    I've just looked ar revs post and he's asked for exactly the same thing!
     

    robyf

    Retired Team Member
  • Premium Supporter
  • June 20, 2005
    1,076
    278
    53
    Bolzano
    Home Country
    Italy Italy
    I think this plugin shoud be in official release of mediaportal... is a developer looking at this post?

    Roby
     

    Users who are viewing this thread

    Top Bottom