[mythtvnz] Schedules Direct trial for NZ

Rory Grant rorzer at gmail.com
Tue Aug 30 23:56:44 BST 2016


I also have that table in csv format if you are interested.

And I have downloaded and tweaked the channel logos from
http://www.freeviewnz.tv/tvguide/channels if you are interested in these.

I was not sure of the rules about attachments on this mailing list, so I
haven't attached anything.

R

On 31 August 2016 at 10:53, Rory Grant <rorzer at gmail.com> wrote:

> I'm not a developer, and I've got schedules direct up and running on my
> Ubuntu 16.04 system.
>
> Steps:
>
> *0.  Back everything up first!*
>
> *1. Sign up for an accoun*t on www.schedulesdirect.org and follow the
> instructions linked to above to get your 90 day voucher.
>
> *2. Install xmltv 0.5.68-1 from Debian Sid* from here
> https://packages.debian.org/sid/xmltv . There are 4 .deb packages you
> need: xmltv, libxmltv-perl, xmltv-gui, xmltv-util.
>
>    Download these into a new folder, open a terminal, cd to that folder
> and install them with "dpkg -i *.deb"
>
> *3.  Verify that the Schedules direct JSON module is now a recognised
> grabber:*
>
> tv_find_grabbers|grep json
>
>
> should return:
>
> /usr/bin/tv_grab_sd_json|Schedules Direct JSON API
>
>
> *4.  configure your Schedules direct grabber*
>
> tv_grab_sd_json --configure
>
> 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.
>
> This creates a .conf file in your ~/.xmltv folder
>
> For convenience, I then created a symbolic link to this file in my .mythtv
> folder
>
> ln -s ~/.xmltv/tv_grab_sd_json.conf ~/.mythtv/SchedulesDirect.xmltv
>
> The name of the link should match the name of the Video Source that you
> set up in step 5 below.
>
> 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.
>
>
> *5. Add new video source(s) in mythtv-setup*
>
> Set the "listings grabber" field to "Schedules Direct JSON API (xmltv)"
>
> 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.
>
>
> *6. Input connections *
>
> 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.
>
>
> *7. Channel editor.*
>
> 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).
>
> 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.
>
> You need to enter the Schedules Direct Channel ID in the "XMLTV ID:" field.
>
> You can get this info by running
>
> tv_grab_sd_json | grep -A1 '<channel id="' > output.txt
>
> Or, you can use the handy table that I've compiled already:
> *XMLTV ID* *Display Name* *#*
> INZ406723.json.schedulesdirect.org TV ONE 001
> INZ406725.json.schedulesdirect.org TV2 002
> INZ406726.json.schedulesdirect.org TV3 003
> INZ431675.json.schedulesdirect.org Bravo 004
> INZ406728.json.schedulesdirect.org Maori Television 005
> INZ430333.json.schedulesdirect.org TVONE +1 006
> INZ431132.json.schedulesdirect.org TV2 +1 007
> INZ406735.json.schedulesdirect.org TV3 PLUS 1 008
> INZ431676.json.schedulesdirect.org Bravo Plus 1 009
> INZ410759.json.schedulesdirect.org Prime NZ 010
> INZ431295.json.schedulesdirect.org The Edge TV 011
> INZ429922.json.schedulesdirect.org Choice TV 012
> INZ431540.json.schedulesdirect.org DUKE 013
> INZ431179.json.schedulesdirect.org Te Reo 015
> INZ431268.json.schedulesdirect.org Al Jazeera NZ 016
> INZ431677.json.schedulesdirect.org HGTV 017
> INZ430670.json.schedulesdirect.org Firstlight 026
> INZ431608.json.schedulesdirect.org Hope Channel 027
> INZ406728.json.schedulesdirect.org Parliament TV 031
> INZ431075.json.schedulesdirect.org Canterbury Television 040
> INZ406795.json.schedulesdirect.org Radio NZ National 050
> INZ406796.json.schedulesdirect.org Radio NZ Concert 051
> INZ406797.json.schedulesdirect.org Base FM 071
>
>
> *8.  Fill your boots / database*
>
> close mythtv-setup, restart your backend cross your appendages and run:
>
> mythfilldatabase --dd-grab-all
>
>
> All the usual disclaimers apply.  I am not an expert, this is simply what
> has worked for me.
>
> 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.
>
> Anecdotally yours,
>
> Rory
>
>
>
> On 30 Aug 2016 2:06 p.m., "Robert Fisher" <robert at fisher.net.nz> wrote:
>
>>
>>
>> On 30 August 2016 at 10:02, Tony Sauri <hoiho.nz at gmail.com> wrote:
>>
>>>
>>> Sorry
>>> I left the following links out of my prior messages
>>>
>>> https://www.mythtv.org/wiki/Migrating_to_Schedules_Direct_in_the_UK
>>> https://www.mythtv.org/wiki/Setup_Video_Sources
>>>
>>> As I said before these links will probably be helpful and provide clues
>>> about what to do next to people who have some development experience.
>>
>>
>> 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.
>>
>>
>>
>>
>> --
>> Robert Fisher
>>
>> _______________________________________________
>> mythtvnz mailing list
>> mythtvnz at lists.linuxnut.co.nz
>> http://lists.ourshack.com/mailman/listinfo/mythtvnz
>> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ourshack.com/pipermail/mythtvnz/attachments/20160831/1a7bd0ac/attachment.html>


More information about the mythtvnz mailing list