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

Git Repo Owner noreply at mythtv.org
Thu Jan 7 14:43:03 UTC 2016


The branch, devel/lvr/backcompat has been updated on the
mythtv repository by gitolite user lvr.
  discards  688e987c38bca534f08e66f7ac5d21ea2255a622 (commit)
  discards  d29c35071420271496331c2884fe09f8845e6ba8 (commit)
  discards  ce670d077de5c14a1324e47474bda39f31b14008 (commit)
  discards  bab23f29b5af62226eada26e9f7d0cf5b1965446 (commit)
  discards  39fcb84a0b8cb169a70d20aaacc7cf5111d945bf (commit)
       via  25bb3c68166fb9a20b6d30c0df39bb124d1d6748 (commit)
       via  9a8458e05879285ff320c7041d0a135e89a4d95b (commit)
       via  eee809fd76bec2020601e641bdf230dabf7a9bc2 (commit)
       via  38089728dca933c4f029142fa8832718453cb7d3 (commit)
       via  9b3933af3983bb4944b47226c2103cd66e4b587c (commit)
       via  01cadae3a9f0435ae71956a3a82b7898b1a06f2e (commit)
       via  ec0d642e8aa47c1aaca136e9b119d6e4b96f27fa (commit)
       via  a6ce546f648e021b61865b05f38e1f3f14a099ab (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 (688e987c38bca534f08e66f7ac5d21ea2255a622)
            \
             N -- N -- N (25bb3c68166fb9a20b6d30c0df39bb124d1d6748)

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 25bb3c68166fb9a20b6d30c0df39bb124d1d6748
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 Thu, 7 Jan 2016 14:42:25 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=25bb3c68166fb9a20b6d30c0df39bb124d1d6748

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 9a8458e05879285ff320c7041d0a135e89a4d95b
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 Thu, 7 Jan 2016 14:42:25 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=9a8458e05879285ff320c7041d0a135e89a4d95b

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 eee809fd76bec2020601e641bdf230dabf7a9bc2
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 Thu, 7 Jan 2016 14:42:25 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=eee809fd76bec2020601e641bdf230dabf7a9bc2

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 38089728dca933c4f029142fa8832718453cb7d3
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 Thu, 7 Jan 2016 14:42:25 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=38089728dca933c4f029142fa8832718453cb7d3

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 9b3933af3983bb4944b47226c2103cd66e4b587c
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 Thu, 7 Jan 2016 14:42:25 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=9b3933af3983bb4944b47226c2103cd66e4b587c

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:
 mythplugins/mythmusic/mythmusic/lyricsview.cpp  |   27 ++++++++++++----------
 mythplugins/mythmusic/mythmusic/musiccommon.cpp |   15 ++++++++++++-
 mythtv/libs/libmythmetadata/lyricsdata.cpp      |    3 +-
 mythtv/libs/libmythmetadata/musicmetadata.cpp   |    1 +
 mythtv/themes/MythCenter-wide/music-ui.xml      |    6 +++++
 5 files changed, 37 insertions(+), 15 deletions(-)

-- 



More information about the mythtv-commits mailing list