<div dir="ltr">I also have that table in csv format if you are interested.<div><br></div><div>And I have downloaded and tweaked the channel logos from <a href="http://www.freeviewnz.tv/tvguide/channels">http://www.freeviewnz.tv/tvguide/channels</a> if you are interested in these.</div><div><br></div><div>I was not sure of the rules about attachments on this mailing list, so I haven't attached anything.</div><div><br></div><div>R</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 31 August 2016 at 10:53, Rory Grant <span dir="ltr"><<a href="mailto:rorzer@gmail.com" target="_blank">rorzer@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><p dir="ltr">I'm not a developer, and I've got schedules direct up and running on my Ubuntu 16.04 system.</p>
<p dir="ltr">Steps:</p><p><b>0. Back everything up first!</b></p>
<p dir="ltr"><b>1. Sign up for an accoun</b>t on <a href="http://www.schedulesdirect.org" target="_blank">www.schedulesdirect.org</a> and follow the instructions linked to above to get your 90 day voucher.</p>
<p dir="ltr"><b>2. Install xmltv 0.5.68-1 from Debian Sid</b> from here <a href="https://packages.debian.org/sid/xmltv" target="_blank">https://packages.debian.org/si<wbr>d/xmltv</a> . There are 4 .deb packages you need: xmltv, libxmltv-perl, xmltv-gui, xmltv-util.</p><p> Download these into a new folder, open a terminal, cd to that folder and install them with "<font face="monospace, monospace">dpkg -i *.deb</font>"</p><p><b>3. Verify that the Schedules direct JSON module is now a recognised grabber:</b></p><p><font face="monospace, monospace">tv_find_grabbers|grep json<br></font></p><p><br></p><p>should return:</p><p><font face="monospace, monospace">/usr/bin/tv_grab_sd_json|<wbr>Schedules Direct JSON API<br></font></p><p><br></p><p><b>4. configure your Schedules direct grabber</b></p><p><font face="monospace, monospace">tv_grab_sd_json --configure<br></font></p><p>Follow the on screen prompts. I chose to use a "channels" config, rather than a "lineup" config because I wanted a more fine-grained control over my listings. I don't know whether this is worthwhile or not. YMMV.</p><p>This creates a .conf file in your ~/.xmltv folder</p><p>For convenience, I then created a symbolic link to this file in my .mythtv folder</p><p><font face="monospace, monospace">ln -s ~/.xmltv/tv_grab_sd_json.conf ~/.mythtv/SchedulesDirect.<wbr>xmltv</font></p><p>The name of the link should match the name of the Video Source that you set up in step 5 below.</p><p>In the end, I created two links in .mythtv and two Video Sources - one for my DVB-T feed, and one for my DVB-S feed. This allows for different channel configs between satellite and terrestrial.</p><p><br></p><p><b>5. Add new video source(s) in mythtv-setup</b></p><p>Set the "listings grabber" field to "Schedules Direct JSON API (xmltv)"</p><p>You also need a unique video source name that matches the symbolic link name that you created in step 4 above. Do not click configure. Do not check the "use EIT" box.</p><p><br></p><p><b>6. Input connections </b></p><p>Connect your existing capture cards to the video sources that you just created. You should not need to scan for new channels or do any other configuration here. Do not fetch channels from listing source.</p><p><br></p><p><b>7. Channel editor.</b></p><p>I managed to delete all of my channels and had to do a full channel scan on both my satellite tuners and my HDHomeRun (sigh).</p><p>It would be better to edit your existing channels to include the Schedules Direct channel IDs. Again, there may be a better way of doing it, but I edited each channel one by one.</p><p>You need to enter the Schedules Direct Channel ID in the "XMLTV ID:" field.</p><p>You can get this info by running </p><p><font face="monospace, monospace">tv_grab_sd_json | grep -A1 '<channel id="' > output.txt<br></font></p><p>Or, you can use the handy table that I've compiled already:</p><table border="0" cellpadding="0" cellspacing="0" width="674" style="border-collapse:collapse;width:506pt">
<colgroup><col width="380" style="width:285pt">
<col width="222" style="width:167pt">
<col width="72" style="width:54pt">
</colgroup><tbody><tr height="20" style="height:15pt">
<td height="20" width="380" style="height:15pt;width:285pt"><b>XMLTV ID</b></td>
<td width="222" style="border-left:none;width:167pt"><b>Display Name</b></td>
<td width="72" style="border-left:none;width:54pt"><b>#</b></td>
</tr>
<tr height="20" style="height:15pt">
<td height="20" style="height:15pt;border-top:none"><a href="http://INZ406723.json.schedulesdirect.org" target="_blank">INZ406723.json.<wbr>schedulesdirect.org</a></td>
<td style="border-top:none;border-left:none">TV ONE</td>
<td align="right" style="border-top:none;border-left:none">001</td>
</tr>
<tr height="20" style="height:15pt">
<td height="20" style="height:15pt;border-top:none"><a href="http://INZ406725.json.schedulesdirect.org" target="_blank">INZ406725.json.<wbr>schedulesdirect.org</a></td>
<td style="border-top:none;border-left:none">TV2</td>
<td align="right" style="border-top:none;border-left:none">002</td>
</tr>
<tr height="20" style="height:15pt">
<td height="20" style="height:15pt;border-top:none"><a href="http://INZ406726.json.schedulesdirect.org" target="_blank">INZ406726.json.<wbr>schedulesdirect.org</a></td>
<td style="border-top:none;border-left:none">TV3</td>
<td align="right" style="border-top:none;border-left:none">003</td>
</tr>
<tr height="20" style="height:15pt">
<td height="20" style="height:15pt;border-top:none"><a href="http://INZ431675.json.schedulesdirect.org" target="_blank">INZ431675.json.<wbr>schedulesdirect.org</a></td>
<td style="border-top:none;border-left:none">Bravo</td>
<td align="right" style="border-top:none;border-left:none">004</td>
</tr>
<tr height="20" style="height:15pt">
<td height="20" style="height:15pt;border-top:none"><a href="http://INZ406728.json.schedulesdirect.org" target="_blank">INZ406728.json.<wbr>schedulesdirect.org</a></td>
<td style="border-top:none;border-left:none">Maori Television</td>
<td align="right" style="border-top:none;border-left:none">005</td>
</tr>
<tr height="20" style="height:15pt">
<td height="20" style="height:15pt;border-top:none"><a href="http://INZ430333.json.schedulesdirect.org" target="_blank">INZ430333.json.<wbr>schedulesdirect.org</a></td>
<td style="border-top:none;border-left:none">TVONE +1</td>
<td align="right" style="border-top:none;border-left:none">006</td>
</tr>
<tr height="20" style="height:15pt">
<td height="20" style="height:15pt;border-top:none"><a href="http://INZ431132.json.schedulesdirect.org" target="_blank">INZ431132.json.<wbr>schedulesdirect.org</a></td>
<td style="border-top:none;border-left:none">TV2 +1</td>
<td align="right" style="border-top:none;border-left:none">007</td>
</tr>
<tr height="20" style="height:15pt">
<td height="20" style="height:15pt;border-top:none"><a href="http://INZ406735.json.schedulesdirect.org" target="_blank">INZ406735.json.<wbr>schedulesdirect.org</a></td>
<td style="border-top:none;border-left:none">TV3 PLUS 1</td>
<td align="right" style="border-top:none;border-left:none">008</td>
</tr>
<tr height="20" style="height:15pt">
<td height="20" style="height:15pt;border-top:none"><a href="http://INZ431676.json.schedulesdirect.org" target="_blank">INZ431676.json.<wbr>schedulesdirect.org</a></td>
<td style="border-top:none;border-left:none">Bravo Plus 1</td>
<td align="right" style="border-top:none;border-left:none">009</td>
</tr>
<tr height="20" style="height:15pt">
<td height="20" style="height:15pt;border-top:none"><a href="http://INZ410759.json.schedulesdirect.org" target="_blank">INZ410759.json.<wbr>schedulesdirect.org</a></td>
<td style="border-top:none;border-left:none">Prime NZ</td>
<td align="right" style="border-top:none;border-left:none">010</td>
</tr>
<tr height="20" style="height:15pt">
<td height="20" style="height:15pt;border-top:none"><a href="http://INZ431295.json.schedulesdirect.org" target="_blank">INZ431295.json.<wbr>schedulesdirect.org</a></td>
<td style="border-top:none;border-left:none">The Edge TV</td>
<td align="right" style="border-top:none;border-left:none">011</td>
</tr>
<tr height="20" style="height:15pt">
<td height="20" style="height:15pt;border-top:none"><a href="http://INZ429922.json.schedulesdirect.org" target="_blank">INZ429922.json.<wbr>schedulesdirect.org</a></td>
<td style="border-top:none;border-left:none">Choice TV</td>
<td align="right" style="border-top:none;border-left:none">012</td>
</tr>
<tr height="20" style="height:15pt">
<td height="20" style="height:15pt;border-top:none"><a href="http://INZ431540.json.schedulesdirect.org" target="_blank">INZ431540.json.<wbr>schedulesdirect.org</a></td>
<td style="border-top:none;border-left:none">DUKE</td>
<td align="right" style="border-top:none;border-left:none">013</td>
</tr>
<tr height="20" style="height:15pt">
<td height="20" style="height:15pt;border-top:none"><a href="http://INZ431179.json.schedulesdirect.org" target="_blank">INZ431179.json.<wbr>schedulesdirect.org</a></td>
<td style="border-top:none;border-left:none">Te Reo</td>
<td align="right" style="border-top:none;border-left:none">015</td>
</tr>
<tr height="20" style="height:15pt">
<td height="20" style="height:15pt;border-top:none"><a href="http://INZ431268.json.schedulesdirect.org" target="_blank">INZ431268.json.<wbr>schedulesdirect.org</a></td>
<td style="border-top:none;border-left:none">Al Jazeera NZ</td>
<td align="right" style="border-top:none;border-left:none">016</td>
</tr>
<tr height="20" style="height:15pt">
<td height="20" style="height:15pt;border-top:none"><a href="http://INZ431677.json.schedulesdirect.org" target="_blank">INZ431677.json.<wbr>schedulesdirect.org</a></td>
<td style="border-top:none;border-left:none">HGTV</td>
<td align="right" style="border-top:none;border-left:none">017</td>
</tr>
<tr height="20" style="height:15pt">
<td height="20" style="height:15pt;border-top:none"><a href="http://INZ430670.json.schedulesdirect.org" target="_blank">INZ430670.json.<wbr>schedulesdirect.org</a></td>
<td style="border-top:none;border-left:none">Firstlight</td>
<td align="right" style="border-top:none;border-left:none">026</td>
</tr>
<tr height="20" style="height:15pt">
<td height="20" style="height:15pt;border-top:none"><a href="http://INZ431608.json.schedulesdirect.org" target="_blank">INZ431608.json.<wbr>schedulesdirect.org</a></td>
<td style="border-top:none;border-left:none">Hope Channel</td>
<td align="right" style="border-top:none;border-left:none">027</td>
</tr>
<tr height="20" style="height:15pt">
<td height="20" style="height:15pt;border-top:none"><a href="http://INZ406728.json.schedulesdirect.org" target="_blank">INZ406728.json.<wbr>schedulesdirect.org</a></td>
<td style="border-top:none;border-left:none">Parliament TV</td>
<td align="right" style="border-top:none;border-left:none">031</td>
</tr>
<tr height="20" style="height:15pt">
<td height="20" style="height:15pt;border-top:none"><a href="http://INZ431075.json.schedulesdirect.org" target="_blank">INZ431075.json.<wbr>schedulesdirect.org</a></td>
<td style="border-top:none;border-left:none">Canterbury Television</td>
<td align="right" style="border-top:none;border-left:none">040</td>
</tr>
<tr height="20" style="height:15pt">
<td height="20" style="height:15pt;border-top:none"><a href="http://INZ406795.json.schedulesdirect.org" target="_blank">INZ406795.json.<wbr>schedulesdirect.org</a></td>
<td style="border-top:none;border-left:none">Radio NZ National</td>
<td align="right" style="border-top:none;border-left:none">050</td>
</tr>
<tr height="20" style="height:15pt">
<td height="20" style="height:15pt;border-top:none"><a href="http://INZ406796.json.schedulesdirect.org" target="_blank">INZ406796.json.<wbr>schedulesdirect.org</a></td>
<td style="border-top:none;border-left:none">Radio NZ Concert</td>
<td align="right" style="border-top:none;border-left:none">051</td>
</tr>
<tr height="20" style="height:15pt">
<td height="20" style="height:15pt;border-top:none"><a href="http://INZ406797.json.schedulesdirect.org" target="_blank">INZ406797.json.<wbr>schedulesdirect.org</a></td>
<td style="border-top:none;border-left:none">Base FM</td>
<td align="right" style="border-top:none;border-left:none">071</td>
</tr></tbody></table>
<div class="gmail_extra"><br><div class="gmail_quote"><br></div><div class="gmail_quote"><b>8. Fill your boots / database</b></div><div class="gmail_quote"><br></div><div class="gmail_quote">close mythtv-setup, restart your backend cross your appendages and run:</div><div class="gmail_quote"><br></div><div class="gmail_quote"><font face="monospace, monospace">mythfilldatabase --dd-grab-all</font></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">All the usual disclaimers apply. I am not an expert, this is simply what has worked for me.</div><div class="gmail_quote"><br></div><div class="gmail_quote">The Schedules Direct data does seem to be of a higher quality, and my recording rules still seem to work. There is no guide data for Shine TV, nor for some of the regional channels such as Dunedin TV.</div><div class="gmail_quote"><br></div><div class="gmail_quote">Anecdotally yours,</div><div class="gmail_quote"><br></div><div class="gmail_quote">Rory</div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><div><div class="h5">On 30 Aug 2016 2:06 p.m., "Robert Fisher" <<a href="mailto:robert@fisher.net.nz" target="_blank">robert@fisher.net.nz</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="h5"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 30 August 2016 at 10:02, Tony Sauri <span dir="ltr"><<a href="mailto:hoiho.nz@gmail.com" target="_blank">hoiho.nz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Sorry<br>
I left the following links out of my prior messages<br>
<br>
<a href="https://www.mythtv.org/wiki/Migrating_to_Schedules_Direct_in_the_UK" rel="noreferrer" target="_blank">https://www.mythtv.org/wiki/Mi<wbr>grating_to_Schedules_Direct_in<wbr>_the_UK</a><br>
<a href="https://www.mythtv.org/wiki/Setup_Video_Sources" rel="noreferrer" target="_blank">https://www.mythtv.org/wiki/Se<wbr>tup_Video_Sources</a><br>
<br>
As I said before these links will probably be helpful and provide clues<br>
about what to do next to people who have some development experience.</blockquote><div><br></div><div class="gmail_quote" style="font-size:12.8px">It would be great (for people like me without the development experience) if someone could test and confirm that those Wiki posts are appropriate for us.</div><div><img src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif" style="line-height:6px;font-size:12.8px"> </div></div><br><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature">Robert Fisher<br></div>
</div></div>
<br></div></div><span class="">______________________________<wbr>_________________<br>
mythtvnz mailing list<br>
<a href="mailto:mythtvnz@lists.linuxnut.co.nz" target="_blank">mythtvnz@lists.linuxnut.co.nz</a><br>
<a href="http://lists.ourshack.com/mailman/listinfo/mythtvnz" rel="noreferrer" target="_blank">http://lists.ourshack.com/mail<wbr>man/listinfo/mythtvnz</a><br>
Archives <a href="http://www.gossamer-threads.com/lists/mythtv/mythtvnz/" rel="noreferrer" target="_blank">http://www.gossamer-threads.co<wbr>m/lists/mythtv/mythtvnz/</a><br>
<br></span></blockquote></div></div>
</div>
</blockquote></div><br></div>