[mythtv-commits] mythtv branch fixes/0.28 updated by jpoet. v0.28.1-18-g7026623

Git Repo Owner noreply at mythtv.org
Mon Mar 27 23:23:45 UTC 2017


The branch, fixes/0.28 has been updated on the
mythtv repository by gitolite user jpoet.
       via  70266230d3d3afcf9c356cf503fce210fe67ab07 (commit)
       via  845f6d47b4d904589050a12b67245161339a41e6 (commit)
       via  3dd03e36ed6df640665e1c8b93944442d9f91406 (commit)
      from  044b22b95734ee607806ff8cea04e84c5112438d (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 70266230d3d3afcf9c356cf503fce210fe67ab07
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, 27 Mar 2017 17:16:57 -0600
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=70266230d3d3afcf9c356cf503fce210fe67ab07

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.

Note:

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
rules.

Signed-off-by: John Poet <jpoet at mythtv.org>
(cherry picked from commit 4e5cf2b4ef875ee578b121be9867ba05da5fab17)



commit 845f6d47b4d904589050a12b67245161339a41e6
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, 27 Mar 2017 17:16:37 -0600
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=845f6d47b4d904589050a12b67245161339a41e6

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.

(cherry picked from commit b25f8c630bbd73602c4bf646c9aa760cb0fb60fc)



commit 3dd03e36ed6df640665e1c8b93944442d9f91406
Author:    John Poet <jpoet at mythtv.org> at Sun, 12 Jun 2016 01:17:40 -0600
Committer: John Poet <jpoet at mythtv.org> at Mon, 27 Mar 2017 17:13:28 -0600
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=3dd03e36ed6df640665e1c8b93944442d9f91406

mythfilldatabase: Also try matching ATSC major.minor when update xmltvid.
(cherry picked from commit 5933e03efdb136a5bd35f60bdcf24f8a1a32749b)



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

Summary of changes:
 mythtv/programs/mythfilldatabase/channeldata.cpp |   39 +++++++++++++++++----
 mythtv/programs/mythfilldatabase/channeldata.h   |    6 ++-
 mythtv/programs/mythfilldatabase/xmltvparser.cpp |   40 +++++++++++-----------
 3 files changed, 56 insertions(+), 29 deletions(-)

-- 



More information about the mythtv-commits mailing list