> However then when trying to run it like this:
> # tv_grab_uk_tvguide
>
> I get the error:
> spawn: XMLTV::Supplement: Failed to read from /home/osmc/.xmltv/supplement/tv_grab_uk_tvguide/tv_grab_uk_tvguide.map.conf
>
> So I moved (and renamed) tv_grab_uk_tvguide.conf to…
> /home/osmc/.xmltv/supplement/tv_grab_uk_tvguide/tv_grab_uk_tvguide.map.conf
That was not the right thing to do.
Move the file back to .xmltv/tv_grab_uk_tvguide.conf, then:
touch .xmltv/supplement/tv_grab_uk_tvguide/tv_grab_uk_tvguide.map.conf
> I'm not really sure how to use that .conf file. I did some googling but got confusing man pages that are all the same.
man pages? you won't find the answer there.
There's a shortcut to changing the config file. The file contains line like:
channel!1119
channel=112
Which simply means ignore channel 1119, get epg for channel 112. Where do the numbers come from?
If you look at the tvguide.co.uk site and hover over a channel icon, you'll see a url like this:
https://www.tvguide.co.uk/channellistings.asp?ch=74&cTime=5/11/2020%208:00:00%20AM&thisTime=&thisDay=
the ch=74 is the number used in the config file, so find the channel you want, hover over the icon [or use copy link location],
then look for the channel number in the .conf file and change from channel!xxx to channel=xxx.
The scraper takes several hours to run, and will produce XML output, so you either need to run it from TVH, or redirect the output to a file which you load into TVH.
Yes, it's as slow as a wet week, but it does work.