[mythtv-users] DVB-T Radio UK Programme Guide

John Pilkington J.Pilk at tesco.net
Mon Feb 12 17:20:08 UTC 2007


John Pilkington wrote:
> Neil Bird wrote:
>> 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.x> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>
> ml  \
>>                  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
>>
> Neil:  Thanks very much for this.  After I'd sorted out the line breaks 
> that crept into the email it seems to have worked.  I haven't compared 
> the data produced with that from the EIT, but it looks like a useful 
> resource - and the script looks good too.  Much appreciated.
> 
> John Pilkington

I must apologise for corrupting the script above with the myth-users 
signature.  And unfortunately it looks as if the details from bleb (at 
least for Radio-3) are *less* detailed than the EIT stuff.  But thanks 
anyway!


More information about the mythtv-users mailing list