IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Tvharvest Listing.xml Parse Error
gshcarter
post Sep 22 2005, 09:16 PM
Post #1


Forum Regular


Group: Members
Posts: 426
Joined: 9-December 03
From: Manning Valley, NSW
Member No.: 316
Card: DNTV TinyTwin USB


Lately when I try to import listing.xml into WS it's unsuccessful. The log shows something similar to this:

QUOTE
java.text.ParseException: Unparseable date: "20050929060000 "
at java.text.DateFormat.parse(Unknown Source)
at GuideStore.parseDate(GuideStore.java:577)
at GuideStore.parseProgram(GuideStore.java:652)
at GuideStore.recurseXMLData(GuideStore.java:400)
at GuideStore.loadXMLdata(GuideStore.java:110)
at DataStore.loadXMLTV(DataStore.java:1038)
at EpgDataRes.reloadXMLTVdata(EpgDataRes.java:2338)
at EpgDataRes.getResponse(EpgDataRes.java:45)
at HTTPrequest.sendResponseData(HTTPrequest.java:85)
at RequestObject.run(RequestObject.java:96)
at java.lang.Thread.run(Unknown Source)
over and over. I wonder what's changed. Here's the beginning of a recent listing.xml if it helps:

QUOTE
<?xml version="1.0" standalone="yes"?>
<NewDataSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tempuri.org/listings.xsd">
<tv date="Wednesday, 28 September 2005">
<channel id="Channel Nine Sydney">
<display-name>Channel Nine Sydney</display-name>
</channel>
<channel id="ABC NSW">
<display-name>ABC NSW</display-name>
</channel>
<channel id="ABC2">
<display-name>ABC2</display-name>
</channel>
<channel id="Channel Seven Sydney">
<display-name>Channel Seven Sydney</display-name>
</channel>
<channel id="Network TEN Sydney">
<display-name>Network TEN Sydney</display-name>
</channel>
<channel id="SBS News">
<display-name>SBS News</display-name>
</channel>
<channel id="SBS Sydney">
<display-name>SBS Sydney</display-name>
</channel>
<programme start="20050919060000 " stop="20050919090000 " channel="Channel Nine Sydney">
<title>Today</title>
<desc>Tracy Grimshaw and Karl Stefanovic, with Sharyn Ghidella and Richard Wilkins, present news, current affairs, sport, politics and reports from the realms of entertainment, fashion, health and food.</desc>
</programme>
<programme start="20050919060000 " stop="20050919062500 " channel="ABC NSW">
<title>Thunderstone</title>
<desc />
<rating system="ABA">
<value>G</value>
</rating>
</programme>
<programme start="20050920014000 " stop="20050920062500 " channel="ABC2">
<title>Station Close</title>
<desc />
</programme>
<programme start="20050919060000 " stop="20050919090000 " channel="Channel Seven Sydney">
<title>Sunrise</title>
<desc>Have breakfast with David Koch and Melissa Doyle as they present the top news stories of the day along with sport, weather, business and finance updates.</desc>
</programme>
<programme start="20050919060000 " stop="20050919063000 " channel="Network TEN Sydney">
<title>Totally Wild</title>
<desc>See the natural beauty of Australia's native flora and fauna.</desc>
<rating system="ABA">
<value>G</value>
</rating>


and so on.


--------------------
Go to the top of the page
 
+Quote Post
null_pointer
post Sep 23 2005, 06:12 AM
Post #2


Web Scheduler Developer


Group: Developers
Posts: 4,495
Joined: 9-July 03
From: Melb
Member No.: 9
Card: None


you need to add the time zone offset to the TVharvet config options os the output had the +1000 etc value in the time stamps, WS needs this now.
Go to the top of the page
 
+Quote Post
gshcarter
post Sep 24 2005, 05:39 PM
Post #3


Forum Regular


Group: Members
Posts: 426
Joined: 9-December 03
From: Manning Valley, NSW
Member No.: 316
Card: DNTV TinyTwin USB


QUOTE (null_pointer @ Sep 23 2005, 06:12 AM) *
you need to add the time zone offset to the TVharvet config options os the output had the +1000 etc value in the time stamps, WS needs this now.


Ah, of course. I did a re-install and used an old backup config. Thanks null.


--------------------
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st March 2019 - 09:56 AM