[Index] [TitleIndex] [WordIndex

UK listings

The following works with bleb.org/tv's listings as of October 2006:

# Get yesterday's, and the following weeks' listings in XMLTV format
#
OWNER=freevo
DAYS=0,1,2
BASE_URL='http://bleb.org/tv/data/listings'
FORMAT=XMLTV
FILE=bzip2

CHANNELS=`perl -pe 's/\\n/,/; s/\+/%2b/' </home/$OWNER/.xmltv/tv_grab_uk_bleb.conf`
wget -U "Freevo Listing for $USER" -O '/tmp/TV.xml.bz2' "$BASE_URL?days=$DAYS&format=$FORMAT&file=$FILE&channels=$CHANNELS"

rm -f /tmp/TV.xml
bunzip2 /tmp/TV.xml.bz2

cd /usr/lib/python2.4/site-packages/freevo
su -c "freevo execute tv/epg_xmltv.py" $OWNER

2014-02-15 05:47