View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: XMLTV
PostPosted: Sun Dec 07, 2003 6:59 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
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

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
PostPosted: Fri Mar 05, 2004 2:30 am 
Offline
Joined: Tue Feb 24, 2004 5:48 am
Posts: 10
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.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 12, 2004 1:39 pm 
Offline
Joined: Sun Jul 11, 2004 4:56 am
Posts: 13
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?


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 29, 2006 3:53 pm 
Offline
Joined: Tue Nov 29, 2005 8:22 am
Posts: 17
Location: UK
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?


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu