[mythtv-firehose] mythtv branch master updated by jpoet. v29-pre-319-g4e5cf2b

Git Repo Owner noreply at mythtv.org
Mon Feb 13 23:26:22 UTC 2017

The branch, master has been updated on the
mythtv repository by gitolite user jpoet.
       via  4e5cf2b4ef875ee578b121be9867ba05da5fab17 (commit)
       via  d2541e69f3b03893ecbd33d95142182540d0540b (commit)
       via  b25f8c630bbd73602c4bf646c9aa760cb0fb60fc (commit)
       via  21a652ed10d448e05d5eec5f4533f71b2cbfdd66 (commit)
       via  859ae7c7c995659c62171f97bc9e9cbc0f2a2817 (commit)
       via  34ad18e0c951a289e5bbebea065b17359c1bfc1d (commit)
      from  e9daa4ef21577f2638f6f77413cd73a1e624f86e (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 4e5cf2b4ef875ee578b121be9867ba05da5fab17
Author:    Gary Buhrmaster <gary.buhrmaster at gmail.com> at Mon, 13 Feb 2017 16:19:57 -0700
Committer: John Poet <jpoet at mythtv.org> at Mon, 13 Feb 2017 16:19:57 -0700
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=4e5cf2b4ef875ee578b121be9867ba05da5fab17

Use XMLTV dd_progid data to create seriesid
The current seriesid processing for XMLTV grabbers using a hash for the
title is non-optimal in the (Schedules Direct) case where the seriesid can
be more accurately represented (via a supplied dd_progid). The internal
datadirect grabber creates such a seriesid from its feeds.

>From some research and discussions with Schedules Direct regarding the
gracenote upstream (raw) data, there is a true seriesid available, but
passing that through to MythTV, and then adjusting existing data has some
challenges (some upstream). And while there are some potential approaches,
rather than wait for the perfect, we can do something now which is
equivalent to the internal dd grabber.

This patch creates a better seriesid from a XMLTV source which provides a
dd_progid with a seriesid which is compatible with the (internal)
DataDirect? grabber (further moving forward to allowing the eventual removal
of the internal DD grabber).

The following patch (based on some initial work by Mr. Poet) creates an
appropriate seriesid.


The uniqueid value was added to the code in commit
347ea0319330cb06cf3e418e12e79602c3235bc0 (over a decade ago) however it was
never set, and always empty, resulting in some dead code. It appears that
the uniqueid may have been intended to serve the same/equivalent purposes of
programid (at some point). This patch removes the (dead) uniqueid along the
way as part of the larger set of fixes.

As this patch changes the seriesid for new grabbed programs, those that are
using the "this series" matching based on the previous seriesid may run into
some issues. Likely the easiest solution to recommend is to recreate those

Signed-off-by: John Poet <jpoet at mythtv.org>

commit d2541e69f3b03893ecbd33d95142182540d0540b
Author:    John Poet <jpoet at mythtv.org> at Thu, 9 Feb 2017 15:53:38 -0700
Committer: John Poet <jpoet at mythtv.org> at Mon, 13 Feb 2017 16:10:10 -0700
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=d2541e69f3b03893ecbd33d95142182540d0540b

Add system even logging.

commit b25f8c630bbd73602c4bf646c9aa760cb0fb60fc
Author:    John Poet <jpoet at mythtv.org> at Fri, 10 Feb 2017 14:54:54 -0700
Committer: John Poet <jpoet at mythtv.org> at Mon, 13 Feb 2017 16:10:02 -0700
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=b25f8c630bbd73602c4bf646c9aa760cb0fb60fc

Another attempt at preventing mythfilldatabase from inserting duplicate channels.
In ChannelData::channelList use ChannelUtil::LoadChannels instead of
ChannelUtil::GetChannels, as the former seems to be more reliable.

commit 21a652ed10d448e05d5eec5f4533f71b2cbfdd66
Author:    John Poet <jpoet at mythtv.org> at Wed, 8 Feb 2017 15:35:25 -0700
Committer: John Poet <jpoet at mythtv.org> at Mon, 13 Feb 2017 16:09:50 -0700
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=21a652ed10d448e05d5eec5f4533f71b2cbfdd66

Scheduler: For consistency, put [] around card_id in log messags.  This makes searching/grepping the logs for a specific recording easier.

commit 859ae7c7c995659c62171f97bc9e9cbc0f2a2817
Author:    John Poet <jpoet at mythtv.org> at Wed, 8 Feb 2017 14:08:08 -0700
Committer: John Poet <jpoet at mythtv.org> at Mon, 13 Feb 2017 16:09:34 -0700
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=859ae7c7c995659c62171f97bc9e9cbc0f2a2817

Propagate recorder ids to streamhandlers to make logging easier to follow.

commit 34ad18e0c951a289e5bbebea065b17359c1bfc1d
Author:    John Poet <jpoet at mythtv.org> at Wed, 8 Feb 2017 14:06:38 -0700
Committer: John Poet <jpoet at mythtv.org> at Mon, 13 Feb 2017 16:08:46 -0700
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=34ad18e0c951a289e5bbebea065b17359c1bfc1d

Make sure a ringbuffer switch is checked at least every 10 seconds. Otherwise, this check is only performed on keyframes, and if there is a problem with the input we may never see one again, resulting in a wedged recording.


Summary of changes:
 mythtv/libs/libmythtv/mythsystemevent.cpp          |   11 +++--
 .../libs/libmythtv/recorders/ExternalRecorder.cpp  |   11 ++++-
 .../libmythtv/recorders/ExternalStreamHandler.cpp  |   17 ++++++--
 .../libmythtv/recorders/ExternalStreamHandler.h    |    5 +-
 mythtv/libs/libmythtv/recorders/asirecorder.cpp    |    7 ++-
 .../libs/libmythtv/recorders/asistreamhandler.cpp  |   12 ++++-
 mythtv/libs/libmythtv/recorders/asistreamhandler.h |    5 +-
 mythtv/libs/libmythtv/recorders/cetonrecorder.cpp  |    6 ++-
 .../libmythtv/recorders/cetonstreamhandler.cpp     |   14 +++++--
 .../libs/libmythtv/recorders/cetonstreamhandler.h  |    7 ++-
 mythtv/libs/libmythtv/recorders/dvbrecorder.cpp    |    5 +-
 .../libs/libmythtv/recorders/dvbstreamhandler.cpp  |   15 +++++--
 mythtv/libs/libmythtv/recorders/dvbstreamhandler.h |    5 +-
 mythtv/libs/libmythtv/recorders/hdhrrecorder.cpp   |    6 ++-
 .../libs/libmythtv/recorders/hdhrstreamhandler.cpp |   16 +++++--
 .../libs/libmythtv/recorders/hdhrstreamhandler.h   |    5 +-
 mythtv/libs/libmythtv/recorders/recorderbase.cpp   |   14 +++++++
 mythtv/libs/libmythtv/recorders/recorderbase.h     |    1 +
 mythtv/libs/libmythtv/recorders/streamhandler.cpp  |   24 +++++++++++-
 mythtv/libs/libmythtv/recorders/streamhandler.h    |    5 ++
 mythtv/programs/mythbackend/scheduler.cpp          |   12 +++---
 mythtv/programs/mythfilldatabase/channeldata.cpp   |    6 ++-
 mythtv/programs/mythfilldatabase/xmltvparser.cpp   |   42 ++++++++++----------
 23 files changed, 175 insertions(+), 76 deletions(-)


More information about the mythtv-firehose mailing list