MediaPortal Version: 1.2.3
Description
Hi,
I setup my TVServer so that every night, at 3.00 AM, an external process downloads from the web an updated xmltv file and copies it in the directory monitored by TVService for the automatic import.
I noticed that the import sometimes failed, and so I went to tv.log to check the reason. Here is the significant log:
2012-08-19 03:00:22.411531 [XmlTvImporter(24)]: Xmltv: imported 64 channels, 0 programs status:tvguide.xml:Invalid XML file:È già stato aggiunto un elemento con la stessa chiave.;
(it's in italian, it says that an element with the same key was already added)
So I opened the TVService configurator, went to the XmlTv plugin options, and run manually the job with the appropriate button. The result is:
2012-08-19 14:19:43.573374 [SetupTv(1)]: Xmltv: imported 64 channels, 12655 programs status:tvguide.xml:File imported successfully;
Useless to say that the flag "Delete before import" is flagged on the configurator form.
Steps to Reproduce:
The steps to reproduce the problem were written in the description above.
I can add one thing, if it can be usefull for the team.
I downloaded the current sources of all the TVLibrary, and checked for the section where the automatic import is done. I'm trying to understand the differences between the automatic import and the manual one.
If I find something I'll add here.
For now I can send you the current xmltv file that gives me the problem, if you want to try to reproduce the issue.
Thanks all for the support and good work.
Description
Hi,
I setup my TVServer so that every night, at 3.00 AM, an external process downloads from the web an updated xmltv file and copies it in the directory monitored by TVService for the automatic import.
I noticed that the import sometimes failed, and so I went to tv.log to check the reason. Here is the significant log:
2012-08-19 03:00:22.411531 [XmlTvImporter(24)]: Xmltv: imported 64 channels, 0 programs status:tvguide.xml:Invalid XML file:È già stato aggiunto un elemento con la stessa chiave.;
(it's in italian, it says that an element with the same key was already added)
So I opened the TVService configurator, went to the XmlTv plugin options, and run manually the job with the appropriate button. The result is:
2012-08-19 14:19:43.573374 [SetupTv(1)]: Xmltv: imported 64 channels, 12655 programs status:tvguide.xml:File imported successfully;
Useless to say that the flag "Delete before import" is flagged on the configurator form.
Steps to Reproduce:
The steps to reproduce the problem were written in the description above.
I can add one thing, if it can be usefull for the team.
I downloaded the current sources of all the TVLibrary, and checked for the section where the automatic import is done. I'm trying to understand the differences between the automatic import and the manual one.
If I find something I'll add here.
For now I can send you the current xmltv file that gives me the problem, if you want to try to reproduce the issue.
Thanks all for the support and good work.
Last edited: