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
Development
Submit: EPG-Grabbers and tuningdetails
Archive
new WebEPG grabber for IT tv -> error
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="BertTRP" data-source="post: 644031" data-attributes="member: 105117"><p>I'm trying to create a new grabber for RAI (italian TV). Hereby a simplified code of the grabber (even the channel ID and date are hardcoded):</p><p></p><p>[CODE]<?xml version="1.0" encoding="utf-8"?></p><p><Grabber></p><p> <Info availableDays="1" timezone="W. Europe Standard Time" version="2.1.0" /></p><p> <Channels></p><p> <Channel id="Rai Uno" siteId="RaiUno" /></p><p> <Channel id="Rai Due" siteId="RaiDue" /></p><p> </Channels></p><p> <Listing type="Html"></p><p><Search language="it-IT" /></p><p> <Site url="http://www.rai.it/dl/portale/GuidaProgrammiAcc.html?RaiUno_2010_08_02" post="" external="false" encoding="" delay="10000"/></p><p> <Html></p><p> <Template name="default"></p><p> <SectionTemplate tags="SA"></p><p> <TemplateText></p><p> &lt;span class="ora"&gt;&lt;#START&gt;&lt;/span&gt; &lt;span class="info"&gt;&lt;a&gt;&lt;#TITLE&gt;&lt;/a&gt;&lt;/span&gt;&lt;</TemplateText></p><p> </SectionTemplate></p><p> </Template></p><p> </Html></p><p> </Listing></p><p></Grabber>[/CODE]</p><p></p><p>The WebEPG engine fails reporting the error:</p><p></p><p>[CODE]2010-08-02 18:15:25.218750 [WebEPGImporter(6)]: plugin:webepg import failed</p><p>2010-08-02 18:15:25.234375 [WebEPGImporter(6)]: Exception :System.IndexOutOfRangeException: Index was outside the bounds of the array.</p><p> at MediaPortal.Utils.Web.HtmlString.GetTagLength(String strSource, Int32 StartPos)</p><p> at MediaPortal.Utils.Web.HtmlString.TagList(String source)</p><p> at MediaPortal.Utils.Web.HtmlProfiler.BuildProfile(String source)</p><p> at MediaPortal.Utils.Web.HtmlProfiler..ctor(HtmlSectionTemplate template)</p><p> at MediaPortal.Utils.Web.HtmlParser..ctor(HtmlParserTemplate template, Type parserDataType, Object[] parserDataArgs)</p><p> at MediaPortal.WebEPG.Parser.WebParser..ctor(WebParserTemplate webTemplate)</p><p> at MediaPortal.WebEPG.WebListingGrabber.Initalise(String File, Int32 maxGrabDays)</p><p> at MediaPortal.EPG.WebEPG.Import()</p><p> at TvEngine.WebEPGImport.ThreadFunctionImportTVGuide(Object aparam)[/CODE]</p><p></p><p>Anybody has any idea why?</p><p></p><p>Thank you in advance.</p></blockquote><p></p>
[QUOTE="BertTRP, post: 644031, member: 105117"] I'm trying to create a new grabber for RAI (italian TV). Hereby a simplified code of the grabber (even the channel ID and date are hardcoded): [CODE]<?xml version="1.0" encoding="utf-8"?> <Grabber> <Info availableDays="1" timezone="W. Europe Standard Time" version="2.1.0" /> <Channels> <Channel id="Rai Uno" siteId="RaiUno" /> <Channel id="Rai Due" siteId="RaiDue" /> </Channels> <Listing type="Html"> <Search language="it-IT" /> <Site url="http://www.rai.it/dl/portale/GuidaProgrammiAcc.html?RaiUno_2010_08_02" post="" external="false" encoding="" delay="10000"/> <Html> <Template name="default"> <SectionTemplate tags="SA"> <TemplateText> <span class="ora"><#START></span> <span class="info"><a><#TITLE></a></span><</TemplateText> </SectionTemplate> </Template> </Html> </Listing> </Grabber>[/CODE] The WebEPG engine fails reporting the error: [CODE]2010-08-02 18:15:25.218750 [WebEPGImporter(6)]: plugin:webepg import failed 2010-08-02 18:15:25.234375 [WebEPGImporter(6)]: Exception :System.IndexOutOfRangeException: Index was outside the bounds of the array. at MediaPortal.Utils.Web.HtmlString.GetTagLength(String strSource, Int32 StartPos) at MediaPortal.Utils.Web.HtmlString.TagList(String source) at MediaPortal.Utils.Web.HtmlProfiler.BuildProfile(String source) at MediaPortal.Utils.Web.HtmlProfiler..ctor(HtmlSectionTemplate template) at MediaPortal.Utils.Web.HtmlParser..ctor(HtmlParserTemplate template, Type parserDataType, Object[] parserDataArgs) at MediaPortal.WebEPG.Parser.WebParser..ctor(WebParserTemplate webTemplate) at MediaPortal.WebEPG.WebListingGrabber.Initalise(String File, Int32 maxGrabDays) at MediaPortal.EPG.WebEPG.Import() at TvEngine.WebEPGImport.ThreadFunctionImportTVGuide(Object aparam)[/CODE] Anybody has any idea why? Thank you in advance. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Submit: EPG-Grabbers and tuningdetails
Archive
new WebEPG grabber for IT tv -> error
Contact us
RSS
Top
Bottom