[mythtv-commits] mythtv branch master updated by gigem. v0.26-pre-629-g181641a

Git Repo Owner noreply at mythtv.org
Sat Jun 16 01:13:46 UTC 2012

The branch, master has been updated on the
mythtv repository by gitolite user gigem.
       via  181641abbdd76e3e65f4d8bd0d9979b566a0b9f2 (commit)
      from  b0a0e565e42eae871f63d69a127374fdd1e49744 (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 181641abbdd76e3e65f4d8bd0d9979b566a0b9f2
Author:    David Engel <dengel at mythtv.org> at Fri, 15 Jun 2012 20:01:23 -0500
Committer: David Engel <dengel at mythtv.org> at Fri, 15 Jun 2012 20:01:23 -0500
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=181641abbdd76e3e65f4d8bd0d9979b566a0b9f2

Fix scheduler related issues resulting from the UTC changes.
By definition kTimeslot and kWeekslot recording rules work on local
time.  Change the scheduler to convert UTC times back to local time on
the fly as needed.

IMPORTANT NOTE: This means MythTV now needs working time zone support
in MySQL.  Because time zone support is not typically configured in
MySQL by most distributions at this time, users will need to do that
themselves.  See the following URL for more information.


In mythtv-setup and mythbackend, check the MySQL time zone support and
exit immediately if it is not working.

It's simpler to keep record.findday and findtime in local time at this
point.  Undo part of schema upgrade 1305 and update RecordingRule to
accomplish that.

Change the other, recent time zone related schema upgrades to use
CONVERT_TZ() instead of simply adding the utc_offset in minutes.  This
is so future upgraders will not have the "off by 1 hour" problem on
some historical times.


Summary of changes:
 mythtv/bindings/perl/MythTV.pm               |    2 +-
 mythtv/bindings/python/MythTV/static.py      |    2 +-
 mythtv/libs/libmythbase/dbutil.cpp           |   16 ++++
 mythtv/libs/libmythbase/dbutil.h             |    2 +
 mythtv/libs/libmythbase/exitcodes.h          |    1 +
 mythtv/libs/libmythbase/mythversion.h        |    2 +-
 mythtv/libs/libmythtv/dbcheck.cpp            |  115 ++++++++++++++++----------
 mythtv/libs/libmythtv/recordingrule.cpp      |   25 ++++--
 mythtv/programs/mythbackend/main_helpers.cpp |    8 ++
 mythtv/programs/mythbackend/scheduler.cpp    |   46 +++++-----
 mythtv/programs/mythtv-setup/main.cpp        |    8 ++
 11 files changed, 148 insertions(+), 79 deletions(-)


More information about the mythtv-commits mailing list