<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 19 Oct 2020 at 09:15, Peter Carlsson <<a href="mailto:maillist.peter@home.se">maillist.peter@home.se</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello!<br>
<br>
I have been using <a href="http://xmltv.xmltv.se/channels.xml.gz" rel="noreferrer" target="_blank">http://xmltv.xmltv.se/channels.xml.gz</a> and the<br>
tv_grab_se_swedb grabber for a long time and it has been working great.<br>
<br>
Unfortunately, they have decided to only provide data for 3 days instead<br>
of 14 days.<br>
<br>
I have written a script that fetch the information from web pages and<br>
generates the channels.xml.gz with all necessary information.<br>
<br>
I would now like to make mythfilldatabase use my local files to update<br>
MythTV with EPG data.<br>
<br>
Is there a special grabber that I should use in this case?<br>
<br>
Best regards,<br>
Peter Carlsson<br>
_______________________________________________<br><br></blockquote><div>I use Schedules Direct which is bundled with xmltv I believe. It's a subscription service which I kicked back at a bit initially but it's been a good for the UK and it's a fairly small amount. It seems to cover Sweden.</div><div><br></div><div>I went to it when the free Radio Times feed was discontinued in the UK. Fairly easy to set up (run it with the config option) - and this is the command I use to generate an xml EPG data file.</div><div><br></div><div>tv_grab_zz_sdjson --config-file ~/.xmltv/tv_grab_zz_sdjson.conf --output ~/sd_listing.xml 2>/dev/null </div><div><br></div><div>I generate one file containing all channels and then I run the following for each source.</div><div><br></div><div>/usr/local/bin/mythfilldatabase --only-update-guide --file --sourceid n --xmlfile ~/sd_listing.xml 2>/dev/null (where n= source id)<br></div><div><br></div><div>I get missing channel errors for sources that don't have all channels available but that doesn't seem to cause a problem.</div><div><br></div><div>The hardest thing is looking up the channel xmltvids. If there's an easy way please let me know.</div><div><br></div><div>The way I do it is to initially accept all channels in the config setup and run the grabber. Then scan through the generated file to look up the ids for the channels you want to include. All the channel data is at the start of the file.</div><div><br></div><div>Then I have an excel spreadsheet and a mysql script to manually update the database.</div><div><br></div><div>Finally you can run the xmltv config again and select just the channels you want or manually edit the file to change = to != for those you don't want.</div><div><br></div><div><br></div><div>HTH</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div></div>