[mythtv-commits] mythtv branch master updated by pbennett. v29-pre-399-g30d8a96

Git Repo Owner noreply at mythtv.org
Wed Apr 26 14:54:49 UTC 2017


The branch, master has been updated on the
mythtv repository by gitolite user pbennett.
       via  30d8a9637abf49d9a28eb64edeb8389a4b0b060e (commit)
       via  ee7052fe93d43c65672995b01b0a21a8fa5e0537 (commit)
      from  585f509dea5a8e9c7d7e213d4440ebde958e8138 (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 30d8a9637abf49d9a28eb64edeb8389a4b0b060e
Author:    Peter Bennett <pbennett at mythtv.org> at Mon, 24 Apr 2017 16:33:41 -0400
Committer: Peter Bennett <pbennett at mythtv.org> at Wed, 26 Apr 2017 10:54:30 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=30d8a9637abf49d9a28eb64edeb8389a4b0b060e

Fix refresh all in mythfilldatabase
The "--refresh all" option had a bug where it was effectively being ignored.



commit ee7052fe93d43c65672995b01b0a21a8fa5e0537
Author:    Gary Buhrmaster <gary.buhrmaster at gmail.com> at Mon, 24 Apr 2017 11:58:16 -0400
Committer: Peter Bennett <pbennett at mythtv.org> at Wed, 26 Apr 2017 10:53:26 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=ee7052fe93d43c65672995b01b0a21a8fa5e0537

New feature for mythfilldatabase to optionally not use allatonce.
The option added to mythfilldatabase is '--no-allatonce' and is (sort of)
the equivalent to a no-dd-grab-all option (if it existed), --dd-grab-all
not being the default due to some systems being under-provisioned.

While for many grabbers that specify a preference for grabbing
"allatonce" using it has advantages, for grabbers that return a
large amount of data (example: 500+ channels for 21+ days with high
details) mythfilldatabase due to its internal structure of parsing
the entire xmltv file before processing can end up consuming vast
amounts of virtual memory (6GB+ in one test case), which some backends
may not be able to support well.

This patch adds in a --no-allatonce option to mythfilldatabase which
will cause the fill processing to fall back to a day at a time grab/fill,
trading off invoking the grabber multiple times (with increased CPU
procesing workload) for a reduced memory requirement.

Fixes #12758

Signed-off-by: Peter Bennett <pbennett at mythtv.org>



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

Summary of changes:
 .../mythfilldatabase/commandlineparser.cpp         |   11 ++++++++++-
 mythtv/programs/mythfilldatabase/filldata.cpp      |   12 ++++++++----
 mythtv/programs/mythfilldatabase/filldata.h        |    4 +++-
 mythtv/programs/mythfilldatabase/main.cpp          |    2 ++
 4 files changed, 23 insertions(+), 6 deletions(-)

-- 



More information about the mythtv-commits mailing list