[mythtv-users] Lost Shedule Options defaults since partial restore (fixes 0.26)

Paul Gardiner lists at glidos.net
Sun Apr 28 16:50:57 UTC 2013


On 25/04/2013 16:52, Michael T. Dean wrote:
> On 04/25/2013 11:44 AM, Paul Gardiner wrote:
>> On 25/04/2013 15:55, netstruggler . wrote:
>>>> Yeah, but before I did a partial restore mythweb was picking up default
>>>> values for Start Early and End Late from somewhere, so I was guessing
>>>> that it was picking them up from some old settings that have remained
>>>> through the various upgrades I'd done since I started using MythTV.
>>>> If that's so, I could add in those old settings by hand.
>>>
>>> Possibly:
>>>
>>> settings.DefaultStartOffset
>>> settings.DefaultEndOffset
>>>
>>> value in minutes, hostname=NULL
>>
>> Brilliant that's them. mythweb is now showing the values. Any chance you
>> also know the one to get "Look up Metadata" checked too?
>
> There is none.  As a matter of fact, there is no longer any
> DefaultStartOffset or DefaultEndOffset, either.  The right way to get
> support for presets on recording rules is to write support for
> templates.  If you're not interested in doing that, just hack the PHP in
> MythWeb to write in the values you want.

Hmmm, took a while to find where to make the changes, but then only took
a few lines of code. Here's the ticket: 
http://code.mythtv.org/trac/ticket/11512. It uses only the Default 
recording template. Better
would be to also include a button to select other templates, but I can't
yet see how to do that.

Paul.


More information about the mythtv-users mailing list