XmlTv setup : Error importing file (1 Viewer)


Portal Member
January 2, 2016
Canada Canada
I get an error trying to setting up my EPG...

tvguide.xml:Invalid XML file: Could not find the file 'C:\Progra [Can't see more info since the import status report window do not allow to see more]

I am trying to setup MediaPortal2 (first attempt with MediaPortal) on Windows 10 64 bits (upgrade from Windows 7 professional).
I use Schedule Direct to get the EPG data.

The C:\ProgramData\Team MediaPortal\MediaPortal TV Server\xmltv folder contains...
tvguide.xml (after renaming it)

Everything seems right when looking int files. Any idea?


Portal Member
January 2, 2016
Canada Canada
I found that the xmltv.dtd file was actually named xmltv.dtd.txt after enabling the view file extension option in explorer.

Import seems to run now but I still have no import status after 15 min.
I might have to start another tread ;-(


Retired Team Member
  • Premium Supporter
  • December 17, 2010
    Germany Germany
    Country flag
    Import seems to run now but I still have no import status after 15 min.
    Depending on how much data you are importing the first import can last more than one hour. This will be much faster later as then only the changes need to be imported..


    Portal Member
    January 2, 2016
    Canada Canada
    I finally got data in my TV guide after the import ran for almost two hours!

    Another problem I met in my previous attempt is that I first had to check the UTF8 box when running mc2xml.exe.

    According to this thread (1) the import stuck when there are bad characters in the tvguide.xml. Since I am listening to both English and French channels (with accent in titles and program descriptions) all the accents are transformed into bad characters without UTF8 option (maybe something to add somewhere in the wiki?).

    (1) https://forum.team-mediaportal.com/threads/xmltv-import-stucks.134343/

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

    OP Similar threads Forum Replies Date
    breese [Info] XMLTV Plugin within TV Setup TV Engine 6
    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
    J Where the heck is the Client side setup? General 2
    J TV Server setup question Newcomers Forum 0
    M Initial Setup MP2 (On Wndows 10) General 2
    W Setup data connection - mySQL connection failed Installation, configuration support 1
    A Client/Server Setup: Slow TV Startup Television (MyTV frontend and TV-Server) 0
    A MP2.2.2, understanding movies/videos/tv and WTV recordings. General 16
    C Setup failed: 0xfffffff7 Allgemeines Support- und Diskussionsforum 1
    G Newb trying MP2, trouble with guide data General 5
    B Ceton infinitv channel are red not green after initial setup General 1
    Edwardfc Fanart setup/configuration General 10
    cbr954rr How to setup only german channels in online videos Plugin Development 13
    raffe How do I setup MP2 as an UPnP server? General 3
    Top Bottom