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
MediaPortal 1 Plugins
WebEPG: Fail gracefully on IMDB formatting errors
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="nopunin10did" data-source="post: 1154221" data-attributes="member: 154018"><p>Hi,</p><p></p><p>I ran into an issue where the EPG reads poorly when the IMDB TV schedule for a station has a formatting error.</p><p></p><p>For example, take a look here:</p><p><a href="http://www.imdb.com/tvgrid/2015-09-27/WRAZ" target="_blank">http://www.imdb.com/tvgrid/2015-09-27/WRAZ</a></p><p></p><p>In this case, IMDB (or whatever their information source) inserted an 8:30 PM listing prior to the 12:00 AM listing that morning. Moreover, there is a separate 8:30 PM listing later on the page.</p><p></p><p>The result has been that the EPG shows only one show for the entire day, "College Football" from 8:30 PM to 12:00 AM the next day.</p><p></p><p>While I'd expect this sort of error to create an unavoidable inaccuracy in the EPG, I think it could probably fail more "gracefully" than this. At most, the "College Football" entry should either disappear or replace the intended 8:30 PM entry ("N. C. Spin").</p><p></p><p>I've pulled down the source to MediaPortal 1 to look at the WebEPG grabber code. I'm more of a Java programmer than a C-Sharp expert, but it looks to me like the grabber simply pulls down every entry from the web into a List<ProgramData>. Perhaps this should be replaced with a SortedList or SortedSet, using start time as an order?</p><p></p><p>I've saved a copy of the offending page. I'd be happy to code and test this myself, though I'm not sure how to pass the HTML file directly to the grabber for testing purposes.[DOUBLEPOST=1443449295][/DOUBLEPOST]In case the link becomes dead, here's a snapshot of it:</p><p><img src="http://i.imgur.com/3a6Zc9y.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p></blockquote><p></p>
[QUOTE="nopunin10did, post: 1154221, member: 154018"] Hi, I ran into an issue where the EPG reads poorly when the IMDB TV schedule for a station has a formatting error. For example, take a look here: [URL]http://www.imdb.com/tvgrid/2015-09-27/WRAZ[/URL] In this case, IMDB (or whatever their information source) inserted an 8:30 PM listing prior to the 12:00 AM listing that morning. Moreover, there is a separate 8:30 PM listing later on the page. The result has been that the EPG shows only one show for the entire day, "College Football" from 8:30 PM to 12:00 AM the next day. While I'd expect this sort of error to create an unavoidable inaccuracy in the EPG, I think it could probably fail more "gracefully" than this. At most, the "College Football" entry should either disappear or replace the intended 8:30 PM entry ("N. C. Spin"). I've pulled down the source to MediaPortal 1 to look at the WebEPG grabber code. I'm more of a Java programmer than a C-Sharp expert, but it looks to me like the grabber simply pulls down every entry from the web into a List<ProgramData>. Perhaps this should be replaced with a SortedList or SortedSet, using start time as an order? I've saved a copy of the offending page. I'd be happy to code and test this myself, though I'm not sure how to pass the HTML file directly to the grabber for testing purposes.[DOUBLEPOST=1443449295][/DOUBLEPOST]In case the link becomes dead, here's a snapshot of it: [IMG]http://i.imgur.com/3a6Zc9y.png[/IMG] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
WebEPG: Fail gracefully on IMDB formatting errors
Contact us
RSS
Top
Bottom