Autoimport of xml error (1 Viewer)

mre15

Portal Member
January 9, 2009
29
0
Home Country
United Kingdom United Kingdom
I keep getting the following error when tvserver looks for my tvguide.xml

2009-02-12 23:00:09.435600 [XmlTvImporter]: XML tv import error loading C:\ProgramData\Team MediaPortal\MediaPortal\xmltv\tvguide.xml err:An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(Exceptio nResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKe y key, TValue value, Boolean add)
at TvEngine.XMLTVImport.Import(String fileName, Boolean showProgress)

If I click on the manual import button it then works fine.

Any ideas.

Cheers.
 

mre15

Portal Member
January 9, 2009
29
0
Home Country
United Kingdom United Kingdom
Further to this, although the import works fine, 1 minute later it grabs the very same xml that was fine, and then
gives the same error.

Someone must know how to fix this please.
 

ronilse

Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    Hi,
    Don't cross post!
    You need to tell us what version (MP or MP + TV server) you use & attach logs collected with log collector.

    Regards
    Roy
     

    mre15

    Portal Member
    January 9, 2009
    29
    0
    Home Country
    United Kingdom United Kingdom
    I am using mp with server, I have pasted the piece from the log in the first post,
    I can attach further logs if required, the log just contains the same fault as above many times over,
    the fault reoccurs 1 minute after everytime I press import.

    It seems to happen regardless of the number of channels in the xml, and regardless of the source of the xml.

    Cheers.

    Sorry for the double post, but I was unsure which of the sections would be most helpful as the fault
    was related to both.
     

    pantav

    Portal Pro
    January 5, 2009
    68
    5
    Home Country
    Spain Spain
    Same here

    Sorry for my english. Maybe there is a bug in xmltv importer. Let's relate the events.

    The db is empty (table: Program).
    I try to import the attached tvguide.xml file (manually). It fails with duplicate key error.

    The db is empty.
    I change the date attribute for the file (not the content) and the autodetections kicks and imports it. The xmltv plugin interface show it has finished the import.
    The db is adding registers and eventually it finishes. It has 4000+ registers.

    A minute after, without any intervention (only watching the pc), the importer restars the process. It fails with duplicate key error. So the db is empty (because the first action is to delete records).

    Nothing more happens, if i do nothing (the import doesn't autostart anymore)

    I can repeat this every time. I import the guide (manually) and a minute after, the system delete it.

    I attach also the log files.

    System: Mediaportal 1.0.1 in Windows XP, single seat with tvserver3.
     

    Attachments

    • tvguide.rar
      30.6 KB

    Users who are viewing this thread

    Top Bottom