[mythtv-commits] Ticket #12758: Feature patch: New feature for mythfilldatabase to optionally not use allatonce (--no-allatonce)

MythTV noreply at mythtv.org
Sat Apr 22 15:46:53 UTC 2017


#12758: Feature patch: New feature for mythfilldatabase to optionally not use
allatonce (--no-allatonce)
-------------------------------------------------+-------------------------
 Reporter:  Gary Buhrmaster <gary.buhrmaster@…>  |          Owner:  stuartm
     Type:  Patch - Feature                      |         Status:  new
 Priority:  minor                                |      Milestone:  unknown
Component:  MythTV - Mythfilldatabase            |        Version:  Master
                                                 |  Head
 Severity:  medium                               |     Resolution:
 Keywords:                                       |  Ticket locked:  0
-------------------------------------------------+-------------------------

Comment (by Gary Buhrmaster <gary.buhrmaster@…>):

 As I recall (again, a long time ago), mythfilldatabase does not optimize
 the --offset and --days capabilities that grabbers are supposed to
 support, so a --refresh 4-5 could (in theory) result in a --offset 4
 --days 2 request to a grabber rather than a --offset 4 --days 1 followed
 by a --offset 5 --days 1 request, but there is code in mythfilldatabase
 which only supports one day at a time (and a comment (which I think is
 aged, but I am not going to dispute it) which says there is other code
 which depends on --days 1).  And I think someone has mentioned some
 grabbers do not reliably support all options.

 In the end, the better solution is (likely) a code refactor which supports
 processing the xmltv file in "chunks" rather than requiring it to be read
 (and stored in memory) entirely.  This patch was always intended to be an
 stopgap until some motivated dev wanted to do that refactor (presumably
 because their system was memory constrained).

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12758#comment:5>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list