[mythtv-commits] mythtv branch devel/lvr/backcompat updated by lvr. v0.28-pre-3344-g688e987

Git Repo Owner noreply at mythtv.org
Wed Jan 6 11:27:10 UTC 2016


The branch, devel/lvr/backcompat has been updated on the
mythtv repository by gitolite user lvr.
  discards  97255e7d1ecef542c661fc06a9026e63ecd282af (commit)
  discards  f797835150d41ef572755f230c6dbb4411c164c0 (commit)
  discards  4a9a9fa949b4884550ddc7a8edc42342324ccbc4 (commit)
  discards  fbb275efe2f9dfe775e709814880013809b472af (commit)
       via  688e987c38bca534f08e66f7ac5d21ea2255a622 (commit)
       via  d29c35071420271496331c2884fe09f8845e6ba8 (commit)
       via  ce670d077de5c14a1324e47474bda39f31b14008 (commit)
       via  bab23f29b5af62226eada26e9f7d0cf5b1965446 (commit)
       via  39fcb84a0b8cb169a70d20aaacc7cf5111d945bf (commit)
       via  9877c070d5940d0dad5836a2aeea6ca1bcebbcb6 (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 (97255e7d1ecef542c661fc06a9026e63ecd282af)
            \
             N -- N -- N (688e987c38bca534f08e66f7ac5d21ea2255a622)

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 688e987c38bca534f08e66f7ac5d21ea2255a622
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 Wed, 6 Jan 2016 11:26:26 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=688e987c38bca534f08e66f7ac5d21ea2255a622

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 d29c35071420271496331c2884fe09f8845e6ba8
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 Wed, 6 Jan 2016 11:26:26 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=d29c35071420271496331c2884fe09f8845e6ba8

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 ce670d077de5c14a1324e47474bda39f31b14008
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 Wed, 6 Jan 2016 11:26:26 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=ce670d077de5c14a1324e47474bda39f31b14008

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 bab23f29b5af62226eada26e9f7d0cf5b1965446
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 Wed, 6 Jan 2016 11:26:26 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=bab23f29b5af62226eada26e9f7d0cf5b1965446

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 39fcb84a0b8cb169a70d20aaacc7cf5111d945bf
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 Wed, 6 Jan 2016 11:26:26 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=39fcb84a0b8cb169a70d20aaacc7cf5111d945bf

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:
 mythtv/libs/libmyth/programinfo.cpp             |   88 ++++++++++++-----------
 mythtv/libs/libmythtv/channelutil.cpp           |   15 +++-
 mythtv/libs/libmythtv/recorders/channelbase.cpp |   12 ++--
 mythtv/libs/libmythtv/recordingfile.cpp         |    6 ++
 4 files changed, 70 insertions(+), 51 deletions(-)

-- 



More information about the mythtv-commits mailing list