PDA

View Full Version : My TVGuide Script  (UK) - Needs Some Work


carlosp_uk
2004-04-14, 00:36
i wrote my first python script today! *inspired by alx5962 and darkie, i made this tv guide script for the uk. *it grabs the guide data for uk television from the internet and displays it with a channel logo and full program descriptions.

i adapted some code from you guys, hope this is ok.

download here (http://www.fatattitude.com/software/tvguide-uk-v1.zip)

need your help
============
it needs a little work, as it's not that stable. can anyone help with it? *i think it might be untrapped errors when trying to download the web-page. *occasionally it just freezes up when you change channels.

ent
2004-04-14, 11:56
i tried it, but it just seemed to hang my xbox every time i tried. had to reboot.

carlosp_uk
2004-04-14, 14:52
that's odd, it works fine on mine. *do you have your internet settings and dns configured in your dashboard? *(i.e. do other python scripts that access the net work?)

anybody else have any problems with it? (or able to get it to work)

kaisersose
2004-04-14, 19:11
works fine me, great work!

see can you add some irish channels :)
rte1, network 2, tv3 if its not too hard:)

thanx anyways

ent
2004-04-15, 03:34
got it to work, it's real nice. just need some help though, i've been trying to edit it a little to read an australian xml file, i've got all but the time working. the time is listed in this format in the xml i'm using:
<programme start="20040415060000 +1000" stop="20040415090000 +1000" channel="channel seven melbourne">

yes it's very ugly, but the time when it starts is in bold. any ideas how to get just that bit out of the tag, or would it require a bit more of a rewrite because the time is actually inside the tag. thanks in advance.

aggallim
2004-04-15, 13:10
works ace for me :d . does the job seen as i only have terestrial anyhow!

thanks
aaron

joel
2004-04-15, 14:53
works well :d