auto import of TVguide.xml gives error (1 Viewer)

ianc

MP Donator
  • Premium Supporter
  • December 29, 2007
    132
    1
    wicklow
    Home Country
    Ireland Ireland
    TV-Server Version:
    MediaPortal Version: 02.3.0 SVN 18032
    MediaPortal Skin: Standard
    Windows Version: XP Mediacenter
    CPU Type: Intel P4 2G
    HDD: 300GB
    Memory: 1G
    Motherboard: Shuttle
    Motherboard Chipset: Shuttle
    Motherboard Bios: Shuttle
    Video Card: Sapphire ATI 2400
    Video Card Driver: ?
    Sound Card: onboard
    Sound Card AC3:
    Sound Card Driver:
    1. TV Card: FireDTV
    1. TV Card Type: DVB-S2
    1. TV Card Driver:
    2. TV Card:
    2. TV Card Type:
    2. TV Card Driver:
    3. TV Card:
    3. TV Card Type:
    3. TV Card Driver:
    4. TV Card:
    4. TV Card Type:
    4. TV Card Driver:
    MPEG2 Video Codec:
    MPEG2 Audio Codec:
    Satelite/CableTV Provider:
    HTPC Case:
    Cooling:
    Power Supply:
    Remote:
    TV:
    TV - HTPC Connection:

    auto xmltv import of TVguide.xml was working fine on a nightly basis until I added a few additional stations via WebEPGconfig. Now I'm getting the following message when xmltv auto loads the file:

    2008-03-30 11:26:02.733659 [18]: XML tv import error loading D:\Program Files\Team MediaPortal\MediaPortal\xmltv\tvguide.xml err:An item with the same key has already been added.
    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
    at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
    at TvEngine.XMLTVImport.Import(String fileName, Boolean showProgress)

    However the file loads fine (and I can see the guide on a client PC) if I manually load using the "import" button. The auto load then undoes this about a minute later!.

    I've now cut the WebEPG.xml (and TVguide) down to just two stations and still getting the error.

    Files attached.
     

    Attachments

    • WebEPG.xml
      30.6 KB

    ianc

    MP Donator
  • Premium Supporter
  • December 29, 2007
    132
    1
    wicklow
    Home Country
    Ireland Ireland
    Hmm - Not pressing the import button and letting it do it itself solves the problem!!
     

    natomb

    Portal Member
    July 21, 2008
    36
    0
    Home Country
    Germany Germany
    I can confirm this behaviour. Manually importing the WebEPG will let any subsequent automatic import fail. Just restarting TV Service helps, at least for the first automatic import. I will track on this and report if it still works in another week.
     

    Users who are viewing this thread


    Write your reply...
    Top Bottom