[mythtv-commits] mythtv branch master updated by gigem. v29-pre-120-gb113943

Git Repo Owner noreply at mythtv.org
Wed Jul 13 14:41:37 UTC 2016


The branch, master has been updated on the
mythtv repository by gitolite user gigem.
       via  b113943461bb26dd411bfe625082fab44b1390ed (commit)
       via  d7c0a646d55d0c579dd70fbcb9b84de9c2a9ae2b (commit)
       via  37aaa189cb5679e4eeef87bf51b5af019b2efc4b (commit)
       via  5ff96ab3fc74e8ca2151ca35d728063fb7c80b8f (commit)
       via  f1b4146f2e30c2e48c146c4148b8dc5f6428103f (commit)
       via  4b32f6166b40232eb83fe7181937d979ed82524e (commit)
       via  fb7d714d08d5fb36ae67d3212d90a094277759e1 (commit)
       via  648bf21ad82b584ba3c2f0559b8e161f9816908d (commit)
       via  bb04ec5e2e0512c890168c4d672dadc7c27c618c (commit)
       via  0cd367d7a5bd40802d5ccb134b6a33230ee0392f (commit)
      from  46ffbdf8a00acfdca13c856b0b31ef0a936e8071 (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 b113943461bb26dd411bfe625082fab44b1390ed
Author:    David Engel <dengel at mythtv.org> at Mon, 11 Jul 2016 21:12:48 -0500
Committer: David Engel <dengel at mythtv.org> at Mon, 11 Jul 2016 21:12:48 -0500
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=b113943461bb26dd411bfe625082fab44b1390ed

Work around a suspected Qt bug affecting some settings.
There is a suspected bug in some versions of Qt, notably in version
5.6.1 in Debian, where calling QVariant::toString() returns garbage if
the MySQL type is TINYINT.  Because MythTV does this for all settings,
it is possible for a setting to lose its previous value when a
settings dialog is entered.  The work around is to have MySQL cast the
value to a string type before it gets to MythTV.  Thanks to Karl Dietz
for suggesting this fix.



commit d7c0a646d55d0c579dd70fbcb9b84de9c2a9ae2b
Author:    David Engel <dengel at mythtv.org> at Mon, 11 Jul 2016 17:54:09 -0500
Committer: David Engel <dengel at mythtv.org> at Mon, 11 Jul 2016 17:54:09 -0500
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=d7c0a646d55d0c579dd70fbcb9b84de9c2a9ae2b

Allow the Schedule as Group feature to be enabled in mythtv-setup.



commit 37aaa189cb5679e4eeef87bf51b5af019b2efc4b
Author:    David Engel <dengel at mythtv.org> at Mon, 11 Jul 2016 17:53:12 -0500
Committer: David Engel <dengel at mythtv.org> at Mon, 11 Jul 2016 17:53:12 -0500
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=37aaa189cb5679e4eeef87bf51b5af019b2efc4b

Add the remaining support for the Schedule as Group feature.
When enabled for an device, all virtual inputs for it will be
scheduled as a single, grouped input.  Programs will not be assigned
to a specific, virtual input until right before recording is to start.
This is much more efficient than scheduling each virtual input
individually.  While this doesn't reduce the scheduler's big O from
O(N^2), or possibly even O(N^3), it can greately reduce N.

The current down side with enabling Schedule as Group, is that the
scheduler assumes the grouped input can handle an unlimited number of
simultaneous recordings.  In reality, the input still has to honor its
maximum recording setting because MythTV requires all such resources
to be pre-allocated.  Consequently, it is possible to run out of
inputs and have reocrdings fail in worst case situations.  Therefore,
be sure to overprovision the maximum recordings setting for your
expected situation.



commit 5ff96ab3fc74e8ca2151ca35d728063fb7c80b8f
Author:    David Engel <dengel at mythtv.org> at Sun, 10 Jul 2016 17:22:42 -0500
Committer: David Engel <dengel at mythtv.org> at Mon, 11 Jul 2016 15:50:39 -0500
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=5ff96ab3fc74e8ca2151ca35d728063fb7c80b8f

Don't treat the schedgroup input as just a placeholder.
Only the scheduler needs to treat it specially, so let it be used
normally like any other input.



commit f1b4146f2e30c2e48c146c4148b8dc5f6428103f
Author:    David Engel <dengel at mythtv.org> at Sat, 9 Jul 2016 20:25:47 -0500
Committer: David Engel <dengel at mythtv.org> at Mon, 11 Jul 2016 15:50:39 -0500
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=f1b4146f2e30c2e48c146c4148b8dc5f6428103f

More prepatory work for the schedula as group feature.
Add sgroupid to RecordingInfo for scheduler use.  Cache various input
related information within the scheduler in sinputinfomap.  Don't
match on inputs that can't be scheduled in the first place instead of
discarding them after the fact.  Remove some debug code from the
previous commit.



commit 4b32f6166b40232eb83fe7181937d979ed82524e
Author:    David Engel <dengel at mythtv.org> at Fri, 8 Jul 2016 13:43:46 -0500
Committer: David Engel <dengel at mythtv.org> at Mon, 11 Jul 2016 15:50:39 -0500
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=4b32f6166b40232eb83fe7181937d979ed82524e

Add "Pending" as a formal recording status.
Previously, pending was a short-lived, pseudo status within the
scheduler to indicate that a recorder had been notified of a pending
recording, but it had not yet started.  This change upgrades pending
to a full fledged, recording status and exposes it to the rest of
MythTV.



commit fb7d714d08d5fb36ae67d3212d90a094277759e1
Author:    David Engel <dengel at mythtv.org> at Wed, 6 Jul 2016 09:50:53 -0500
Committer: David Engel <dengel at mythtv.org> at Mon, 11 Jul 2016 15:50:39 -0500
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=fb7d714d08d5fb36ae67d3212d90a094277759e1

Hopefully really fix a multiplex/channel restriction check.



commit 648bf21ad82b584ba3c2f0559b8e161f9816908d
Author:    David Engel <dengel at mythtv.org> at Wed, 6 Jul 2016 09:47:50 -0500
Committer: David Engel <dengel at mythtv.org> at Mon, 11 Jul 2016 15:50:39 -0500
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=648bf21ad82b584ba3c2f0559b8e161f9816908d

Change CardUtil::GetConflictingInputs() to ignore schedgroup inputs.
Also, use one database query for the job instead of several.



commit bb04ec5e2e0512c890168c4d672dadc7c27c618c
Author:    David Engel <dengel at mythtv.org> at Tue, 5 Jul 2016 11:48:30 -0500
Committer: David Engel <dengel at mythtv.org> at Mon, 11 Jul 2016 15:50:39 -0500
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=bb04ec5e2e0512c890168c4d672dadc7c27c618c

Add support for configuring the schedule as group feature.
Note that it's currently disabled until the rest of the support is
added.



commit 0cd367d7a5bd40802d5ccb134b6a33230ee0392f
Author:    David Engel <dengel at mythtv.org> at Mon, 4 Jul 2016 15:16:15 -0500
Committer: David Engel <dengel at mythtv.org> at Mon, 11 Jul 2016 15:50:39 -0500
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=0cd367d7a5bd40802d5ccb134b6a33230ee0392f

Revert most of the recent changes dealing wiht reclimit.
After discussing it with John Poet, we decided to take a different
approach that does not require major changes to the recorders.



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

Summary of changes:
 mythtv/bindings/perl/MythTV.pm                     |    6 +-
 mythtv/bindings/php/MythBackend.php                |    4 +-
 mythtv/bindings/python/MythTV/static.py            |    6 +-
 mythtv/html/tv/js/constants.js                     |    1 +
 mythtv/libs/libmyth/programinfo.cpp                |    7 +-
 mythtv/libs/libmyth/remoteutil.cpp                 |    2 +
 mythtv/libs/libmythbase/mythstorage.cpp            |    4 +-
 mythtv/libs/libmythbase/mythversion.h              |    8 +-
 .../libmythservicecontracts/enums/recStatus.cpp    |   32 +-
 .../libs/libmythservicecontracts/enums/recStatus.h |   29 +-
 mythtv/libs/libmythtv/cardutil.cpp                 |  121 +++---
 mythtv/libs/libmythtv/cardutil.h                   |    1 -
 mythtv/libs/libmythtv/dbcheck.cpp                  |   12 +
 mythtv/libs/libmythtv/inputinfo.cpp                |   12 +-
 mythtv/libs/libmythtv/inputinfo.h                  |   13 +-
 mythtv/libs/libmythtv/recorders/channelbase.cpp    |   41 +--
 mythtv/libs/libmythtv/recorders/dtvchannel.cpp     |    3 +-
 mythtv/libs/libmythtv/recordinginfo.cpp            |    9 +-
 mythtv/libs/libmythtv/recordinginfo.h              |   10 +-
 mythtv/libs/libmythtv/tv_play.cpp                  |    3 +-
 mythtv/libs/libmythtv/tv_rec.cpp                   |    4 -
 mythtv/libs/libmythtv/tv_rec.h                     |    1 -
 mythtv/libs/libmythtv/tvremoteutil.cpp             |    5 +-
 mythtv/libs/libmythtv/videosource.cpp              |   58 ++-
 mythtv/libs/libmythtv/videosource.h                |    3 +
 mythtv/programs/mythbackend/encoderlink.cpp        |    8 +-
 mythtv/programs/mythbackend/mainserver.cpp         |   41 +--
 mythtv/programs/mythbackend/scheduler.cpp          |  493 +++++++++++++++-----
 mythtv/programs/mythbackend/scheduler.h            |   30 +-
 mythtv/programs/mythbackend/services/dvr.cpp       |    2 +-
 mythtv/programs/mythfrontend/idlescreen.cpp        |    2 +
 mythtv/programs/mythfrontend/main.cpp              |    3 +-
 mythtv/programs/mythfrontend/playbackbox.cpp       |    9 +-
 mythtv/programs/mythfrontend/progdetails.cpp       |    3 +-
 mythtv/programs/mythfrontend/proglist.cpp          |   14 +-
 mythtv/programs/mythfrontend/schedulecommon.cpp    |    8 +-
 mythtv/programs/mythfrontend/statusbox.cpp         |    9 +-
 mythtv/programs/mythfrontend/viewscheduled.cpp     |    5 +-
 mythtv/programs/mythfrontend/viewschedulediff.cpp  |    9 +-
 39 files changed, 674 insertions(+), 357 deletions(-)

-- 



More information about the mythtv-commits mailing list