[mythtv-commits] mythtv branch master updated by cpinkham. v0.27-pre-54-g19e49f9

Git Repo Owner noreply at mythtv.org
Wed Oct 10 21:23:14 UTC 2012

The branch, master has been updated on the
mythtv repository by gitolite user cpinkham.
       via  19e49f9e41ddd0cd2563cf72f440adf315fb52f2 (commit)
      from  79d3aa265033c0ac8199983fd854080b7f332202 (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 19e49f9e41ddd0cd2563cf72f440adf315fb52f2
Author:    Chris Pinkham <cpinkham at mythtv.org> at Wed, 10 Oct 2012 14:19:55 -0700
Committer: Chris Pinkham <cpinkham at mythtv.org> at Wed, 10 Oct 2012 14:19:55 -0700
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=19e49f9e41ddd0cd2563cf72f440adf315fb52f2

mythbackend webserver server side scripting enhancements
- Add LOG_DEBUG level logging of all requests coming into the webserver

- Don't trim whitespace and newlines from server side script files as they
  are processed.  This was sometimes messing up formatting and obfuscating
  the output where we didn't need to be.

- Add .qxml as a valid server side scripting extension.

  .qxml files are processed like .qsp & .qjs, but return a mime type text/xml

- Add ability to pass arguments to server side scripts via the URL parameters


  Arguments are accessed within the script via the 'ARGS' array:

  if (ARGS["sort"] == "title")


Summary of changes:
 mythtv/libs/libmythupnp/htmlserver.cpp          |   14 +++++++----
 mythtv/libs/libmythupnp/httprequest.cpp         |    1 +
 mythtv/libs/libmythupnp/httpserver.cpp          |    1 +
 mythtv/libs/libmythupnp/serverSideScripting.cpp |   28 ++++++++++++++++++-----
 mythtv/libs/libmythupnp/serverSideScripting.h   |    4 ++-
 5 files changed, 36 insertions(+), 12 deletions(-)


More information about the mythtv-commits mailing list