[mythtv-commits] mythtv branch master updated by wagnerrp. v0.28-pre-1764-ge82754a

Git Repo Owner noreply at mythtv.org
Tue Jul 8 04:02:16 UTC 2014


The branch, master has been updated on the
mythtv repository by gitolite user wagnerrp.
       via  e82754a7041d3988a8361535460d12a47742c65b (commit)
      from  8040f628e5cfd143b54f85f656d4345382b725a0 (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 e82754a7041d3988a8361535460d12a47742c65b
Author:    Raymond Wagner <rwagner at mythtv.org> at Mon, 7 Jul 2014 23:57:44 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Mon, 7 Jul 2014 23:57:44 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=e82754a7041d3988a8361535460d12a47742c65b

Store grabber used along with inetref to ensure correct reuse.
This stores the name of the grabber that returned an inetref, prepended
to the beginning of the inetref, separate by a colon (:). This is then
used to ensure that same grabber, or one that understands its indexing,
is called any time that inetref is used. This resolves an issue where an
inetref from the Television grabber would subsequently be used to pull
data through the Movie grabber, resulting in incorrect information.

This adds a caching mechanism for the grabbers, such that the available
grabbers do not need to be rescanned each time an inetref is to be used.
This cache is expired after 60 seconds, or any time the user enters the
metadata grabber selection screen.

Fixes #12149



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

Summary of changes:
 mythtv/libs/libmythbase/mythversion.h            |    2 +-
 mythtv/libs/libmythmetadata/libmythmetadata.pro  |    6 +-
 mythtv/libs/libmythmetadata/metadatacommon.cpp   |   64 ---
 mythtv/libs/libmythmetadata/metadatacommon.h     |   49 +--
 mythtv/libs/libmythmetadata/metadatadownload.cpp |  221 +++------
 mythtv/libs/libmythmetadata/metadatagrabber.cpp  |  539 ++++++++++++++++++++++
 mythtv/libs/libmythmetadata/metadatagrabber.h    |   96 ++++
 mythtv/programs/mythfrontend/grabbersettings.cpp |  125 +-----
 mythtv/programs/mythfrontend/grabbersettings.h   |    7 +-
 9 files changed, 733 insertions(+), 376 deletions(-)
 create mode 100644 mythtv/libs/libmythmetadata/metadatagrabber.cpp
 create mode 100644 mythtv/libs/libmythmetadata/metadatagrabber.h

-- 



More information about the mythtv-commits mailing list