[mythtv-users] MythUtil interest?

Kirk Bocek t004 at kbocek.com
Mon Aug 29 04:34:37 UTC 2016



On 8/28/2016 7:29 PM, Bill Meek wrote:
> 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}.
>

Awesome. I needed this some years ago when I wrote a perl module to sync 
un-encrypted channels with an HDHR Prime. It got obsoleted by full 
network encryption. However the devs pestered me to use the API instead 
of direct database manipulation. I had no idea at the time how to tackle 
the API. This would have helped.



More information about the mythtv-users mailing list