xmltv install / configure for ATSC / OTA U.S.A (1 Viewer)


Development Group
  • Team MediaPortal
  • September 1, 2008
    New Zealand New Zealand
    Country flag
    Please provide log files then, because it's literally not possible for the XMLTV plugin to do the things you're describing. Categorically: it does not change channel numbers, names, create new channels etc.


    Public Relations
  • Premium Supporter
  • September 25, 2010
    United States of America United States of America
    Country flag
    I dont know which one holds the info you are looking for.

    To be fair, i did accidentally check the SD plugin check box after I had it off.... realized I clicked wrong box about 1 minute later I think. Maybe it happened then.


    New Member
    April 16, 2016
    United States of America United States of America
    Ran through the directions. Double checked.. Had an issue at the following:
    "Import Status: tvguide.xml: Invalid XML file:Could not find file 'J:\TVGui"

    I had to copy the dtd file into the J:\TvGuid folder as well.. AFter that it worked



    MP Donator
  • Premium Supporter
  • March 15, 2012
    Bring Cash
    Canada Canada
    Country flag
    Great to see this in the works!! and working.. i have it working but my only problem is i am trying to combined two providers info together so mediaportal will pick it up as one xmltv and it seems the use of any type of file com-binder to combined these together it only picks up one provider in the channel mappings and also only one of the list comes up from zapit file.
    zap2xml -z -u user -p pass -d 15 -o tvguide.xml -g -U -T -r 8
    zap2xml -z -u user -p pass -d 15 -o tvguide1.xml -g -U -T -r 8

    zap2xml -u user -p pass -d 15 -o tvguide.xml -U -T -r 8
    zap2xml -u user -p pass -d 15 -o tvguide1.xml -U -T -r 8

    is there any way to combining these together ? looking at about 1100 channels with two tv cards so i am only grabbing 15 days at once .. with one provider i can do 30 days any more and everything does not work simply to much info i assume . i stopped using this for now until i can figure this out. because every other week i have to do a channel scan to keep up with changes such a pain would be nice to have a updater for channels and transponders that map with the guide changes to.... i know a long ways away but i can dream for now :) last i would like to thank all in the development group for your time and effort into this as i know this is very time consuming thanks!!!
    Last edited:


    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    Arlington Heights, Illinois
    United States of America United States of America
    Country flag
    If I remember correctly, tvguide only supports 14 days of info.
    what 2 providers are you using?
    Can you set the scripts to grab 1 day each and upload the tvguides so that I can look at them.


    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    Arlington Heights, Illinois
    United States of America United States of America
    Country flag
    i am testing d-net and b-express.
    While I do not know these providers, I can tell you that the tvguide1.xml has all the channels that tvguide.xml has and then some.
    Most notably are the Lower Channels.

    TVguide.xml goes not seem to have channels 10 thru 70 that tvguide1.xml has.
    If you stick with the one guide and map the proper channels in SetupTV, all should be there and work without a hitch.

    Also, there is a New Tool being developed called EPG-Grabber.
    EPG-Buddy a new EPG Tool with easy usage.

    I would suggest checking it out but be aware there is a lot of development still going on with this for the U.S.
    Currently I am using / testing it for Chicagoland Over-The-Air Digital channels.


    New Member
    September 26, 2017
    United States of America United States of America
    I must be missing some key step, but when I run the zap2xml exe file, I cannot edit it. It stays open a few seconds then closes automatically. What did I miss?


    New Member
    October 28, 2017
    United States of America United States of America
    Thanks breese very much. I could not get WebEPG to work anymore and stumbled on your work. It worked for me using the command prompt going to the location.
    windows key + R, type cmd in the run box and enter to get the command line
    I got this to work

    zap2xml -u zap2xmluser@email.xx -p password -d 10 -A "new" -q -s -o xmltv.xml
    (looks like you have options not to register...among others)

    Then I tried to automate it with task scheduler like you proposed. Pointing to zap2xmlrc worked in making xmltv.xml file.
    But that had to be renamed or copied and renamed to tvguide.xml in order to be imported by the plugin.

    So I made a bat file as someone suggested like this to combine several commands to fully automate the process.
    I made a text file called run.txt and put this one line in without any breaks to first delete the old xmltv.xml file, then run zap2xml, and last to overwrite the old tvguide.xml with the new xmltv.xml file your program makes.

    del xmltv.xml && zap2xml -u zap2xmluser@email.xx -p password -d 14 -A "new" -q -s -o xmltv.xml && xcopy xmltv.xml tvguide.xml /y && exit

    I saved that and renamed it something like run.bat and put it in the program folder

    Program Script


    Add arguments
    no arguments, left blank

    Start in

    Worked when I manually ran the task, will see if it works by itself tomorrow. WebEPG did all that scheduling, and I guess there may be another way now to automate the schedule for the none too jaded.-- Thanks again
    Last edited:


    MP Donator
  • Premium Supporter
  • August 27, 2010
    United States of America United States of America
    Country flag
    Open the folder where you installed the zap2xml.exe and create a file called zap2xmlrc.txt
    Add the following lines within this new text file
    NOTE: Do not include the Quote Marks after the Equal Sign

    days="put the # of days you want downloaded every day"
    user="UserName used on zap2it.com"
    pass="Password used on zap2it.com"
    outfile="F:\TVGuide\tvguide.xml" ---- As I said above - This is My Location and File Name Used
    Save and Close the file.

    From the same location, run the zap2xml.exe with the following command line
    zap2xml -u tvguideuser@email.xx -p password -o myfile.xml
    tvguideuser@email.xx == Your zap2it username
    password ==Your zap2it password
    myfile.xml == tvguide.xml
    Aren't the zap2xmlrc file AND the command line arguments redundant? Either one should work, but don't need both. (and your command line doesn't tell zap2xml to use the rc file)

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    framug No color in TVGuide when XMLTV without DVB EPG MediaPortal 1 Talk 59
    B xmltv - cannot import tvguide.xml australia Installation, configuration support 0
    geotwticher TV Guide EPG Grabber for Australia 2020 RIP freepg.tv General 4
    P Timeshifting in XMLTV General 2
    C Can the XmlTv Plugin handle 600+ channels? General 3
    JJDoherty 1.22.0 XMLTV not raising the following OnImportEpgPrograms event... 1.22 0
    lacanox XMLTV not writing the tv schedule Electronic Program Guide 3
    A [solved] XmlTv not importing programs General 8
    dcapslock TV Server xmltv IWakeupHandler Bug Television (MyTV frontend and TV-Server) 6
    T No data available using xmltv and mc2xml xmlTV 2
    W XMLTVImport duplicate item error xmlTV 5
    J Schedules Direct - XmlTV Plugin xmlTV 6
    breese [Info] XMLTV Plugin within TV Setup TV Engine 6
    F Problems with new install of MP2 Newcomers Forum 3
    C Can't install any extensions - DLL error Installation, configuration support 19
    joecrow 1.25.0 5031: Error on Install. Bugreports 24
    P [solved] MP2 new install, 2 x hdhomerun tuners, client on same PC unable to view TV & recordings Newcomers Forum 8
    M MediaPortal2 TV Config Error on Install (0x80004005) General 7
    ajs [fixed] 5022: Improving the MPE Installer, providing nicer GUI :) MediaPortal 1 42
    Rob Hexenmeister Dependency error on install v2.3.2.0 OnlineVideos 28
    ajs [fixed] 5015: Improving the MP1 installer, providing nicer GUI :) MediaPortal 1 138
    N No TV or EPG on fresh install General 0
    D [solved] Changed username in Win10, now TV Server config crashes on fresh install Installation, configuration support 1
    T MediaPortal Extensions Manager Fehlermeldung bei Installation einer Erweiterung Installationsprobleme? 1
    doskabouter [Question] Optional installation of subcomponents in MPE1 Developer Discussions 1
    Similar threads

    Top Bottom