[mythtv-commits] [MythTV/mythtv] 52ba4a: New V2ervice method: Status/GetBackendStatus

Peter Bennett noreply at github.com
Sat Oct 23 21:07:10 UTC 2021

  Branch: refs/heads/devel/http
  Home:   https://github.com/MythTV/mythtv
  Commit: 52ba4a8a62226587d27d4bc20bd1383ba191bac1
  Author: Peter Bennett <pbennett at mythtv.org>
  Date:   2021-10-23 (Sat, 23 Oct 2021)

  Changed paths:
    M mythtv/programs/mythbackend/mainserver.h
    M mythtv/programs/mythbackend/mythbackend.pro
    A mythtv/programs/mythbackend/servicesv2/v2backendStatus.h
    M mythtv/programs/mythbackend/servicesv2/v2dvr.cpp
    M mythtv/programs/mythbackend/servicesv2/v2encoderList.h
    M mythtv/programs/mythbackend/servicesv2/v2frontendList.h
    M mythtv/programs/mythbackend/servicesv2/v2myth.cpp
    M mythtv/programs/mythbackend/servicesv2/v2programList.h
    M mythtv/programs/mythbackend/servicesv2/v2serviceUtil.cpp
    M mythtv/programs/mythbackend/servicesv2/v2serviceUtil.h
    M mythtv/programs/mythbackend/servicesv2/v2status.cpp
    M mythtv/programs/mythbackend/servicesv2/v2status.h

  Log Message:
  New V2ervice method: Status/GetBackendStatus

This method provides the same info as Status/xml but uses the
standard service model, and is thus available in json as well as xml.
Also some parts of the xml service do not work, both the frontend list
and backend list return nothing. That is fixed in the new
GetBackendStatus method.

Some code has been moved for other service methods to v2serviceUtil.cpp
so that GetBackendStatus can use common code rather than having two
copies of the code.

More information about the mythtv-commits mailing list