[mythtv-users] [mythtv-commits] mythtv/master commit: eed7862e8 by Raymond Wagner (wagnerrp)

Raymond Wagner raymond at wagnerrp.com
Sat Mar 10 19:52:54 UTC 2012


On 3/10/2012 13:41, Steven Adeff wrote:
> On Sun, Sep 18, 2011 at 9:04 PM, MythTV<noreply at mythtv.org>  wrote:
>>       Author:  Raymond Wagner<rwagner at mythtv.org>
>>   Change Date:  2011-09-18T18:00:58-07:00
>>    Push Date:  2011/09/18 18:04:25 -0700
>>   Repository:  mythtv
>>       Branch:  master
>> New Revision:  eed7862e84c240c07caf843d83b4a82ebc995375
>>    Changeset:  https://github.com/MythTV/mythtv/commit/eed7862e8
>>
>> Log:
>>
>> Alter mythfilldatabase day specification parameters
>>
>> This commit replaces the following command line options with --refresh:
>>     --refresh-today
>>     --dont-refresh-tomorrow
>>     --refresh-second
>>     --refresh-day
>>     --refresh-all
>>
>> The old options will continue to function for now, but will be hidden
>> from the help printout.
>>
>> Each instance of the --refresh option takes one input, and the option
>> can be specified multiple times.  The three named options can be
>> pre-pended by the 'not' parameter, specifying that day should not be
>> pulled.  Numbered days start with today at zero, counting up, and a
>> range can be specified using a dash.
>>
>> The following example will refresh today, skip tomorrow, and refresh
>> all of next week:
>>
>> mythfilldatabase --refresh today --refresh nottomorrow --refresh 7-13
>>
> Ray, Question on this, and how mythfilldatabase works in general with 0.25

As mentioned, all of those old options listed above will continue to 
work.  Using them will print a warning to stderr as they are parsed, and 
depending on how you run mythfilldatabase, stderr may get discarded and 
those warnings never seen.

> I'd like to know what the command to both collect new guide data but
> to also update any "TBA" guide data (for things like sports
> tournaments and such).

While Michael Dean has indicated that North American users should all 
just be using --dd-grab-all, and refreshing their whole schedule at 
once, I'm responding to this for the benefit of those not using 
Schedules Direct for guide data.  The new --refresh option only controls 
which days guide data is to be collected for.  It does not replace any 
other options with regard to filtering or handling of that information.  
The --dont-refresh-tba option still works as before, and obviously 
indicates those TBA entries will be updated by default.

> Does running with mythfilldatabase --refresh 1-3 also grab new guide data or only refresh those days?

It will only modify the behavior for those specific days. In particular, 
that command would replace the previous...

mythfilldatabase --refresh-second --refresh-day 3

Tomorrow is automatically refreshed by default, and the old parser would 
disable that using --dont-refresh-tomorrow.


More information about the mythtv-users mailing list