Tag Archives: pvr config blebscript

blebscript.sh

This is the script I used to download stuff from bleb. Pinched it from USEnet somewhere.

#!/bin/sh
echo “-Remove old data.xml file if it exists…”
rm /tmp/data.xml
echo “-Download updated listings from http://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, ch4, five, bbc3, bbc4, bbc_news24, bravo, discovery, e4, itv2, living_tv, paramount, paramount2, scifi, sky_one, sky_one_mix, tcm, uk_bright_ideas, uk_drama, uk_gold, uk_history, uk_style, uktv_documentary, uktv_people, &file=zip”
echo “-Uncompress..”
cd /tmp
unzip -o /tmp/tvdata.zip
echo “-Update MythTV..”
mythfilldatabase –file 1 -1 /tmp/data.xml

I don’t have to use this any more since they updated xmltv to use the radio times web site again.