home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Quality Assurance
Bugtracker Feed
0002680: XMLTV delete EPG on import is not working
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="MediaPortal-Bot" data-source="post: 571461" data-attributes="member: 48617"><p>In xmltv import plugin: The function to delete programs before import does not work. Todays EPG in my machine on many channels was a single show from ~5 am today lasting until 5am tomorrow. Reimporting EPG with delete all programs activated made no difference. amount of imported programs was also way too low (<a href="http://mantis.team-mediaportal.com/view.php?id=131#c49" target="_blank">Note: 0000049</a> where it should be thousands).</p><p>The xmltv file is not missing entries.</p><p></p><p>Adding this code back to XmlTvImporter.cs solves the issue:</p><p>Code:</p><p></p><p> if (layer.GetSetting("xmlTvDeleteBeforeImport", "true").Value == "true")</p><p> {</p><p> SqlBuilder sb = new SqlBuilder(StatementType.Delete, typeof(Program));</p><p> SqlStatement stmt = sb.GetStatement();</p><p> stmt.Execute();</p><p> }</p><p></p><p>However, we need a proper fix, because the above code has its own issues.</p><p></p><p><a href="http://mantis.team-mediaportal.com/view.php?id=2680" target="_blank">http://mantis.team-mediaportal.com/view.php?id=2680</a></p><p></p><p><a href="http://mantis.team-mediaportal.com/view.php?id=2680" target="_blank">Open the issue in Mantis...</a></p></blockquote><p></p>
[QUOTE="MediaPortal-Bot, post: 571461, member: 48617"] In xmltv import plugin: The function to delete programs before import does not work. Todays EPG in my machine on many channels was a single show from ~5 am today lasting until 5am tomorrow. Reimporting EPG with delete all programs activated made no difference. amount of imported programs was also way too low ([URL="http://mantis.team-mediaportal.com/view.php?id=131#c49"]Note: 0000049[/URL] where it should be thousands). The xmltv file is not missing entries. Adding this code back to XmlTvImporter.cs solves the issue: Code: if (layer.GetSetting("xmlTvDeleteBeforeImport", "true").Value == "true") { SqlBuilder sb = new SqlBuilder(StatementType.Delete, typeof(Program)); SqlStatement stmt = sb.GetStatement(); stmt.Execute(); } However, we need a proper fix, because the above code has its own issues. [url]http://mantis.team-mediaportal.com/view.php?id=2680[/url] [url=http://mantis.team-mediaportal.com/view.php?id=2680]Open the issue in Mantis...[/url] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Quality Assurance
Bugtracker Feed
0002680: XMLTV delete EPG on import is not working
Contact us
RSS
Top
Bottom