Talk:Uk xmltv
From MythTV
how do you go about dealing with plus-1 stations that don't exist in the Radio Times data? i used to run a script that did:
tv_grep \
--channel-id paramountcomedy.com --or \
--channel-id uk.scifi.com --or \
--channel-id uk-drama.flextech.telewest.co.uk --or \
--channel-id realitytv.co.uk --or \
--channel-id travel.sky.co.uk \
/tmp/skydigital.xmltv > /tmp/plus0.xmltv
tv_grep --eval "use XMLTV::DST qw(utc_offset); \${\$_}{start}=utc_offset(DateCalc(\${\$_}{start}, '+1 hour') . ' UTC', '+0000'); if ( \${\$_}{stop} ) { \${\$_}{stop}=utc_offset(DateCalc(\${\$_}{stop}, '+1 hour') . ' UTC', '+0000'); } \${\$_}{channel}='plus1.' . \${\$_}{channel} ; 1 " /tmp/plus0.xmltv > /tmp/plus1.xmltv
mythfilldatabase --file 2 -1 /tmp/plus1.xmltv
but my epg data has stopped working in the last couple of weeks and i'm hunting down why. so YMMV.
