View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Mar 12, 2007 1:36 am 
Offline
Joined: Thu Oct 20, 2005 5:43 pm
Posts: 134
I notice it is showing the Countdown spectacular at 8:30, for example, when the ABC site shows it as 9:30.

I know there is a one hour daylight savings difference between QLD and NSW, but all my other shows, from the same Oztivo schedule, are correct.

Is there any way in Myth to offset the time of just one channel?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 12, 2007 6:38 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Yes I have noticed it. Rather than using a grabber, I have a script that I run to download the oztivo data which does something like this:
Code:
cd /tmp
rm -f /tmp/xmltvAdelaide.zip* xmltv*.xml
wget -O xmltv.xml --http-user=username --http-passwd=password \
    "http://minnie.tuhs.org/tivo-bin/xmlguide.pl"

It then does a series of search and replace commands on the downloaded file to set the xmltvids. My set of commands has evolved over time based on the evolution of grabbers I had been using, so some of the replacements may now be redundant, but here they all are anyway (notice that I have replacements on the ABC2 channel for doing a half hour time adjustment). It then just runs mythfilldatabase manually to insert the data:
Code:
cat xmltv.xml |
  sed 's/ABC[- ]SA/abcsa.free.au/g' |
  sed 's/"ABC"/"abcsa.free.au"/g' |
  sed 's/Channel Nine Adelaide/channelnineadelaide.free.au/g' |
  sed 's/"Nine"/"channelnineadelaide.free.au"/g' |
  sed 's/Nine-SA/channelnineadelaide.free.au/g' |
  sed 's/SBS News/news.sbs.com.au/g' |
  sed 's/SBS-NEWS/news.sbs.com.au/g' |
  sed 's/Channel Seven Adelaide/channelsevenadelaide.free.au/g' |
  sed 's/"Seven"/"channelsevenadelaide.free.au"/g' |
  sed 's/Seven-SA/channelsevenadelaide.free.au/g' |
  sed 's/Network TEN Adelaide/networktenadelaide.free.au/g' |
  sed 's/"Ten"/"networktenadelaide.free.au"/g' |
  sed 's/Ten-SA/networktenadelaide.free.au/g' |
  sed 's/ABC2/abc2.abc.gov.au/g' |
  sed 's/SBS[- ]SA/sbssa.free.au/g' |
  sed '/channel="abc2.abc.gov.au"/s/" stop="/ -0030" stop="/g' |
  sed '/channel="abc2.abc.gov.au"/s/" channel="/ -0030" channel="/g' |
  cat > xmltv2.xml

mythfilldatabase --file 1 1 xmltv2.xml


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 12, 2007 3:15 pm 
Offline
Joined: Thu Oct 20, 2005 5:43 pm
Posts: 134
I think you just saved me a deal of work. Thank you.


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: Bing [Bot] and 8 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:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu