- October 8, 2011
- 49
- 52
- Home Country
- Antarctica
MediaPortal Version: 1.13.0
Description
If you have an EPG supplied by Xmltv data (possibly other data sources but haven't tested), and the data is updated, and as part of that update a program has been removed but nothing new has been put in its place yet, the old program will still be included in MediaPortal's TV guide. This applies even if "Remove old programs on import" is selected.
I'm having this issue with my 1.11.0 install but I've installed 1.13.0 in a VM to confirm it's not specific to my system and that it is still a bug in 1.13.0. The following details/reports/steps are from that VM and how to reproduce it in a standalone environment.
Here is the SetupTv.log output for each import: http://pastebin.com/raw/H8YCiZJY (the SetupTv-error.log files are empty)
Attached are 3 xml files representing a sample of how the data might update which results in this bug.
** tvguide-import1.xml - Has programs A B C D.
** tvguide-import2.xml - The supplier has now removed 'D' as it is no longer airing, nothing put in place (TBD), and has added E and F after that. Mediaportal incorrectly keeps D in the guide even though it doesn't exist in this xml file.
** tvguide-import3.xml - The supplier has decided E is going to start earlier and run longer, it now overlaps with where D was located, causing Mediaportal to correctly remove D.
Steps to Reproduce:
Description
If you have an EPG supplied by Xmltv data (possibly other data sources but haven't tested), and the data is updated, and as part of that update a program has been removed but nothing new has been put in its place yet, the old program will still be included in MediaPortal's TV guide. This applies even if "Remove old programs on import" is selected.
I'm having this issue with my 1.11.0 install but I've installed 1.13.0 in a VM to confirm it's not specific to my system and that it is still a bug in 1.13.0. The following details/reports/steps are from that VM and how to reproduce it in a standalone environment.
Here is the SetupTv.log output for each import: http://pastebin.com/raw/H8YCiZJY (the SetupTv-error.log files are empty)
Attached are 3 xml files representing a sample of how the data might update which results in this bug.
** tvguide-import1.xml - Has programs A B C D.
** tvguide-import2.xml - The supplier has now removed 'D' as it is no longer airing, nothing put in place (TBD), and has added E and F after that. Mediaportal incorrectly keeps D in the guide even though it doesn't exist in this xml file.
** tvguide-import3.xml - The supplier has decided E is going to start earlier and run longer, it now overlaps with where D was located, causing Mediaportal to correctly remove D.
Steps to Reproduce:
- Install MP 1.13.0, as singleseat with Default Wide.
- TV Server config: Create a channel called "MPTEST" (no tuning details or tuner needed).
- Plugins > XmlTV (Enable) > point it to a folder that has a dtd.
- Add "tvguide-import1.xml" to that folder, rename it "tvguide.xml". Go to mappings and map the channel, do the guide import. Save settings (TV server config will close).
- Open MediaPortal, save settings, and get MediaPortal loaded.
- Open TV Guide, view Tuesday 1st March, you'll see items A B C D (this is correct so far). Close Mediaportal.
- Remove tvguide.xml, rename tvguide-import2.xml to tvguide.xml, do an import in TV Server config.
- When complete go back into Mediaportal, view TV Guide, you'll see items A B C D E F. This is incorrect, it should be A B C E F. (View the program descriptions and compare with the xml file).
- Close Mediaportal, remove tvguide.xml, rename tvguide-import3.xml to tvguide.xml, do an import. View TV guide again, you'll see A B C E F (which is correct).