Normal
I did some more testing:I created another simple tvguide.xml containing only 1 item (see attached file).I started the import by clicking the Import-button in Mediaportal TV Service configuration app.I checked what happened in 3 log files: SetupTv.log, TVService-error.log and TVService.log. (I pasted the relevant log lines together in the attached file logs.txt)As can be seen in SetupTv.log, I started the import at [2018-10-27 10:49:41,632]At [2018-10-27 10:49:42,242], (after less than a second) SetupTv.log reports: Xmltv: imported 1 channels, 1 programs status:tvguide.xml:File imported successfully;So you would expect everything to be ok,BUT:At [2018-10-27 10:50:29,627] (after nearly a minute), both TVService-error.log and TVService.log report:[XmlTvImporter] [ERROR] - XML tv import error loading C:\Users\wille_000\AppData\Local\WebGrab+Plus\tvguide.xml err:Er is al een item met dezelfde sleutel toegevoegd. bij System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) bij System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) bij TvEngine.XMLTVImport.Import(String fileName, Boolean deleteBeforeImport, Boolean showProgress)so, everything is not ok after all...my conclusions:tvguide.xml is correctsomething is wrong inside the database or something is wrong with the TvXML import pluginthe import plugin needs better log reporting like printing out the offending duplicate key value
I did some more testing:
I created another simple tvguide.xml containing only 1 item (see attached file).
I started the import by clicking the Import-button in Mediaportal TV Service configuration app.
I checked what happened in 3 log files: SetupTv.log, TVService-error.log and TVService.log. (I pasted the relevant log lines together in the attached file logs.txt)
As can be seen in SetupTv.log, I started the import at [2018-10-27 10:49:41,632]
At [2018-10-27 10:49:42,242], (after less than a second) SetupTv.log reports: Xmltv: imported 1 channels, 1 programs status:tvguide.xml:File imported successfully;
So you would expect everything to be ok,
BUT:
At [2018-10-27 10:50:29,627] (after nearly a minute), both TVService-error.log and TVService.log report:
[XmlTvImporter] [ERROR] - XML tv import error loading C:\Users\wille_000\AppData\Local\WebGrab+Plus\tvguide.xml err:Er is al een item met dezelfde sleutel toegevoegd.
bij System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
bij System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
bij TvEngine.XMLTVImport.Import(String fileName, Boolean deleteBeforeImport, Boolean showProgress)
so, everything is not ok after all...
my conclusions: