[mythtv-users] mythfilldatabase --file problem

Poul Petersen petersp at MATH.ORST.EDU
Fri Aug 15 23:25:14 EDT 2003


	My mythtv box is setup to dual boot into RH9 and Win2K. I am
currently on vacation and I brought my mythtv box along and thought it
would be fun to see if I could get it to work with the local cable
provider. Because of the way my corporate connection works, I can't get
internet access via the RH side where myth runs. So, I pulled down the
xmltv-0.5.14 binaries for windows and used something like:

xmltv tv_grab_na --configure
<answer questions>
xmltv tv_grab_na > listings.xml

	This took a really *really* long time over the 28.8 connection :)
I then booted into RH and tried to run mythfilldatabase as follows:

mythfilldatabase --file 0 -1 listings.xml

	What I get is a bunch of errors that look like:

Unknown timestamp format: 
QDate::setYMD: Invalid date 0000-00-00
QTime::setHMS Invalid time 22:80:00.000
...

	When I open up the DB, I can see that the channels are all defined
but the program table is completely empty. When I then run MythTV, I can't
change channels. Any thoughts on what I might be doing wrong? I'm running
mythtv-0.10 and xmltv-0.5.14 (both RH and Windows). I did also try
dos2unix'ing the file in case it was a linefeed/carriage return problem.
And the DB was a clean install (at home I use a separate DB server, so I
built a local installaion of mysql for this experiment).

	The listings.xml file looks OK and does seem to have correct
timestamps (here's a snippet:)

  <programme start="20030814060000 -0700" stop="20030814070000 -0700" channel="C5ktvz.zap2it.com">
    <title>Z21 News at Sunrise</title>
    <category>News</category>
    <subtitles type="teletext" />
  </programme>

Thanks,

-poul



More information about the mythtv-users mailing list