Mailing List Archive

Schedules Direct trial for NZ
Wow, this could be magic!

http://forums.schedulesdirect.org/viewtopic.php?f=15&t=2841

I think I'll give it a try.
Re: Schedules Direct trial for NZ [ In reply to ]
Let us know how you go.

Rob Fisher

On 28 Aug 2016 4:36 pm, "Nick Rout" <nick.rout@gmail.com> wrote:

> Wow, this could be magic!
>
> http://forums.schedulesdirect.org/viewtopic.php?f=15&t=2841
>
> I think I'll give it a try.
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz@lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>
>
Re: Schedules Direct trial for NZ [ In reply to ]
I encourage everyone to try it, as the post says, use it or lose it!

On Sun, Aug 28, 2016 at 4:52 PM, Robert Fisher <robert@fisher.net.nz> wrote:

> Let us know how you go.
>
> Rob Fisher
>
> On 28 Aug 2016 4:36 pm, "Nick Rout" <nick.rout@gmail.com> wrote:
>
>> Wow, this could be magic!
>>
>> http://forums.schedulesdirect.org/viewtopic.php?f=15&t=2841
>>
>> I think I'll give it a try.
>>
>> _______________________________________________
>> mythtvnz mailing list
>> mythtvnz@lists.linuxnut.co.nz
>> http://lists.ourshack.com/mailman/listinfo/mythtvnz
>> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>>
>>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz@lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>
>
Re: Schedules Direct trial for NZ [ In reply to ]
Can you point us to a "how to"?

Rob Fisher

On 28 Aug 2016 5:10 pm, "Nick Rout" <nick.rout@gmail.com> wrote:

> I encourage everyone to try it, as the post says, use it or lose it!
>
> On Sun, Aug 28, 2016 at 4:52 PM, Robert Fisher <robert@fisher.net.nz>
> wrote:
>
>> Let us know how you go.
>>
>> Rob Fisher
>>
>> On 28 Aug 2016 4:36 pm, "Nick Rout" <nick.rout@gmail.com> wrote:
>>
>>> Wow, this could be magic!
>>>
>>> http://forums.schedulesdirect.org/viewtopic.php?f=15&t=2841
>>>
>>> I think I'll give it a try.
>>>
>>> _______________________________________________
>>> mythtvnz mailing list
>>> mythtvnz@lists.linuxnut.co.nz
>>> http://lists.ourshack.com/mailman/listinfo/mythtvnz
>>> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>>>
>>>
>> _______________________________________________
>> mythtvnz mailing list
>> mythtvnz@lists.linuxnut.co.nz
>> http://lists.ourshack.com/mailman/listinfo/mythtvnz
>> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>>
>>
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz@lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>
>
Re: Schedules Direct trial for NZ [ In reply to ]
Signing up to it now!

On 28 August 2016 at 17:21, Robert Fisher <robert@fisher.net.nz> wrote:

> Can you point us to a "how to"?
>
> Rob Fisher
>
> On 28 Aug 2016 5:10 pm, "Nick Rout" <nick.rout@gmail.com> wrote:
>
>> I encourage everyone to try it, as the post says, use it or lose it!
>>
>> On Sun, Aug 28, 2016 at 4:52 PM, Robert Fisher <robert@fisher.net.nz>
>> wrote:
>>
>>> Let us know how you go.
>>>
>>> Rob Fisher
>>>
>>> On 28 Aug 2016 4:36 pm, "Nick Rout" <nick.rout@gmail.com> wrote:
>>>
>>>> Wow, this could be magic!
>>>>
>>>> http://forums.schedulesdirect.org/viewtopic.php?f=15&t=2841
>>>>
>>>> I think I'll give it a try.
>>>>
>>>> _______________________________________________
>>>> mythtvnz mailing list
>>>> mythtvnz@lists.linuxnut.co.nz
>>>> http://lists.ourshack.com/mailman/listinfo/mythtvnz
>>>> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>>>>
>>>>
>>> _______________________________________________
>>> mythtvnz mailing list
>>> mythtvnz@lists.linuxnut.co.nz
>>> http://lists.ourshack.com/mailman/listinfo/mythtvnz
>>> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>>>
>>>
>>
>> _______________________________________________
>> mythtvnz mailing list
>> mythtvnz@lists.linuxnut.co.nz
>> http://lists.ourshack.com/mailman/listinfo/mythtvnz
>> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>>
>>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz@lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>
>
Re: Schedules Direct trial for NZ [ In reply to ]
Has anyone been able to register. To register you have to be able to answer
the following question:

Create a nonsense word using the third letter of bedazzle and the letter
that's next to itself.:

Nothing I try seems to work?

They are asking people to register interest and at the same time making it
imposable to register!




On Sun, Aug 28, 2016 at 4:35 PM, Nick Rout <nick.rout@gmail.com> wrote:

> Wow, this could be magic!
>
> http://forums.schedulesdirect.org/viewtopic.php?f=15&t=2841
>
> I think I'll give it a try.
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz@lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>
>
Re: Schedules Direct trial for NZ [ In reply to ]
On 28/08/16 21:17, Tim Lockyer wrote:
> Has anyone been able to register. To register you have to be able to
> answer the following question:
>
> Create a nonsense word using the third letter of bedazzle and the
> letter that's next to itself.:
>
> Nothing I try seems to work?
>
> They are asking people to register interest and at the same time
> making it imposable to register!
>

What on earth are you signing up for ? I created an account, used the
activation code, and emailed the address in the original link.
No stupid questions, other than a captcha on the account creation screem.



--
Criggie

http://criggie.org.nz/
Re: Schedules Direct trial for NZ [ In reply to ]
You need to go to www.schedulesdirect.org to register. The nonsense
question comes up when you try to register for forums.schedulesdirect.org

Rory

On 28 August 2016 at 21:17, Tim Lockyer <drtimlockyer@gmail.com> wrote:

> Has anyone been able to register. To register you have to be able to
> answer the following question:
>
> Create a nonsense word using the third letter of bedazzle and the letter
> that's next to itself.:
>
> Nothing I try seems to work?
>
> They are asking people to register interest and at the same time making it
> imposable to register!
>
>
>
>
> On Sun, Aug 28, 2016 at 4:35 PM, Nick Rout <nick.rout@gmail.com> wrote:
>
>> Wow, this could be magic!
>>
>> http://forums.schedulesdirect.org/viewtopic.php?f=15&t=2841
>>
>> I think I'll give it a try.
>>
>> _______________________________________________
>> mythtvnz mailing list
>> mythtvnz@lists.linuxnut.co.nz
>> http://lists.ourshack.com/mailman/listinfo/mythtvnz
>> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>>
>>
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz@lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>
>
Re: Schedules Direct trial for NZ [ In reply to ]
I signed up this morning. It was very easy and within minutes, I had an
activation code emailed to me. I then email rkulagow and again within
minutes he emailed a coupon code, which I entered.

What I can't figure out now is how to add a lineup for the NZ channels.

Has anyone got this part working?
Re: Schedules Direct trial for NZ [ In reply to ]
I am keen to give it a try too but my inexperience (with MythTV) has
allowed me to get burnt a few times so I would really like a howto or some
advice on changing my video source to schedules direct.
Re: Schedules Direct trial for NZ [ In reply to ]
On 29/08/16 07:29, Paul Kendall wrote:
> I signed up this morning. It was very easy and within minutes, I had an
> activation code emailed to me. I then email rkulagow and again within
> minutes he emailed a coupon code, which I entered.
>
> What I can't figure out now is how to add a lineup for the NZ channels.
>
> Has anyone got this part working?
>

This wiki article (UK based) seems to give some clues for those with
development skills.

Tony Sauri


_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
On 29/08/16 19:03, Tony Sauri wrote:
> On 29/08/16 07:29, Paul Kendall wrote:
>> I signed up this morning. It was very easy and within minutes, I had an
>> activation code emailed to me. I then email rkulagow and again within
>> minutes he emailed a coupon code, which I entered.
>>
>> What I can't figure out now is how to add a lineup for the NZ channels.
>>
>> Has anyone got this part working?
From http://schedulesdirect.org/lineups/add

*NOTE:*If you are using the JSON service you do not need to add a lineup
through the website; lineup management in the JSON service is done
through your client.
Re: Schedules Direct trial for NZ [ In reply to ]
On 29/08/16 19:24, Tony Sauri wrote:
> On 29/08/16 19:09, Robert Fisher wrote:
>> On 29/08/16 19:03, Tony Sauri wrote:
>>> On 29/08/16 07:29, Paul Kendall wrote:
>>>> I signed up this morning. It was very easy and within minutes, I had an
>>>> activation code emailed to me. I then email rkulagow and again within
>>>> minutes he emailed a coupon code, which I entered.
>>>>
>>>> What I can't figure out now is how to add a lineup for the NZ channels.
>>>>
>>>> Has anyone got this part working?
>> From http://schedulesdirect.org/lineups/add
>>
>>
>>
> Yes I have seen that too. I read that we have to:
>
> A) Upgrade XMLTV to appropriate levels that will work with JSON
> B) Build the SD JSON XMLTV Grabber (The client referenced above).
> C) Run the grabber to configure for your site.
>
> I will get on my test system shortly to try and nut it all out. If
> successful I will post a cheat sheet.
>
> Tony
>

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.

Tony

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
On 30 August 2016 at 10:02, Tony Sauri <hoiho.nz@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
Re: Schedules Direct trial for NZ [ In reply to ]
On 30 August 2016 at 14:05, Robert Fisher <robert@fisher.net.nz> wrote:
>
>
> On 30 August 2016 at 10:02, Tony Sauri <hoiho.nz@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@lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>

N00b question perhaps - but what is the advantage (practical, legal,
moral etc) of using Schedules Direct over tv_grab_nz.py?

I'm trying to work out if it is worth the learning curve /
reconfiguration over my current working setup which is missing EPG
data for some channels (Bravo +1, Te Reo et al).

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
On Tue, 30 Aug 2016 22:10:33 +1200, you wrote:

>On 30 August 2016 at 14:05, Robert Fisher <robert@fisher.net.nz> wrote:
>>
>>
>> On 30 August 2016 at 10:02, Tony Sauri <hoiho.nz@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

>
>N00b question perhaps - but what is the advantage (practical, legal,
>moral etc) of using Schedules Direct over tv_grab_nz.py?
>
>I'm trying to work out if it is worth the learning curve /
>reconfiguration over my current working setup which is missing EPG
>data for some channels (Bravo +1, Te Reo et al).

Generally SchedulesDirect is considered to produce better quality EPG.
I have yet to sign up and find out if that is the case for NZ though.
The standard NZ EPG is rather hit and miss, with not all channels
providing proper programid data so that you can avoid recording
repeats and things like that. Some channels here have even gone and
changed how they do programid data, resulting in recording of repeats
for any programme aired before the change. And the stupid "All New"
or "New: " or "Prime Presents" on the front of the title messes up
recording rules so you miss a new season of a programme when they do
that. Some of that is now stripped out in the downloaded EPG that we
have, but that is the sort of thing that SD is supposed to not have.

The Sky EPG is much worse than the Freeview EPG - the Freeview
channels have been gradually improving their EPG over the years, but
Sky has lots of channels with pretty hopeless EPG. So I am hoping
that SD may eventually also do the Sky channels, but as demand for
that is likely to be low, I think it is unlikely.

On the legal front, I would presume that SchedulesDirect or whoever
they get their EPG data (Tribune?) from will have made appropriate
arrangements with the original sources for NZ EPG and will have the
appropriate rights to provide it to us.

The problem I have with changing over to SD is that it is very likely
that their programid data will not match what I have in my database
from many years of recordings. So I will once again be getting lots
of repeats recording themselves. So I am intending (when I find a
spare moment) to use SD EPG on my test PC first, to see if the SD EPG
is sufficiently better that it is worth putting up with that problem.

I have already made myself a workaround for missing channels, where my
EPG script runs local mhepgsnoop EPG collection and also gets the
downloaded EPG. Where it finds a channel present in the MHEG5 data
and not in the downloaded EPG, it merges the MHEG5 data into the
downloaded data. It seems to be working well now, and if a missing
channel turns up in the downloaded EPG, I do not have to change
anything as the processing is all automatic. It does make my EPG
collection take a bit longer though.

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
On Tue, Aug 30, 2016 at 10:10 PM, Curtis Walker <sultanoswing@gmail.com>
wrote:

> On 30 August 2016 at 14:05, Robert Fisher <robert@fisher.net.nz> wrote:
> >
> >
> > On 30 August 2016 at 10:02, Tony Sauri <hoiho.nz@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@lists.linuxnut.co.nz
> > http://lists.ourshack.com/mailman/listinfo/mythtvnz
> > Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
> >
>
> N00b question perhaps - but what is the advantage (practical, legal,
> moral etc) of using Schedules Direct over tv_grab_nz.py?
>
> I'm trying to work out if it is worth the learning curve /
> reconfiguration over my current working setup which is missing EPG
> data for some channels (Bravo +1, Te Reo et al).
>
>
People watch Bravo???
Re: Schedules Direct trial for NZ [ In reply to ]
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@fisher.net.nz> wrote:

>
>
> On 30 August 2016 at 10:02, Tony Sauri <hoiho.nz@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@lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>
>
Re: Schedules Direct trial for NZ [ In reply to ]
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@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@fisher.net.nz> wrote:
>
>>
>>
>> On 30 August 2016 at 10:02, Tony Sauri <hoiho.nz@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@lists.linuxnut.co.nz
>> http://lists.ourshack.com/mailman/listinfo/mythtvnz
>> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>>
>>
Re: Schedules Direct trial for NZ [ In reply to ]
On Wed, 31 Aug 2016 08:14:08 +1200, you wrote:

>> N00b question perhaps - but what is the advantage (practical, legal,
>> moral etc) of using Schedules Direct over tv_grab_nz.py?
>>
>> I'm trying to work out if it is worth the learning curve /
>> reconfiguration over my current working setup which is missing EPG
>> data for some channels (Bravo +1, Te Reo et al).
>>
>>
>People watch Bravo???

More likely just people like me who are a bit on the perfectionist
side of things and want all channels to have EPG.

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
On 31 August 2016 at 10:53, Rory Grant <rorzer@gmail.com> wrote:

> You need to enter the Schedules Direct Channel ID in the "XMLTV ID:" field.
>
So is the Channel ID (for example)
406723
or
INZ406723
or
INZ406723.json.schedulesdirect.org

and is it easier to edit these in Mythweb?
Re: Schedules Direct trial for NZ [ In reply to ]
On Wed, 31 Aug 2016 10:53:03 +1200, you wrote:

>I'm not a developer, and I've got schedules direct up and running on my
>Ubuntu 16.04 system.
[snip]
>*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.

If you have turned on the option for xmltv updates Mythbuntu Control
Centre, you should already have at least xmltv 0.5.67-1 (which is what
I have in 14.04) which has the json grabbers. In that case, is there
a reason to want 0.5.68-1?

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
On 31 August 2016 at 13:00, Stephen Worthington <stephen_agent@jsw.gen.nz>
wrote:

> If you have turned on the option for xmltv updates Mythbuntu Control
> Centre, you should already have at least xmltv 0.5.67-1 (which is what
> I have in 14.04) which has the json grabbers. In that case, is there
> a reason to want 0.5.68-1?
>

dpkg -l xmltv on my system shows that I have *0.5.67-0.1*
but tv-find_grabbers does not find the json one.

Is 0.5.67-1 correct? (I assumed it might be a typo)
Re: Schedules Direct trial for NZ [ In reply to ]
On 31 Aug 2016 12:29, "Stephen Worthington" <stephen_agent@jsw.gen.nz>
wrote:
>
> On Wed, 31 Aug 2016 08:14:08 +1200, you wrote:
>
> >> N00b question perhaps - but what is the advantage (practical, legal,
> >> moral etc) of using Schedules Direct over tv_grab_nz.py?
> >>
> >> I'm trying to work out if it is worth the learning curve /
> >> reconfiguration over my current working setup which is missing EPG
> >> data for some channels (Bravo +1, Te Reo et al).
> >>
> >>
> >People watch Bravo???
>
> More likely just people like me who are a bit on the perfectionist
> side of things and want all channels to have EPG.
>
>

Yep. This would be my main reason for switching.
Re: Schedules Direct trial for NZ [ In reply to ]
OK,

the mythbuntu xmltv repository config seems to have been upset by my
upgrade to 16.04

Although the xmltv updates repository was checked in mythbuntu control
centre, checking in synaptic, it was still pointing to the 15.10
repository, and was disabled.

Subsequently I unchecked the xmltv repository in mythbuntu control centre,
and clicked to apply changes. I then reversed this, checking the box and
applying changes again. a quick apt-get update and the xmltv repo was back
online.

I can confirm that the 0.5.67-1 version on this repo does include the
/usr/bin/tv_grab_sd_json binary

Thanks Stephen.

Rory

On 31 August 2016 at 13:00, Stephen Worthington <stephen_agent@jsw.gen.nz>
wrote:

> On Wed, 31 Aug 2016 10:53:03 +1200, you wrote:
>
> >I'm not a developer, and I've got schedules direct up and running on my
> >Ubuntu 16.04 system.
> [snip]
> >*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.
>
> If you have turned on the option for xmltv updates Mythbuntu Control
> Centre, you should already have at least xmltv 0.5.67-1 (which is what
> I have in 14.04) which has the json grabbers. In that case, is there
> a reason to want 0.5.68-1?
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz@lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>
Re: Schedules Direct trial for NZ [ In reply to ]
The correct format depends on what you choose in the schedules direct
configuration script (/usr/bin/tv_grab_sd_json --configure)

I don't know if it's easier to edit in mythweb - I've never done it that
way.

Rory

On 31 August 2016 at 12:57, Robert Fisher <robert@fisher.net.nz> wrote:

>
>
> On 31 August 2016 at 10:53, Rory Grant <rorzer@gmail.com> wrote:
>
>> You need to enter the Schedules Direct Channel ID in the "XMLTV ID:"
>> field.
>>
> So is the Channel ID (for example)
> 406723
> or
> INZ406723
> or
> INZ406723.json.schedulesdirect.org
>
> and is it easier to edit these in Mythweb?
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz@lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>
>
Re: Schedules Direct trial for NZ [ In reply to ]
On Wed, 31 Aug 2016 13:11:09 +1200, you wrote:

>On 31 August 2016 at 13:00, Stephen Worthington <stephen_agent@jsw.gen.nz>
>wrote:
>
>> If you have turned on the option for xmltv updates Mythbuntu Control
>> Centre, you should already have at least xmltv 0.5.67-1 (which is what
>> I have in 14.04) which has the json grabbers. In that case, is there
>> a reason to want 0.5.68-1?
>>
>
>dpkg -l xmltv on my system shows that I have *0.5.67-0.1*
>but tv-find_grabbers does not find the json one.
>
>Is 0.5.67-1 correct? (I assumed it might be a typo)

No, not a typo. The full version from "dpkg -l mythtv" is
0.5.67-1+r5142p198~ubuntu14.0. Check that you have xmltv updates
turned on. If you have, there should be a
/etc/apt/sources.list.d/mythbuntu-xmltv-trusty.list file with this in
it:

deb http://ppa.launchpad.net/mythbuntu/xmltv/ubuntu trusty main
# deb-src http://ppa.launchpad.net/mythbuntu/xmltv/ubuntu trusty main

(Substitute "trusty" with your Ubuntu version).

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
Same Topic - Different Tack

Have been resurrecting my test system for this development.

Starting with my ?buntu 14.04.1 LTS (GNU/Linux 3.13.0-40-generic i686
system with a myth system that reports it version thus:

tartarus@locarno:~/bin$ mythbackend --version
Please attach all output as a file in bug reports.
MythTV Version : v0.27.4-19-g65d92fd
MythTV Branch : fixes/0.27
Network Protocol : 77
Library API : 0.27.20141016-1
QT Version : 4.8.6

I too have now secured a working tv_grab_sd_json grabber and after
configuring my line-up have downloaded an xml file from SD.

I agree that the SD file seems more complete but I do have concerns
about the accuracy.

In the first program I checked (Lewis Prime Sun Evening) the SD data is
clearly wrong as it describes Series 1 Episode 3 whereas Prime will
actually be showing Series 8 Episode 3.

__I will not be integrating SD with Mythtv till this is resolved.__

NZ EIT [MHEG 5] Sourced Data

<programme start="20160904203000 +1200" stop="20160904223500 +1200"
channel="prime.freeviewnz.tv">

<!-- debug_crid_episode: crid://primetv.co.nz/SNZ10497601 -->

<!-- debug_crid_series: crid://primetv.co.nz/149501 -->

<title lang="en">Weekend Murders: Lewis</title>

<desc lang="en">'(Season Finale) One of Lewis' first cases is
appealed 13 years after the conviction, made suspicious when a crime
scene that matches the original a

<subtitles type="teletext" />

<rating system="BSA of NZ">

<value>PGR</value>

</rating>

</programme>


SD Sourced Data

<programme start="20160904083000 +0000" stop="20160904103500 +0000"
channel="INZ410759.json.schedulesdirect.org">

<title>Lewis</title>

<sub-title>Expiation</sub-title>

<desc>Lewis has doubts about the suicide verdict of a housewife
found hanged in her North Oxford home, after discovering a key piece of
information.</desc>

<credits>

<director>Bill Anderson</director>

<director>Dan Reed</director>

<director>Bille Eltringham</director>

<actor>Kevin Whately</actor>

<actor>Laurence Fox</actor>

<actor>Clare Holman</actor>

<actor>Rebecca Front</actor>

<writer>Colin Dexter</writer>

<writer>Alan Plater</writer>

<writer>Guy Andrews</writer>

<producer>Michele Buck</producer>

<producer>Damien Timmer</producer>

<guest>Timothy Carlton</guest>

<guest>Emma Croft</guest>

</credits>

<category>Mystery</category>

<category>Crime drama</category>

<category>Series</category>

<category>series</category>

<episode-num system="xmltv_ns">0.2/3.</episode-num>

<episode-num system="dd_progid">EP000337850003</episode-num>

<previously-shown start="20070304120000 +1300" />

<subtitles type="teletext" />

</programme>


Regards

Tony Sauri

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
On 31/08/16 13:46, Rory Grant wrote:
> The correct format depends on what you choose in the schedules direct
> configuration script (/usr/bin/tv_grab_sd_json --configure)
>
> I don't know if it's easier to edit in mythweb - I've never done it
> that way.
You can edit xmltvid's at
http://server/mythweb/settings/tv/channels

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
On 31/08/16 13:50, Stephen Worthington wrote:
> Check that you have xmltv updates
> turned on.
That ticked the box. Thanks.

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
On 31/08/16 14:39, Tony Sauri wrote:
> I agree that the SD file seems more complete but I do have concerns
> about the accuracy.
Damn!
I just read this a few minutes after a successful migration to SD
(following Rory's howto)

I thought that I had read somewhere that Schedules Direct had EPG data
for three weeks but I only get seven days.

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
On Wed, Aug 31, 2016 at 12:08 AM, Robert Fisher <robert@fisher.net.nz> wrote:
> I just read this a few minutes after a successful migration to SD (following
> Rory's howto)
>
> I thought that I had read somewhere that Schedules Direct had EPG data for
> three weeks but I only get seven days.

The amount of data that we get varies upon the provider; (US and
Europe providers give schedule out past 21 days) some are able
to lock in their schedule weeks in advance, and some don't, which is
why there's a variation in the amount of data available.

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
Thanks Robert.

Rob Fisher

On 31 Aug 2016 5:15 pm, "Robert Kulagowski" <rkulagow@gmail.com> wrote:

> On Wed, Aug 31, 2016 at 12:08 AM, Robert Fisher <robert@fisher.net.nz>
> wrote:
> > I just read this a few minutes after a successful migration to SD
> (following
> > Rory's howto)
> >
> > I thought that I had read somewhere that Schedules Direct had EPG data
> for
> > three weeks but I only get seven days.
>
> The amount of data that we get varies upon the provider; (US and
> Europe providers give schedule out past 21 days) some are able
> to lock in their schedule weeks in advance, and some don't, which is
> why there's a variation in the amount of data available.
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz@lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>
Re: Schedules Direct trial for NZ [ In reply to ]
On Wed, 31 Aug 2016 13:00:07 +1200, you wrote:

>On Wed, 31 Aug 2016 10:53:03 +1200, you wrote:
>
>>I'm not a developer, and I've got schedules direct up and running on my
>>Ubuntu 16.04 system.
>[snip]
>>*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.
>
>If you have turned on the option for xmltv updates Mythbuntu Control
>Centre, you should already have at least xmltv 0.5.67-1 (which is what
>I have in 14.04) which has the json grabbers. In that case, is there
>a reason to want 0.5.68-1?

I have just downloaded and built copies of the latest release and
nightly versions of xmltv on my test PC (Mythbuntu 16.04, MythTV
0.28-fixes). I did a diff between tv_grab_sd_json in the release
version and the installed 0.5.67-1 version in 16.04 xmltv-fixes. There
are quite a few changes, so it looks like you should download and
install the latest release version, or even the current snapshot
(nightly build) version which is different again.

I am using this page as a guide as to how to set things up:

https://www.mythtv.org/wiki/Migrating_to_Schedules_Direct_in_the_UK

This is from the nightly build version, which I am trying out:

root@lith:~# tv_grab_sd_json --version
XMLTV module version 0.5.68
This is tv_grab_sd_json version 1.21, 2016/07/15 01:26:44

After configuring to use the Wellington transmitter lineup (because it
is normally identical to the Wharite lineup), I did a test run and got
a .xml file. So far, I have noticed a couple of things that I
probably should tell SD about:

1) The new HGTV channel is missing.
2) The old names are being used for RNZ National and RNZ Concert (the
xml file has them as Radio NZ National and Radio NZ Concert.

There seems to be a lot more detail available about programmes, such
as cast lists. Every programme I have checked has a dd_progid format
episode-num field, and some programmes also have other formats of
episode-num as well. That is excellent - it will prevent re-recording
of repeats. However, the episode-num data does not match the data in
the EPG collected from the MHEG5 EPG on the channels themselves. So
it will not match old recordings in my database.

The next step is to get tv_grab_sd_json to set up my channels in
MythTV on the test PC. But that will have to wait until I have some
more spare time.

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
On 31 August 2016 at 21:45, Stephen Worthington
<stephen_agent@jsw.gen.nz> wrote:
> On Wed, 31 Aug 2016 13:00:07 +1200, you wrote:
>
>>On Wed, 31 Aug 2016 10:53:03 +1200, you wrote:
>>
>>>I'm not a developer, and I've got schedules direct up and running on my
>>>Ubuntu 16.04 system.
>>[snip]
>>>*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.
>>
>>If you have turned on the option for xmltv updates Mythbuntu Control
>>Centre, you should already have at least xmltv 0.5.67-1 (which is what
>>I have in 14.04) which has the json grabbers. In that case, is there
>>a reason to want 0.5.68-1?
>
> I have just downloaded and built copies of the latest release and
> nightly versions of xmltv on my test PC (Mythbuntu 16.04, MythTV
> 0.28-fixes). I did a diff between tv_grab_sd_json in the release
> version and the installed 0.5.67-1 version in 16.04 xmltv-fixes. There
> are quite a few changes, so it looks like you should download and
> install the latest release version, or even the current snapshot
> (nightly build) version which is different again.
>
> I am using this page as a guide as to how to set things up:
>
> https://www.mythtv.org/wiki/Migrating_to_Schedules_Direct_in_the_UK
>
> This is from the nightly build version, which I am trying out:
>
> root@lith:~# tv_grab_sd_json --version
> XMLTV module version 0.5.68
> This is tv_grab_sd_json version 1.21, 2016/07/15 01:26:44
>
> After configuring to use the Wellington transmitter lineup (because it
> is normally identical to the Wharite lineup), I did a test run and got
> a .xml file. So far, I have noticed a couple of things that I
> probably should tell SD about:
>
> 1) The new HGTV channel is missing.
> 2) The old names are being used for RNZ National and RNZ Concert (the
> xml file has them as Radio NZ National and Radio NZ Concert.
>
> There seems to be a lot more detail available about programmes, such
> as cast lists. Every programme I have checked has a dd_progid format
> episode-num field, and some programmes also have other formats of
> episode-num as well. That is excellent - it will prevent re-recording
> of repeats. However, the episode-num data does not match the data in
> the EPG collected from the MHEG5 EPG on the channels themselves. So
> it will not match old recordings in my database.
>
> The next step is to get tv_grab_sd_json to set up my channels in
> MythTV on the test PC. But that will have to wait until I have some
> more spare time.
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz@lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/

Thanks to Rory for your helpful enabler/guide!

You're near Wharite too, eh Steven?

After quite some stuffing around updating all of my broken perl
scripts, then installing the latest xmltv, then adding extra perl
modules to get tv_grab_sd_json working, it all went pretty straight
forward.

I've gone with the "National" lineup for now, which does include HGTV,
but not TV33. It's really nice to have Te Reo channel data, and I
agree with Steven that the overall data looks pretty comprehensive. I
can't speak to how well it'll play with my old recordings, but that's
not a major consideration in our set up.

If the trial works out, I'm gonna plunk down the $25USD for sure.

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
On Wed, Aug 31, 2016 at 4:45 AM, Stephen Worthington
<stephen_agent@jsw.gen.nz> wrote:
> 1) The new HGTV channel is missing.
> 2) The old names are being used for RNZ National and RNZ Concert (the
> xml file has them as Radio NZ National and Radio NZ Concert.

Please open a Lineup issue ticket at the Schedules Direct website so
that we can triage and track with our bugtracker.

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
On Wed, Aug 31, 2016 at 5:28 AM, Curtis Walker <sultanoswing@gmail.com> wrote:
> I've gone with the "National" lineup for now, which does include HGTV,
> but not TV33.

Please open a Lineup issue ticket at the Schedules Direct website so
that we can triage and track with our bugtracker. That way we can make
the data better.

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
On 31/08/16 21:45, Stephen Worthington wrote:
> I have just downloaded and built copies of the latest release and
> nightly versions of xmltv on my test PC (Mythbuntu 16.04, MythTV
> 0.28-fixes). I did a diff between tv_grab_sd_json in the release
> version and the installed 0.5.67-1 version in 16.04 xmltv-fixes. There
> are quite a few changes, so it looks like you should download and
> install the latest release version, or even the current snapshot
> (nightly build) version which is different again.
If 0.5.67-1 seems to work fine for me (and was easy to install after
ticking the right box) is there a compelling reason to install a later
version?

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
Anyone here who has changed to Schedules Direct and noticed that the
scheduled daily recording of One News at 6 has gone weird?

Mine seems to have disappeared from "Upcoming recordings" and when I try
to add it I get a dotted border and messages such as " will record
earlier" or "will never record"

All of my other scheduled recordings still seem OK but I cannot get
this one right again.

I want to know if I am the only one with this problem (or not) before I
log a ticket with SD

I might switch back to the local grabber tomorrow to see what happens.

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
On 2 September 2016 at 22:30, Robert Fisher <robert@fisher.net.nz> wrote:
> Anyone here who has changed to Schedules Direct and noticed that the
> scheduled daily recording of One News at 6 has gone weird?
>
> Mine seems to have disappeared from "Upcoming recordings" and when I try to
> add it I get a dotted border and messages such as " will record earlier" or
> "will never record"
>
> All of my other scheduled recordings still seem OK but I cannot get this
> one right again.
>
> I want to know if I am the only one with this problem (or not) before I log
> a ticket with SD
>
> I might switch back to the local grabber tomorrow to see what happens.
>
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz@lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/

No problem for me with One News recording last night (mythtv 0.28
under Arch). 7-Days recorded fine. So far so good. I note that
'Backbenches" on Prime still has Damian Christie listed as the
co-host, as opposed to Haley Holt.

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
On 03/09/16 09:08, Curtis Walker wrote:
> On 2 September 2016 at 22:30, Robert Fisher <robert@fisher.net.nz> wrote:
>
> I might switch back to the local grabber tomorrow to see what happens.
I restored from backup and things were fine again (using tv_grab_nz-py)

Switched back to Schedules Direct and set up to record One News at 6 "at
any time on any channel"
For tonight it the note shows "This showing will be recorded"
For the rest of the week the note says "This episode will be recorded at
an earlier time instead"
> No problem for me with One News recording last night (mythtv 0.28
> under Arch). 7-Days recorded fine. So far so good.
I do wonder if
https://www.mythtv.org/wiki/Migrating_to_Schedules_Direct_in_the_UK
has the answer in
Remove old program IDs from the database

Unfortunately I do not know enough about mysql to do it.

He suggests:-
update oldrecorded set programid='' where \
programid rlike '^EP[0-9]+[a-z]?$' or \
programid rlike '^MV[0-9]+[a-z]?$' or \
programid rlike '^SH[0-9]+[a-z]?$' or \
programid rlike '^SP[0-9]+[a-z]?$';
update recorded set programid='' where \
programid rlike '^EP[0-9]+[a-z]?$' or \
programid rlike '^MV[0-9]+[a-z]?$' or \
programid rlike '^SH[0-9]+[a-z]?$' or \
programid rlike '^SP[0-9]+[a-z]?$';
update recordedprogram set programid='' where \
programid rlike '^EP[0-9]+[a-z]?$' or \
programid rlike '^MV[0-9]+[a-z]?$' or \
programid rlike '^SH[0-9]+[a-z]?$' or \
programid rlike '^SP[0-9]+[a-z]?$';


_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
On Fri, Sep 2, 2016 at 4:08 PM, Curtis Walker <sultanoswing@gmail.com> wrote:
> No problem for me with One News recording last night (mythtv 0.28
> under Arch). 7-Days recorded fine. So far so good. I note that
> 'Backbenches" on Prime still has Damian Christie listed as the
> co-host, as opposed to Haley Holt.

Please open a ticket at the Schedules Direct website so that we can
triage and escalate with our upstream.

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
On 03/09/16 09:08, Curtis Walker wrote:
> On 2 September 2016 at 22:30, Robert Fisher <robert@fisher.net.nz> wrote:
>> Anyone here who has changed to Schedules Direct and noticed that the
>> scheduled daily recording of One News at 6 has gone weird?
Tony has done some more research and found that there are some other
shows with the same problem which he compared to local EPG data to show
that the offending shows

display the same
static EPISODE-NUM issue

One of us will log a ticket with Schedules direct.

Rob


_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
I have reported the following to Schedules Direct.......

The EPISODE-NUM does not seem to advance for some shows for example "One
News at 6" and "Newshub Live at 6"

This means that MythTV thinks that all episodes are the same and will
only ever record 1 when the Schedules Direct data is loaded.

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
Has anyone noticed that the plus 1 channels have their episode numbers
incremented, meaning that the same shows get recorded twice, one with
incorrectt information?

On 4 Sep 2016 11:43 a.m., "Robert Fisher" <robert@fisher.net.nz> wrote:

> I have reported the following to Schedules Direct.......
>
> The EPISODE-NUM does not seem to advance for some shows for example "One
> News at 6" and "Newshub Live at 6"
>
> This means that MythTV thinks that all episodes are the same and will only
> ever record 1 when the Schedules Direct data is loaded.
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz@lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>
Re: Schedules Direct trial for NZ [ In reply to ]
On 04/09/16 12:17, Rory Grant wrote:
>
> Has anyone noticed that the plus 1 channels have their episode numbers
> incremented, meaning that the same shows get recorded twice, one with
> incorrectt information?
>
Yes I noticed that too.
Have you logged it?

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
I've had a look through the future info, and this problem seems to have
cleared itself up. However, I found two further issues that I have
reported:

Some shows that have more than one episode screen in the same week have
doubled up data

Embarrassing example:

<programme start="20160909124500 +0000" stop="20160909131500 +0000"
channel="INZ431132.json.schedulesdirect.org">
<title>2 Broke Girls</title>
<episode-num system="dd_progid">EP014198720038</episode-num>

<programme start="20160907100000 +0000" stop="20160907103000 +0000"
channel="INZ431132.json.schedulesdirect.org">
<title>2 Broke Girls</title>
<episode-num system="dd_progid">EP014198720038</episode-num>


Second issue:

Big Bang Theory info is just plain wrong.

Both of these issues have been logged.

R

On 4 September 2016 at 12:56, Robert Fisher <robert@fisher.net.nz> wrote:

> On 04/09/16 12:17, Rory Grant wrote:
>
>>
>> Has anyone noticed that the plus 1 channels have their episode numbers
>> incremented, meaning that the same shows get recorded twice, one with
>> incorrectt information?
>>
>> Yes I noticed that too.
> Have you logged it?
>
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz@lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>
Re: Schedules Direct trial for NZ [ In reply to ]
On 04/09/16 11:42, Robert Fisher wrote:
> I have reported the following to Schedules Direct.......
>
> The EPISODE-NUM does not seem to advance for some shows for example
> "One News at 6" and "Newshub Live at 6"
>
> This means that MythTV thinks that all episodes are the same and will
> only ever record 1 when the Schedules Direct data is loaded.

I have just added the show "Sunday" to this ticket.

--
Robert


_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
On 4 September 2016 at 15:18, Robert Fisher <robert@fisher.net.nz> wrote:
> On 04/09/16 11:42, Robert Fisher wrote:
>>
>> I have reported the following to Schedules Direct.......
>>
>> The EPISODE-NUM does not seem to advance for some shows for example "One
>> News at 6" and "Newshub Live at 6"
>>
>> This means that MythTV thinks that all episodes are the same and will only
>> ever record 1 when the Schedules Direct data is loaded.
>
>
> I have just added the show "Sunday" to this ticket.
>
> --
> Robert
>
>
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz@lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/

I've just ponied up the $25USD for a year's subs. The quality of the
data is definitely a step up on previous, and I do like the look of
all my channels now having guide data (damn OCD). Worth supporting.

Hopefully with user feedback the small kinks and errors will be
resolved. I guess it'll be a good chance to see how good the customer
service is in that regard!

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
On 04/09/16 20:43, Curtis Walker wrote:
> I've just ponied up the $25USD for a year's subs. The quality of the
> data is definitely a step up on previous, and I do like the look of
> all my channels now having guide data (damn OCD). Worth supporting.
>
> Hopefully with user feedback the small kinks and errors will be
> resolved. I guess it'll be a good chance to see how good the customer
> service is in that regard!
>

I thought the whole point of the 90 day trial was that no refunds had to
be done if it didn't go ahead.



--
Criggie

http://criggie.org.nz/
Re: Schedules Direct trial for NZ [ In reply to ]
On 4 September 2016 at 20:56, criggie <criggie@criggie.org.nz> wrote:
> On 04/09/16 20:43, Curtis Walker wrote:
>
> I've just ponied up the $25USD for a year's subs. The quality of the
> data is definitely a step up on previous, and I do like the look of
> all my channels now having guide data (damn OCD). Worth supporting.
>
> Hopefully with user feedback the small kinks and errors will be
> resolved. I guess it'll be a good chance to see how good the customer
> service is in that regard!
>
>
> I thought the whole point of the 90 day trial was that no refunds had to be
> done if it didn't go ahead.
>
>
>
> --
> Criggie
>
> http://criggie.org.nz/
>
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz@lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>

90 days? That'll teach me not to read the small print. I got an email
saying my 7 day trial was about to expire, and the cause seems worth
supporting.... oh well!

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
On 4 September 2016 at 21:15, Curtis Walker <sultanoswing@gmail.com> wrote:
> On 4 September 2016 at 20:56, criggie <criggie@criggie.org.nz> wrote:
>> On 04/09/16 20:43, Curtis Walker wrote:
>>
>> I've just ponied up the $25USD for a year's subs. The quality of the
>> data is definitely a step up on previous, and I do like the look of
>> all my channels now having guide data (damn OCD). Worth supporting.
>>
>> Hopefully with user feedback the small kinks and errors will be
>> resolved. I guess it'll be a good chance to see how good the customer
>> service is in that regard!
>>
>>
>> I thought the whole point of the 90 day trial was that no refunds had to be
>> done if it didn't go ahead.
>>
>>
>>
>> --
>> Criggie
>>
>> http://criggie.org.nz/
>>
>>
>> _______________________________________________
>> mythtvnz mailing list
>> mythtvnz@lists.linuxnut.co.nz
>> http://lists.ourshack.com/mailman/listinfo/mythtvnz
>> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>>
>
> 90 days? That'll teach me not to read the small print. I got an email
> saying my 7 day trial was about to expire, and the cause seems worth
> supporting.... oh well!

Oh....
http://forums.schedulesdirect.org/viewtopic.php?f=15&t=2841

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Schedules Direct trial for NZ [ In reply to ]
See my notes at the bottom.

On 31/08/16 10:53, Rory Grant 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
> <http://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
> <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
> <http://INZ406723.json.schedulesdirect.org> TV ONE 001
> INZ406725.json.schedulesdirect.org
> <http://INZ406725.json.schedulesdirect.org> TV2 002
> INZ406726.json.schedulesdirect.org
> <http://INZ406726.json.schedulesdirect.org> TV3 003
> INZ431675.json.schedulesdirect.org
> <http://INZ431675.json.schedulesdirect.org> Bravo 004
> INZ406728.json.schedulesdirect.org
> <http://INZ406728.json.schedulesdirect.org> Maori Television 005
> INZ430333.json.schedulesdirect.org
> <http://INZ430333.json.schedulesdirect.org> TVONE +1 006
> INZ431132.json.schedulesdirect.org
> <http://INZ431132.json.schedulesdirect.org> TV2 +1 007
> INZ406735.json.schedulesdirect.org
> <http://INZ406735.json.schedulesdirect.org> TV3 PLUS 1 008
> INZ431676.json.schedulesdirect.org
> <http://INZ431676.json.schedulesdirect.org> Bravo Plus 1 009
> INZ410759.json.schedulesdirect.org
> <http://INZ410759.json.schedulesdirect.org> Prime NZ 010
> INZ431295.json.schedulesdirect.org
> <http://INZ431295.json.schedulesdirect.org> The Edge TV 011
> INZ429922.json.schedulesdirect.org
> <http://INZ429922.json.schedulesdirect.org> Choice TV 012
> INZ431540.json.schedulesdirect.org
> <http://INZ431540.json.schedulesdirect.org> DUKE 013
> INZ431179.json.schedulesdirect.org
> <http://INZ431179.json.schedulesdirect.org> Te Reo 015
> INZ431268.json.schedulesdirect.org
> <http://INZ431268.json.schedulesdirect.org> Al Jazeera NZ 016
> INZ431677.json.schedulesdirect.org
> <http://INZ431677.json.schedulesdirect.org> HGTV 017
> INZ430670.json.schedulesdirect.org
> <http://INZ430670.json.schedulesdirect.org> Firstlight 026
> INZ431608.json.schedulesdirect.org
> <http://INZ431608.json.schedulesdirect.org> Hope Channel 027
> INZ406728.json.schedulesdirect.org
> <http://INZ406728.json.schedulesdirect.org> Parliament TV 031
> INZ431075.json.schedulesdirect.org
> <http://INZ431075.json.schedulesdirect.org> Canterbury Television 040
> INZ406795.json.schedulesdirect.org
> <http://INZ406795.json.schedulesdirect.org> Radio NZ National 050
> INZ406796.json.schedulesdirect.org
> <http://INZ406796.json.schedulesdirect.org> Radio NZ Concert 051
> INZ406797.json.schedulesdirect.org
> <http://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
>
My notes for step 4 are a bit different than Rory's:- YMMV

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. Our country code is NZL

This creates a .conf file in your ~/.xmltv folder
I then copied as follows:-
sudo cp ~/.xmltv/tv_grab_sd_json.conf~/.mythtv/SchedulesDirect.xmltv
and
sudo cp ~/.xmltv/tv_grab_sd_json.conf
/home/mythtv/.mythtv/SchedulesDirect.xmltv
then edit the cache line in /home/mythtv/.mythtv/SchedulesDirect.xmltv
to
cache=/home/mythtv/.xmltv/tv_grab_sd_json.cache

If the cache line is not edited mythfilldatabase, when run with user
mythtv will give error.....
FAILED: XMLTV grabber returned error code 13

The name of the xmltv file should match the name of the Video Source
that you set up in step 5 below. (e.g. SchedulesDirect.xmltv)