LinHES Forums
http://forum.linhes.org/

XMLTV
http://forum.linhes.org/viewtopic.php?f=3&t=248
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
/etc/cron.daily/mythtv-backend

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

Hi,
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 (www.bleb.org), 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 www.bleb.org/tv/data/listings for how to change the wget below to grab the channels you want.

Andrew, if you're reading this thanks.

#!/bin/sh
echo "-Remove old data.xml file if it exists..."
rm /tmp/data.xml >nul
echo "-Download updated listings from www.bleb.org..."
wget -q -O /tmp/tvdata.zip "http://www.bleb.org/tv/data/listings?days=0..6&format=xmltv&channels=bbc1,bbc2,itv1,itv2,ftn,ch4,five&file=zip" >nul
echo "-Uncompress.."
cd /tmp
unzip /tmp/tvdata.zip >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.

Mart.

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: 

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


Probably a noob question, but...how did you sort this?

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/