LinHES Forums

Page 1 of 1

Author:  cesman [ Sun Dec 07, 2003 6:59 pm ]
Post subject:  XMLTV

If you move, or are having trouble getting the initial listing, I suggest:
rm -fr /home/mythtv/.mythtv/*.xmltv
rm -fr /home/mythtv/.mythtv/channels
Run mythtv-setup
Answer yes to removing program info....
Perform steps 3 and 4.
Then as root

Author:  martynah [ Fri Mar 05, 2004 2:30 am ]
Post subject:  Replacement for tv_grab_uk / tv_grab_uk_rt

If you're in the UK, try this as an alternative, and VERY FAST tv guide update for myth in the UK. It uses Andrew Flegg's epg site (, and guess what, he makes a pre-cut XMLTV format guide for download, so no web-site scraping needed!

No nice menus etc, and BBC3, BBC4 are missing if you're a DVB viewer, but hey, who watches them anyway!

(I run this on a cron, it's a scrappy shell script., but it works, if you can do better, then post it, it is a thousand times faster than tv_grab_uk_rt which is all we uk folks have at present. - takes 10 seconds max to update 5 days listings, with full epg info too.)

See for how to change the wget below to grab the channels you want.

Andrew, if you're reading this thanks.

echo "-Remove old data.xml file if it exists..."
rm /tmp/data.xml >nul
echo "-Download updated listings from"
wget -q -O /tmp/ ",bbc2,itv1,itv2,ftn,ch4,five&file=zip" >nul
echo "-Uncompress.."
cd /tmp
unzip /tmp/ >nul
echo "-Update MythTV.."
mythfilldatabase --file 1 -1 /tmp/data.xml >nul

As always back up your mythconverg db before trying this, it worked for me, but YMMV.


Author:  Grelber [ Mon Jul 12, 2004 1:39 pm ]
Post subject: 

hi - this post was a great help. I managed to get the listings into mythtv using your script. thanks!

but when i bring up the program guide, it's blank, although i can find programs by searching.

any ideas why they're not showing up in the guide?

Author:  hoki_goujons [ Mon May 29, 2006 3:53 pm ]
Post subject: 

but when i bring up the program guide, it's blank, although i can find programs by searching.

Probably a noob question, did you sort this?

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group