ice tv/web scheduler help please

Started by bobsie, January 07, 2008, 06:50:33 AM

Previous topic - Next topic

bobsie

Hi there,

Can't get IceTv/Web Scheduler to work together properly.  I can get Web Scheduler to work with free EPG.

When I attempt to load IceTV listings I get the following message - can anyone give me clues about what it could be? Thanks.

*Loading Data Please Wait...*

About to load XMLTV Data from http://iceguide.icetv.com.au/cgi-bin/epg/iceguide.cgi?op=xmlguide&days=10


*There was an error loading the XMLTV Data!*

org.xml.sax.SAXParseException: Content is not allowed in prolog.
    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
    at GuideStore.loadXMLdata(GuideStore.java:662)
    at GuideStore.loadXMLTV(GuideStore.java:386)
    at EpgDataRes.reloadXMLTVdata(EpgDataRes.java:1842)
    at EpgDataRes.getResponse(EpgDataRes.java:36)
    at HTTPRequest.sendResponseData(HTTPRequest.java:83)
    at RequestObject.run(RequestObject.java:135)
    at java.lang.Thread.run(Unknown Source)

charlesc

I had this problem.  It appears that the info in the xmltv file at the top causes the crash.  This includes the copyright information.

If you edit out the first part of the file by deleting it, so that <tv date=  is now at the top of the file, it will be used by DVB WebScheduler correctly.

Orig file:-
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE tv SYSTEM "http://iceguide.icetv.com.au/iceguide/iceguide.dtd">
<!--
This data is copyright (c) 2005-2008 IceTV Pty. Ltd. and may not be used for
any purpose without written permission. For information email icetvsupport@icetv.com.au
or visit http://www.icetv.com.au
-->
<tv date="20080515023114" source-info-url="http://www.icetv.com.au" source-info-name="IceTV Pty. Ltd." generator-info-name="IceTV Pty. Ltd." generator-info-url="http://www.icetv.com.au">
   <ice-xml-version>2.1</ice-xml-version>


Edited file:-
<tv date="20080515023114" source-info-url="http://www.icetv.com.au" source-info-name="IceTV Pty. Ltd." generator-info-name="IceTV Pty. Ltd." generator-info-url="http://www.icetv.com.au">
   <ice-xml-version>2.1</ice-xml-version>