[mythtv] Question about xmltv and mythtv
jyavenard at gmail.com
Wed Mar 26 01:12:46 UTC 2008
On Wed, Mar 26, 2008 at 11:58 AM, Dean Harding
<dean.harding at dload.com.au> wrote:
> By the way, I would definitely suggest using some kind of XML library
> for generating the XML content, rather than just
> "print('<xml>blah</xml>')" or whatever -- there'd be one for pretty much
> every language imaginable, I would think.
> The rules for what needs to be escaped an so on can be quite complex --
> using a library would alleviate the need for you to know those rules
Yeah, I like suffering.
I wanted to get myself knowledgeable in python and wrote this xmltv
program in python.
I will look into an xml library.
I have just run my program on a live stream (which contains pretty
much the same data as the previous one, but starting a day later and
finishing a day later too), and when I run mythfilldatabase it gives
me the error
2008-03-26 12:01:45.481 DB Error (program insert):
INSERT INTO program
JOURNAL','','Le journal de la rédaction de
Driver error was [2/1062]:
QMYSQL3: Unable to execute query
Database error was:
Duplicate entry '2328-2008-03-30 11:30:00-0' for key 1
More information about the mythtv-dev