LinHES Forums http://forum.linhes.org/ |
|
Any aussies using oztivo notice ABC2 sched. is an hour out? http://forum.linhes.org/viewtopic.php?f=6&t=14551 |
Page 1 of 1 |
Author: | ffrr [ Mon Mar 12, 2007 1:36 am ] |
Post subject: | Any aussies using oztivo notice ABC2 sched. is an hour out? |
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? |
Author: | Greg Frost [ Mon Mar 12, 2007 6:38 am ] |
Post subject: | |
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 |
Author: | ffrr [ Mon Mar 12, 2007 3:15 pm ] |
Post subject: | |
I think you just saved me a deal of work. Thank you. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |