[mythtv-firehose] mythtv branch devel/lvr/backcompat updated by lvr. v0.28-pre-3353-gd1783c0

Git Repo Owner noreply at mythtv.org
Fri Jan 8 19:16:12 UTC 2016


The branch, devel/lvr/backcompat has been updated on the
mythtv repository by gitolite user lvr.
  discards  25bb3c68166fb9a20b6d30c0df39bb124d1d6748 (commit)
  discards  9a8458e05879285ff320c7041d0a135e89a4d95b (commit)
  discards  eee809fd76bec2020601e641bdf230dabf7a9bc2 (commit)
  discards  38089728dca933c4f029142fa8832718453cb7d3 (commit)
  discards  9b3933af3983bb4944b47226c2103cd66e4b587c (commit)
       via  d1783c06e18b33ed64310ebb9b38aaa6b53b2291 (commit)
       via  2571cab2c8b38201dcf84878ab53850b498bd61e (commit)
       via  817418f4c9dd247b76f5aba51c9f34c40cfecd8d (commit)
       via  06092b395ac49a168dc4f43e7cadf18077de2e2a (commit)
       via  be7e19da686107c83e6b6ab76840c2d7de0a402a (commit)
       via  6b5814005adbbe88c0eb7010ec5c6d2da5e66ac8 (commit)
       via  4e8e6615c97cb29c9931caaf9481f926afb59e18 (commit)
       via  eb43883e457d9b2ac57abc8216b8e3bccf322610 (commit)
       via  ff03753e7b3b633c07b0009d9b7c3ad478c042b3 (commit)
       via  6c739d22135df0e4e4d3e1eefaaf90857ae16cc2 (commit)
       via  804ca321b0054cff6757b8489b52ca009928dd59 (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (25bb3c68166fb9a20b6d30c0df39bb124d1d6748)
            \
             N -- N -- N (d1783c06e18b33ed64310ebb9b38aaa6b53b2291)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

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 d1783c06e18b33ed64310ebb9b38aaa6b53b2291
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 6 Jan 2016 09:41:45 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:15:51 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=d1783c06e18b33ed64310ebb9b38aaa6b53b2291

DB: Provide backwards schema compatibility
Provides basic backwards compatibility for read-only access of
a MythTV 0.27 database (DBSchemaVer=1317).

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 2571cab2c8b38201dcf84878ab53850b498bd61e
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 6 Jan 2016 09:40:03 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:15:51 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=2571cab2c8b38201dcf84878ab53850b498bd61e

Provide basic Myth protocol backwards compatibility
This patch enables a frontend to fallback to an older communications
protocol version.  When used in conjunction with the patch to allow
older databases to be used in read-only mode, the combination permits
a frontend to provide basic functionality with an older backend:

- Full UI operation.
- Watch a recording
- Watch liveTV
- Watch a video
- Listen to radio stream
- Listen to music

Operation with older backends also extensively tests error handling
in the new FE and is therefore recommended during development.

These changes deliberately shield the database & BE from unexpected
operations that could result in failure.  Compatibility includes:

1. MythCoreContext::ConnectCommandSocket will fallback to
   protocol version 77 (0.27) if the default MYTH_PROTO_VERSION
   is rejected.
2. MythCoreContext::SetupCommandSocket translates newer ANN
   strings.
3. RemoteFile::FindFileList falls back to QUERY_SG_FILEQUERY if
   QUERY_FINDFILE is not available.
4. The ProgramInfo and InputInfo structures have version dependent
   de/serialisers.
5. RemoteRequestFreeInputInfo falls back to older protocol methods
   if required.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 817418f4c9dd247b76f5aba51c9f34c40cfecd8d
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sun, 3 Jan 2016 16:06:16 +0000
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:15:51 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=817418f4c9dd247b76f5aba51c9f34c40cfecd8d

DB: Allow read-only database use if schema upgrade not allowed
This patch enables an updated frontend to work with an older
backend and database.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit 06092b395ac49a168dc4f43e7cadf18077de2e2a
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Wed, 5 Jun 2013 19:11:21 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:15:51 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=06092b395ac49a168dc4f43e7cadf18077de2e2a

SimpleDBStorage: Where possible use Get/SetSetting to speed frontend startup
Load() and Store() make single un-cached dbase calls which can be slow
on remote frontends.  Get/SetSetting are cached so use them when the
table name is 'settings'.

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



commit be7e19da686107c83e6b6ab76840c2d7de0a402a
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Thu, 8 Aug 2013 17:09:16 +0100
Committer: Lawrence Rust <lvr at softsystem.co.uk> at Fri, 8 Jan 2016 19:15:51 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=be7e19da686107c83e6b6ab76840c2d7de0a402a

settings: Initialise IntegerSetting to 0 in ctor
By default a setting is initialised to a null string which, if the user
does nothing else, results in an empty string written to the database.
This can cause some routines that test for a numeric value to fail e.g.
MythArchive's DVD creator fails if MythArchiveDriveSpeed is an empty string:

    Traceback (most recent call last):
      File "/home/lvr/Projects/myth/mythinstall/share/mythtv/mytharchive/scripts/mythburn.py", line 5247, in <module>
        main()
      File "/home/lvr/Projects/myth/mythinstall/share/mythtv/mytharchive/scripts/mythburn.py", line 5143, in main
        drivespeed = int(defaultsettings.get("MythArchiveDriveSpeed", "0"))
      ValueError: invalid literal for int() with base 10: ''

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>



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

Summary of changes:
 .../mythzoneminder/mythzoneminder/zmclient.cpp     |    2 +-
 mythtv/i18n/mythfrontend_de.ts                     |   20 +++++----
 mythtv/libs/libmythmetadata/musicfilescanner.cpp   |    2 +-
 mythtv/libs/libmythtv/avformatdecoder.cpp          |    4 ++
 mythtv/libs/libmythtv/cardutil.cpp                 |   43 +++++++++++++++++---
 mythtv/libs/libmythtv/channelutil.cpp              |   32 +++++++++++++--
 mythtv/libs/libmythtv/remoteencoder.cpp            |   26 ++++++++++--
 mythtv/libs/libmythui/mythrender_opengl1.cpp       |    3 +-
 mythtv/programs/mythbackend/httpstatus.cpp         |    8 +++-
 9 files changed, 111 insertions(+), 29 deletions(-)

-- 



More information about the mythtv-firehose mailing list