I use WebGrab Plus to get EPG data for TV and radio channels in the UK ... from RadioTimes.com (and a few from TVGuide.co.uk).
This generally works okay (thanks to all those involved) ... but new channels get added, removed or renamed sometimes.
I have downloaded the most recent version of radiotimes.com.channels.xml from the website (http://www.webgrabplus.com/epg-channels) but sometimes I need to edit the XML files ... the config file in particular (of course).
What I would like to know is, how do I find the site_id for a specific channel, which is NOT already listed in radiotimes.com.channels.xml?
Can I get a complete channel list somehow ... to get updated values? Perhaps via the Atlas API?
I added lines like this for radio stations:
<channel update="i" site="radiotimes.com" site_id="52" xmltv_id="BBC Radio 1">BBC Radio 1</channel>
Let's say I want to add a line for the radio station “Smooth Radio”.
How would I find out the value to put in for the site_id?
<channel update="i" site="radiotimes.com" site_id="???" xmltv_id="Smooth Radio">Smooth Radio</channel>
Thanks in advance for any replies.
Thank you for the info and your reply, Blackbear199, it helped!
I got an error message when I tried to follow the instructions at http://www.webgrabplus.com/documentation/configuration/sitechannelsxml.
See the attached log file. I may have made an error or been calling it incorrectly, I am unsure.
However, I saw the URLs in the radiotimes.com.ini file, in the "CHANNEL FILE CREATION" section. Using those URLs, I was able to download the channel lists in JSON format. And then from that I was wable to build a list of all the radio stations etc. (see attached file).
Thanks ... I checked the instructions again.
When I first tried it ... I thought I was supposed to comment out the first section of the INI file so that ONLY the section between the
"** @auto_xml_channel_start"
and
"** @auto_xml_channel_end"
lines should be enabled.
So ... I got it to work by leaving the rest of the file untouched, and just uncommenting the relevant lines in the CHANNEL FILE CREATION section. Then I ran it twice ... one time with
for the TV channels.
And then another time with
for the radio channels.
See the attached files for both lists.
I understood the part about only using either the TV URL or radio URL but not both.