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

On July 9, 2003 10:03 am, Aubin Paul wrote:
> Eep. How would we cope with that? Wouldn't the second 'display_name'
> override the first? I'm guessing this won't affect our current
> implementation because we don't use display_name but since I want to
> move to generating the channels automatically without creating a local
> array of entries, it will affect that.
>
> I mean, it's good to have that extra line, but shouldn't it be "tune"
> or something?

It will be in 0.6. 


> The real question is; does xmltv.py as you wrote it give us that?

All elements are returned as lists because they may come up multiple times, 
especially when the XMLTV data contains multiple languages.

for dn in channels['display-name']:
        if len(dn.split()) == 1:
                channelnum = dn
        else:
                display_name = dn

This works for tv_grab_na, but I'm not sure about the other grabbers, yet.

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

iD8DBQE/DJU4Ktn0F7+/lLMRAvi9AKCs8FF3GSpbg+0rXyEfDMYVCSQFWQCfS585
X5hzIX71sZkbPsqHzZNFPhw=
=gpj8
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to