Skip to content

Commit

Permalink
V2 Services: Fix interface version numbers.
Browse files Browse the repository at this point in the history
Interface version numbers were all set to 1.0 in V2. Changing them to
match what they were before.
  • Loading branch information
bennettpeter committed Dec 14, 2021
1 parent 380ddcb commit 9568292
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion mythtv/programs/mythbackend/servicesv2/v2capture.h
Expand Up @@ -35,7 +35,7 @@
class V2Capture : public MythHTTPService
{
Q_OBJECT
Q_CLASSINFO("Version", "1.0")
Q_CLASSINFO("Version", "1.4")
Q_CLASSINFO("RemoveCaptureCard", "methods=POST;name=bool")
Q_CLASSINFO("AddCaptureCard", "methods=POST;name=int")
Q_CLASSINFO("UpdateCaptureCard", "methods=POST;name=bool")
Expand Down
2 changes: 1 addition & 1 deletion mythtv/programs/mythbackend/servicesv2/v2channel.h
Expand Up @@ -39,7 +39,7 @@
class V2Channel : public MythHTTPService
{
Q_OBJECT
Q_CLASSINFO("Version", "1.0")
Q_CLASSINFO("Version", "1.10")
Q_CLASSINFO("UpdateDBChannel", "methods=POST;name=bool")
Q_CLASSINFO("AddDBChannel", "methods=POST;name=bool")
Q_CLASSINFO("RemoveDBChannel", "methods=POST;name=bool")
Expand Down
2 changes: 1 addition & 1 deletion mythtv/programs/mythbackend/servicesv2/v2content.h
Expand Up @@ -37,7 +37,7 @@
class V2Content : public MythHTTPService
{
Q_OBJECT
Q_CLASSINFO("Version", "1.0")
Q_CLASSINFO("Version", "2.0")
Q_CLASSINFO("DownloadFile", "methods=POST;name=bool")
Q_CLASSINFO("AddLiveStream", "methods=GET,POST,HEAD")
Q_CLASSINFO("AddRecordingLiveStream", "methods=GET,POST,HEAD")
Expand Down
2 changes: 1 addition & 1 deletion mythtv/programs/mythbackend/servicesv2/v2dvr.h
Expand Up @@ -42,7 +42,7 @@
class V2Dvr : public MythHTTPService
{
Q_OBJECT
Q_CLASSINFO("Version", "1.0")
Q_CLASSINFO("Version", "7.0")
Q_CLASSINFO("AddRecordedCredits", "methods=POST;name=bool")
Q_CLASSINFO("AddRecordedProgram", "methods=POST;name=int")
Q_CLASSINFO("RemoveRecorded", "methods=POST;name=bool")
Expand Down
2 changes: 1 addition & 1 deletion mythtv/programs/mythbackend/servicesv2/v2guide.h
Expand Up @@ -41,7 +41,7 @@
class V2Guide : public MythHTTPService
{
Q_OBJECT
Q_CLASSINFO("Version", "1.0")
Q_CLASSINFO("Version", "2.4")
Q_CLASSINFO("AddToChannelGroup", "methods=POST;name=bool")
Q_CLASSINFO("RemoveFromChannelGroup", "methods=POST;name=bool")

Expand Down
2 changes: 1 addition & 1 deletion mythtv/programs/mythbackend/servicesv2/v2video.h
Expand Up @@ -14,7 +14,7 @@
class V2Video : public MythHTTPService
{
Q_OBJECT
Q_CLASSINFO("Version", "1.0")
Q_CLASSINFO("Version", "1.5")
Q_CLASSINFO("description", "Methods to access and update Video metadata and related topics")
Q_CLASSINFO("LookupVideo", "methods=GET,POST,HEAD")
Q_CLASSINFO("GetSavedBookmark", "name=long")
Expand Down
Expand Up @@ -48,7 +48,7 @@ Q_DECLARE_METATYPE(FrontendActionList*)
class MythFrontendService : public MythHTTPService
{
Q_OBJECT
Q_CLASSINFO("Version", "1.0")
Q_CLASSINFO("Version", "2.1")
Q_CLASSINFO("SendAction", "methods=POST")
Q_CLASSINFO("SendKey", "methods=POST")
Q_CLASSINFO("PlayVideo", "methods=POST")
Expand Down

0 comments on commit 9568292

Please sign in to comment.