[mythtv-users] DVB-T Radio UK Programme Guide
Neil Bird
neil at fnxweb.com
Mon Feb 12 12:50:28 UTC 2007
Around about 08/02/07 10:33, John Pilkington typed ...
> Is there a similar MythTV compatible service for radio channels? They
> aren't listed in the Radio Times site's channels.dat, or in channel_ids.
I fetch my listings for TV from the RT site, then merge in the next
week's radio from Bleb (for a few core stations; the rest I leave set to
use EIT).
/home/mythtv/etc/tv_grab_uk_bleb.conf:
bbc7
bbc_6music
bbc_radio1
bbc_radio1_xtra
bbc_radio2
bbc_radio3
bbc_radio4
bbc_radio5_live
bbc_radio5_live_sports_extra
run-fill:
#!/bin/bash
echo "+++ UK Bleb +++" > /tmp/tv_grab_uk_bleb.out
echo "+++ mythfilldatabase 1 +++" > /tmp/mythfilldatabase1.out
echo "+++ mythfilldatabase 2 +++" > /tmp/mythfilldatabase2.out
# Get radio
nice tv_grab_uk_bleb --config-file /home/mythtv/etc/tv_grab_uk_bleb.conf
--output /home/mythtv/etc/bleb.xml \
1>>/tmp/tv_grab_uk_bleb.out 2>&1 && \
nice mythfilldatabase --update --file 3 -1
/home/mythtv/etc/bleb.xml --no-delete 1>>/tmp/mythfilldatabase1.out 2>&1
sleep 30
# Get TV
nice mythfilldatabase --no-delete 1>>/tmp/mythfilldatabase2.out 2>&1
# Cope with rubbish
mysql -u mythtv --password=xxx mythconverg -e "delete from program where
starttime > '2015-01-01 00:00:00';"
# Sortout logs
cat /tmp/tv_grab_uk_bleb.out /tmp/mythfilldatabase1.out
/tmp/mythfilldatabase2.out | \
nice bzip2 > /var/log/mythtv/mythfilldatabase.log.bz
/bin/rm -f /tmp/tv_grab_uk_bleb.out /tmp/mythfilldatabase1.out
/tmp/mythfilldatabase2.out
More information about the mythtv-users
mailing list