[mythtv] mythfilldatabase, Schedules Direct, json and xmltv
Paul Harrison
mythtv at sky.com
Mon Jul 18 10:06:43 UTC 2016
On 17/07/16 22:29, Gary Buhrmaster wrote:
> On Sun, Jul 17, 2016 at 9:01 PM, Peter Bennett <pgbennett at comcast.net> wrote:
>
>> While on the topic, your tv_grab_na_sd mentions in the comments, in the
>> title and other places that it is for North America. Is there any reason
>> it cannot be used elsewhere?
> No, but when it was written(*), the only lineups were NA.
> There has been some discussion (well, lack of recent
> discussion) on the xmltv lists as to what a "all region"
> grabber should be named using the xmltv use of two
> letter country codes. For example, the tv_grab_sd_json
> grabber, based on the xmltv naming convention, should
> be for sudan (sd).
>
> Only recently has Schedules Direct provided other
> region data. And until it did, there was no way to
> test, and so certainly I would never have wanted to
> claim it supported anything *but* NA, where I could
> test, and validate (again, based on when it started).
>
> Gary
>
>
>
> (*) The code might appear recently from some of
> the commit times, but the original start (before it
> was operational, and the approaches have changed
> a few times between then and now) was closer to
> 18-20 months ago.
>
Hi Gary,
I've been using your grabber in the UK and it works great :)
We really should push to get this included in XMLTV as an official
grabber it is far superior to the one in there now :) It supports more
of the XMLTV API like the --configure-api and --list-channels etc which
we could make use of if/when setup is revamped.
It did require a few extra dependencies in both Gentoo and Mythbuntu.
These are what I had to install on Mythbuntu for example.
File::Which libfile-which-perl
File::HomeDir libfile-homedir-perl
DateTime::Format::SQLite libdatetime-format-sqlite-perl
DBD::SQLite libdbd-sqlite2-perl
LWP::UserAgent::Determined liblwp-useragent-determined-perl
I also came across a problem with Digest::SHA1 which doesn't appear to
exist in either Gentoo or Mythbuntu since it's now built in to perl but
as Digest::SHA. So basically the two reference to Digest::SHA1 needed to
be changed to Digest::SHA to get it to work. Maybe try one and if it
fails try the other in a try except block.
Paul H.
More information about the mythtv-dev
mailing list