[mythtv-commits] [MythTV/mythtv] 7edc1a: Python Services API: replace digest authentication

billmeek noreply at github.com
Mon May 26 14:52:58 UTC 2025


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 7edc1a86f556beb582652cbb4b96af0659911cee
      https://github.com/MythTV/mythtv/commit/7edc1a86f556beb582652cbb4b96af0659911cee
  Author: Bill Meek <bmeek at mythtv.org>
  Date:   2025-05-26 (Mon, 26 May 2025)

  Changed paths:
    M mythtv/bindings/python/MythTV/services_api/_version.py
    M mythtv/bindings/python/MythTV/services_api/send.py
    M mythtv/bindings/python/MythTV/services_api/utilities.py

  Log Message:
  -----------
  Python Services API: replace digest authentication

This replaces the original digest authentication used prior to v36.

If the user calls send() with opts['user'] and opts['pass'] populated,
the Services API Myth/LoginUser endpoint will be called with UserName
and Password set to the values above.

The returned sessiontoken will be added to an HTML authentication
header for any following API calls (if the credentials verified
OK.)

Full documentation for send() is available with:

  ~/.virtualenvs/mythtv/bin/python -c 'from MythTV.services_api import send; help(send)

Also, simplified handling of HTML responses from API errors.

Finally, added changes for pylint (mostly f-strings).



To unsubscribe from these emails, change your notification settings at https://github.com/MythTV/mythtv/settings/notifications


More information about the mythtv-commits mailing list