[mythtv-firehose] mythtv branch master updated by paulh. v29-pre-375-g15d6031

Git Repo Owner noreply at mythtv.org
Sat Mar 18 17:42:12 UTC 2017


The branch, master has been updated on the
mythtv repository by gitolite user paulh.
       via  15d6031eab8a4f8b3d8f29689c5ea4ec3c9264c5 (commit)
       via  681a33766aeed02f63295a8a613c5e70cb5b714d (commit)
       via  42982543d1e413f26544aed13b72049cc33ace77 (commit)
      from  86dde4e1b7cdeb6fd2c6e8744d634465f2b32c3d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 15d6031eab8a4f8b3d8f29689c5ea4ec3c9264c5
Author:    Paul Harrison <pharrison at mythtv.org> at Sat, 18 Mar 2017 17:41:27 +0000
Committer: Paul Harrison <pharrison at mythtv.org> at Sat, 18 Mar 2017 17:41:27 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=15d6031eab8a4f8b3d8f29689c5ea4ec3c9264c5

ServicesAPI: allow for blank or empty parameter values in requests
This allows empty strings to be passed to methods. For example to pass an
empty string value for Director you could use either 'Director=' or just
'Director' will also work



commit 681a33766aeed02f63295a8a613c5e70cb5b714d
Author:    Roger Siddons <rsiddons at mythtv.org> at Sat, 18 Mar 2017 17:31:38 +0000
Committer: Paul Harrison <pharrison at mythtv.org> at Sat, 18 Mar 2017 17:31:38 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=681a33766aeed02f63295a8a613c5e70cb5b714d

ServicesAPI: make the list of parameters available to methods
This is useful for any methods that allow for optional parameters in the
request to know which parameters have been set and which haven't and are
therefore set to some default value.

You use the lower cased name of the parameter so for example to check if
'Title' is present you would use something like this:

if (m_parsedParams.contains("title"))
{
...
}

Signed-off-by: Paul Harrison <pharrison at mythtv.org>



commit 42982543d1e413f26544aed13b72049cc33ace77
Author:    Paul Harrison <pharrison at mythtv.org> at Sat, 18 Mar 2017 17:15:43 +0000
Committer: Paul Harrison <pharrison at mythtv.org> at Sat, 18 Mar 2017 17:15:43 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=42982543d1e413f26544aed13b72049cc33ace77

ServicesAPI: remove a stray ; added to the genre query in ab1c3e8668



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmythservicecontracts/service.h      |    3 +++
 mythtv/libs/libmythupnp/httprequest.cpp            |    3 +--
 mythtv/libs/libmythupnp/servicehost.cpp            |    7 +++++++
 .../programs/mythbackend/services/serviceUtil.cpp  |    2 +-
 4 files changed, 12 insertions(+), 3 deletions(-)

-- 



More information about the mythtv-firehose mailing list