garybuhrmaster / tv_grab_zz_sdjson_sqlite

XMLTV grabber for Schedules Direct JSON service
GNU General Public License v2.0
6 stars 8 forks source link

Not sure how to set up for MythTV 0.28 #2

Closed bennettpeter closed 8 years ago

bennettpeter commented 8 years ago

I do not know what the dependencies are for installing this.

Running it the first time gives the error Can't locate Digest/SHA1.pm. there is no Ubuntu repository with that file. There are these possibilities

Should I use cpan? I normally try to stay within the system repositories when installing modules.

Once I get this one installed there will likely be many others.

garybuhrmaster commented 8 years ago

In debian, one should be careful about installing cpan modules (at least into system libraries, into private space should be fine). In this particular case, sha1 was chosen by Schedules Direct for their password hash function, so sha1 has to be used, but debian decided to drop support for the sha1 (only) perl digest libraries and now ships only an extended SHA digest library that includes additional hash capabilities (not useful to this grabber, but in the package), even though most other distros still ship the sha1 (only) digest library in addition to the extended library for compatibility with existing code (and there is a lot of existing code in the wild). I'll look into using the alternative library if it is also available on other distros (which will require some research).

bennettpeter commented 8 years ago

Thanks for the answer. I did install into a private library using cpan, and I managed to configure and run, after installing a number of other modules. The grabber worked well once I got it configured. I did not yet import the xml file into mythtv.

garybuhrmaster commented 8 years ago

Repo updated to use perl Digest::SHA rather than Digest::SHA1