Skip to content

Use BE:PORT/Service/version endpoint rather than GetBackendInfo to get BE's version #250

@billmeek

Description

@billmeek

As discussed in #246, some distributions and or users aren't using the
'normal' MythTV version string e.g. v29-pre-303-g37c172e-dirty. This
makes the existing tests unreliable.

Considering that there is no known evidence of users changing the
Service/version endpoint's value, it seems to be a more reliable way
to be sure the app will be compatible with the Services API.

Example:

$ curl -H 'Accept: application/json' mc0:6544/Dvr/version
{"String": "6.3"}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions