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

MythTV noreply at mythtv.org
Sun Apr 23 18:29:12 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 pbennett):

 Trying to increase the number of days done at a time will be difficult as
 much of the logic processes a day at a time. I have abandoned that idea.

 I tested the patch and I found that in order for it to be effective it
 must be used in conjunction with --refresh 0-21. If I use --refresh all,
 or no refresh parameter, it only pulls tomorrow and future days for which
 it does not already have data. However, schedules change and I like to
 update all changes on every run.

 This works well and uses minimal memory (see command below). It also seems
 better than creating individual files with an external run of the grabber
 and then feeding them into mythfilldatabase, because mythfilldatabase has
 some overhead on each run.
 {{{
 mythfilldatabase --no-allatonce --refresh 0-21
 }}}

 When used with json grabbers like tv_grab_zz_sdjson_sqlite which cache the
 data, there should be no impact on the schedules direct server from using
 -no-allatonce, since the data is cached in a local database and there
 should not be extra load on the upstream server.

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


More information about the mythtv-commits mailing list