Yes, and thanks!  As it turned out I'm a complete blockhead. For some
obscure reason I've experimented with my TV_CHANNELS setup, which was the
culprit. Now it works great :-)=  

Thanks for the coding info, I'll add that, and also parsing of the
xmlt_*_conf file so that you can choose which channels to grab.

Btw, I'm modifying a swedish multi-headed channel grabber to xmltv-ishness,
together with a couple of guys who sort of knows what I'm doing :)

Brb when done.
/PS

-----Ursprungligt meddelande-----
Från: James Oakley [mailto:[EMAIL PROTECTED]
Skickat: den 3 februari 2004 07:49
Till: [EMAIL PROTECTED]
Ämne: Re: SV: [Freevo-devel] xmltv question


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sorry I took a while to respond, but I was a bit busy.

On January 29, 2004 05:14 am, Peter Svensson wrote:
> OK. here's the perl app and the resulting TV.xml.
> Some notes;
>
> The xmltv module used is (it says) compatible with MythTV, but only if
> "recode latin1..utf-8 /tmp/TV.xml" is used. Possibly one could add some
> xmltv tag to make it parse anyway, I dunno. I use recode to get freevo to
> swallow it as well.

You don't need recode at all. The proper fix is to define the character set.
I 
also recommend the XMLTV metadata::

  <?xml version="1.0" encoding="iso-8859-1"?>
  <!DOCTYPE tv SYSTEM "xmltv.dtd">
  <tv date="20040302000000 -0300"
      source-info-url="http://source_website";
      source-info-name="Source Name"
      generator-info-name="tvguide"
      generator-info-url="http://generator_website";>

If, after doing this, a parser chokes, there is a bug in the parser.

You'll also find that Freevo and MythTV will handle the data fine after 
defining the character set as above. (I only tested Freevo, though) The
Expat 
parser used by xmltv.py performs minimal validation while parsing and will 
stop if it finds an error.

Hope that helps,

- -- 
James Oakley
[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAH0RsKtn0F7+/lLMRAusnAJoCoup24k1spQ3YSbBEif/pJILT7wCcDz72
1ldZ71XM7MtNQdGZEN1WRM0=
=zoqT
-----END PGP SIGNATURE-----



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to