[mythtv-users] MythUtil interest?

Bill Meek keemllib at gmail.com
Mon Aug 29 02:29:58 UTC 2016


On 08/28/2016 08:09 PM, Gary Buhrmaster wrote:
> Before I spend the time authoring a wiki article for make
> things "official", I am going to ask if the following utilities
> seem to have any value for anyone other than myself.
>
> The initial work was just to gain familiarity with the
> Services API (and the idiosyncrasies).  However I have
> graduated to using them for my own purposes.


Hi,

Did something similar, but concentrated on making a utility
(collection of Python modules.) Put this together:

     https://www.mythtv.org/wiki/Python_API_Examples#Python_Services_API_Cookbook

It also means that users needn't write the actual access
code for each program, rather just import the utility and
do something like apt.Send(host=....endpoint= etc.)

The intent being that a user can develop their own program
using the instructions in the Wiki. It includes the very
basic usage as well as a full blown printUpcoming.py that looks
similar to some of your code (also uses Python requests
and sessions.)

There's also a link near the top for Phil's Perl version.
He did some interesting work to produce Wiki pages that
highlight changes in the API per MythTV version.

I should really upload my latest version as it had digest
authentication working for those that found the settings:
HTTP/Protected/{Urls,Password}.

-- 
Bill


More information about the mythtv-users mailing list